PageSourceSearch

https://www.cemj.org.br/wp-content/plugins/tainacan/assets/js/tainacan_blocks_common_scripts.js

js cemj.org.br collected 2026-09-30 15:07:08 UTC 14,037 bytes, 1 lines download raw bytes

1(()=>{var e,t,o,a,n={5336(e,t,o){"use strict";o.d(t,{Qv:()=>l,ZR:()=>u});const a=/(was)? ?(not)? ?@([a-z]+) ?(.*)?/,n=/(?:was )?(?:not )?@[a-z]+ ?.*?(?:(?= and (?:was )?(?:not )?@[a-z])|$)/g,c=e=>void 0===e||"true"===e||"false"!==e&&e,r=e=>{const[,t,o,n,r]=e.match(a);return[n,c(r),"not"===o,"was"===t]},s=(e,t)=>{const o={matches:!1,active:!1,onchange:function(){},start:()=>{o.active||(o.active=!0,a.forEach((e=>e.forEach((e=>e.addListener(c))))),c())},stop:()=>{o.active=!1,a.forEach((e=>e.forEach((e=>{e.removeListener&&e.removeListener(c)}))))},destroy:()=>{o.stop(),a.length=0}},a=e.split(" or ").map((e=>(e=>e.match(n).map(r))(e).map((e=>((e,t,o)=>(e.invert=t,e.retain=o,e.matched=!1,e))(((e,t,o)=>{const a=f("monitor").find((e=>e.name===t));if(!a)throw new Error(`Conditioner: Cannot find monitor with name "@${t}". Only the "@media" monitor is always available. Custom monitors can be added with the \`addPlugin\` method using the \`monitors\` key. The name of the custom monitor should not include the "@" symbol.`);return a.create(o,e)})(t,...e),...e.splice(2)))))),c=()=>{const e=a.reduce(((e,t)=>!!e||t.reduce(((e,t)=>{if(!e)return!1;const o=t.invert?!t.matches:t.matches;return o&&(t.matched=!0),!(!t.retain||!t.matched)||o}),!0)),!1);o.matches=e,o.onchange(e)};return o},i=(e,t)=>{const o=s(e,t.element);return o.onchange=e=>e?t.mount():t.unmount(),o.start(),o},d=e=>{const t=((e,t)=>{const o=p("moduleGetName",e),a=h("moduleSetName",o),n={destruct:null,mounting:!1},c={alias:o,name:a,element:e,mounted:!1,unmount:()=>{n.destruct&&c.mounted&&(b("moduleWillUnmount",c),n.destruct(),c.mounted=!1,b("moduleDidUnmount",c),c.onunmount.apply(e))},mount:()=>{if(!c.mounted&&!n.mounting)return n.mounting=!0,b("moduleWillMount",c),p("moduleImport",a).then((t=>{n.destruct=p("moduleGetDestructor",p("moduleGetConstructor",t)(...p("moduleSetConstructorArguments",a,e))),n.mounting=!1,c.mounted=!0,b("moduleDidMount",c),c.onmount.apply(e,[c])})).catch((t=>{throw n.mounting=!1,b("moduleDidCatch",t,c),c.onmounterror.apply(e,[t,c]),new Error(`Conditioner: ${t}`)})),c},destroy:function(){b("moduleWillDestroy",c),c.unmount(),b("moduleDidDestroy",c),c.ondestroy.apply(e),t()},onmounterror:function(){},onmount:function(){},onunmount:function(){},ondestroy:function(){}};return c})(e,(()=>a&&a.destroy())),o=p("moduleGetContext",e),a=o&&i(o,t);return o?t:t.mount()},l=e=>[...p("moduleSelector",e)].map(d),m=[],u=e=>m.push(e),f=e=>m.filter((t=>{return o=Object.keys(t),a=e,o.indexOf(a)>-1;var o,a})).map((t=>t[e])),b=(e,...t)=>f(e).forEach((e=>e(...t))),h=(e,...t)=>f(e).reduce(((e,t)=>[t(...e)]),t).shift(),p=(e,...t)=>f(e).pop()(...t);u({moduleSelector:e=>e.querySelectorAll("[data-module]"),moduleGetContext:e=>e.dataset.context,moduleImport:e=>new Promise(((t,o)=>{if(self[e])return t(self[e]);o(`Cannot find module with name "${e}". By default Conditioner will import modules from the global scope, make sure a function named "${e}" is defined on the window object. The scope of a function defined with \`let\` or \`const\` is limited to the <script> block in which it is defined.`)})),moduleGetConstructor:e=>e,moduleGetDestructor:e=>e,moduleSetConstructorArguments:(e,t)=>[t],moduleGetName:e=>e.dataset.module,monitor:{name:"media",create:e=>self.matchMedia(e)}})},69229(e,t,o){var a={"./blocks/carousel-collections-list/theme":[53541,7367,4367,5189,5799,9451,436],"./blocks/carousel-collections-list/theme.js":[53541,7367,4367,5189,5799,9451,436],"./blocks/carousel-items-list/theme":[85114,7367,4367,5189,5799,9451,9509],"./blocks/carousel-items-list/theme.js":[85114,7367,4367,5189,5799,9451,9509],"./blocks/carousel-terms-list/theme":[93931,7367,4367,5189,5799,9451,3622],"./blocks/carousel-terms-list/theme.js":[93931,7367,4367,5189,5799,9451,3622],"./blocks/collections-list/theme":[23282,4109],"./blocks/collections-list/theme.js":[23282,4109],"./blocks/dynamic-items-list/theme":[83325,4367,9557,2268,3054,9451,8437,4476],"./blocks/dynamic-items-list/theme.js":[83325,4367,9557,2268,3054,9451,8437,4476],"./blocks/faceted-search/theme":[867,4367,9557,6676,2268,8884,834,7411,1439,9451,2506,8437,3153,1310],"./blocks/faceted-search/theme.js":[867,4367,9557,6676,2268,8884,834,7411,1439,9451,2506,8437,3153,1310],"./blocks/facets-list/theme":[50215,4367,9451,3730],"./blocks/facets-list/theme.js":[50215,4367,9451,3730],"./blocks/geocoordinate-item-metadatum/theme":[706,5218,5373],"./blocks/geocoordinate-item-metadatum/theme.js":[706,5218,5373],"./blocks/item-gallery/theme":[1954,7367,5189,2245,4877],"./blocks/item-gallery/theme.js":[1954,7367,5189,2245,4877],"./blocks/item-submission-form/theme":[3697,8901,4367,554,5218,9557,8061,6676,2268,834,7411,9451,2506,3709,8437,6484,3704,1214,4238,2240],"./blocks/item-submission-form/theme.js":[3697,8901,4367,554,5218,9557,8061,6676,2268,834,7411,9451,2506,3709,8437,6484,3704,1214,4238,2240],"./blocks/items-list/theme":[35201,4352],"./blocks/items-list/theme.js":[35201,4352],"./blocks/related-items-list/theme":[48383,2090],"./blocks/related-items-list/theme.js":[48383,2090],"./blocks/search-bar/theme":[82430,2425],"./blocks/search-bar/theme.js":[82430,2425],"./blocks/terms-list/theme":[16560,7559],"./blocks/terms-list/theme.js":[16560,7559]};function n(e){if(!o.o(a,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=a[e],n=t[0];return Promise.all(t.slice(1).map(o.e)).then((()=>o(n)))}n.keys=()=>Object.keys(a),n.id=69229,e.exports=n}},c={};function r(e){var t=c[e];if(void 0!==t)return t.exports;var o=c[e]={id:e,loaded:!1,exports:{}};return n[e].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}r.m=n,r.n=e=>
vendor: 4,633 bytes, line 1
1{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,r.t=function(o,a){if(1&a&&(o=this(o)),8&a)return o;if("object"==typeof o&&o){if(4&a&&o.__esModule)return o;if(16&a&&"function"==typeof o.then)return o}var n=Object.create(null);r.r(n);var c={};e=e||[null,t({}),t([]),t(t)];for(var s=2&a&&o;("object"==typeof s||"function"==typeof s)&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>c[e]=()=>o[e]));return c.default=()=>o,r.d(n,c),n},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce(((t,o)=>(r.f[o](e,t),t)),[])),r.u=e=>(({436:"tainacan-chunks-blocks-carousel-collections-list-theme",1310:"tainacan-chunks-blocks-faceted-search-theme",2090:"tainacan-chunks-blocks-related-items-list-theme",2240:"tainacan-chunks-blocks-item-submission-form-theme",2425:"tainacan-chunks-blocks-search-bar-theme",3622:"tainacan-chunks-blocks-carousel-terms-list-theme",3730:"tainacan-chunks-blocks-facets-list-theme",4109:"tainacan-chunks-blocks-collections-list-theme",4352:"tainacan-chunks-blocks-items-list-theme",4476:"tainacan-chunks-blocks-dynamic-items-list-theme",4877:"tainacan-chunks-blocks-item-gallery-theme",5373:"tainacan-chunks-blocks-geocoordinate-item-metadatum-theme",7559:"tainacan-chunks-blocks-terms-list-theme",9509:"tainacan-chunks-blocks-carousel-items-list-theme"}[e]||e)+"."+{10:"11f14e8c2cd2bca471ed",23:"820a8ef47b48b60f5aa2",436:"f9383bcbacb89f6aa997",451:"c3a811ede6e8e28ade73",468:"3d2beeccec9919d7e241",554:"f51deef3e1e3ca242c49",834:"cd0042743bcf76f18d3b",944:"f765c83718f6e51837b2",1070:"ca1872e8f1dd46243e28",1202:"f17204936afade4737f6",1214:"ddc000754e1f81220a89",1301:"1f6da2b7373edd8b89a5",1310:"9406110a16d708b84ff4",1439:"688e6ed98a83184b5e1f",1645:"f23762f73d3f39cae632",1685:"a691f2b292c87fe01965",2008:"779d482518b95f5c5ff4",2090:"b5b5d9720aaa9e11bb10",2240:"868fae4b9b995b37a625",2245:"96e0b70da826a4c04d62",2268:"efbc09c4a8f22dcc7376",2302:"5ba4cbd71e9f75aede60",2425:"648e944f45a8df4fbe0e",2506:"510952eb02d5c9adc736",3054:"0de09ee9562581e229cf",3153:"0fd1466b100df54f09f0",3292:"efc9a94f85bc83c5ef6e",3343:"2d2d746d0ffa8e642e9c",3606:"cf087a2bfa45c158f1de",3622:"f1b1258297b850b003ac",3704:"58e51c359c32deaac7b0",3709:"98f78c23d7b65f20b120",3730:"c557eb02421fd7aaf530",3916:"8b2819f21751f6831081",4039:"fc9e002b87cee153e4d2",4109:"e4236b84b978181b4d1d",4204:"b18d709cb3e419710001",4238:"865ed104a07ccda17b7f",4320:"237a4d14e5f24396fbf3",4352:"224c2cb20302a2dd87e3",4367:"d24770069a05b9e65876",4441:"1c9b9537daa81011161e",4476:"e1c8bc0b5018750318ff",4743:"3d4fa7eadfceddd93b90",4777:"ce696ad38ad46926c8bf",4877:"b44a14aa6dddf1bcd913",4909:"2d6d1e93eec70dde8d47",4997:"7adb0a9c972e52474dbc",5030:"2c53d769dba87d918f9c",5188:"5fb55ccfd7f8b0057b78",5189:"cce42cb096e6f9f8dd2c",5218:"773a534b381fc0d66d0e",5276:"a7c4a417409b3758830b",5373:"a9eaa917da9454a017fc",5799:"60cbf29fd9921a61e519",6406:"e30b9dbc034e762e67f8",6484:"789a859b4ffad3e061d4",6518:"d5e9f68565cb99814f4b",6676:"a3c7a0245833758cb0e7",6698:"82f0ca8b9920f8dfc1c6",6748:"c64a53360511a25aad5b",6989:"36e55a9acf09efa6ddbc",6994:"10a484706ee1eb0e742b",7097:"5c21b8ba5377098b6249",7207:"c161c0bb5c0af228c26f",7367:"8d192e500d50c944e632",7383:"1487cde405c9659f0198",7411:"0aacfcf3b3dd42655d38",7559:"b904aaf8f33d6b4c055a",7625:"cdf4f0315d042373305e",8039:"496eb9981f3515a7475d",8061:"3dd183fef1f0f2d9ab83",8219:"0fc4745c0a97eeaf0ac6",8437:"af9ecf50fad22e9d28b6",8571:"9b515e5f4660e93b9222",8884:"e14c5ebcb8e09d9b9c73",8901:"c7973280ec78c400b085",9260:"66d831eaaf4e8775252a",9451:"5ada9c9f7ec1eff3eb07",9509:"7b74830e31052e5d2530",9557:"b5ebeec1fe88bd98f9e6",9763:"0babc3b545e7887fd66a",9764:"1487cde405c9659f0198",9788:"a042e229f2511cff4e0f",9937:"3d99703137b5a6e5ead5",9986:"a0729549bc66648fed56"}[e]+".js"),r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o={},a="tainacan:",r.l=(e,t,n,c)=>{if(o[e])o[e].push(t);else{var s,i;if(void 0!==n)for(var d=document.getElementsByTagName("script"),l=0;l<d.length;l++){var m=d[l];if(m.getAttribute("src")==e||m.getAttribute("data-webpack")==a+n){s=m;break}}s||(i=!0,(s=document.createElement("script")).charset="utf-8",r.nc&&s.setAttribute("nonce",r.nc),s.setAttribute("data-webpack",a+n),s.src=e),o[e]=[t];var u=(t,a)=>{s.onerror=s.onload=null,clearTimeout(f);var n=o[e];if(delete o[e],s.parentNode&&s.parentNode.removeChild(s),n&&n.forEac
1h((e=>e(a))),t)return t(a)},f=setTimeout(u.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=u.bind(null,s.onerror),s.onload=u.bind(null,s.onload),i&&document.head.appendChild(s)}},r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),r.p="./wp-content/plugins/tainacan/assets/js/",(()=>{r.b="undefined"!=typeof document&&document.baseURI||self.location.href;var e={6932:0};r.f.j=(t,o)=>{var a=r.o(e,t)?e[t]:void 0;if(0!==a)if(a)o.push(a[2]);else{var n=new Promise(((o,n)=>a=e[t]=[o,n]));o.push(a[2]=n);var c=r.p+r.u(t),s=new Error;r.l(c,(o=>{if(r.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var n=o&&("load"===o.type?"missing":o.type),c=o&&o.target&&o.target.src;s.message="Loading chunk "+t+" failed.\n("+n+": "+c+")",s.name="ChunkLoadError",s.type=n,s.request=c,a[1](s)}}),"chunk-"+t,t)}};var t=(t,o)=>{var a,n,[c,s,i]=o,d=0;if(c.some((t=>0!==e[t]))){for(a in s)r.o(s,a)&&(r.m[a]=s[a]);if(i)i(r)}for(t&&t(o);d<c.length;d++)n=c[d],r.o(e,n)&&e[n]&&e[n][0](),e[n]=0},o=self.webpackChunktainacan=self.webpackChunktainacan||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})(),r.nc=void 0,(()=>{"use strict";var e=r(5336);function t(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?o(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var o=0,a=Array(t);o<t;o++)a[o]=e[o];return a}var __=wp.i18n.__;r.p=tainacan_plugin.plugin_dir_url+"assets/js/";var a;a=function(){!function(){["items-list","collections-list","terms-list","search-bar","facets-list","dynamic-items-list","carousel-items-list","carousel-terms-list","related-items-list","carousel-collections-list","item-gallery"].forEach((function(e){t(document.getElementsByClassName("wp-block-tainacan-".concat(e))).forEach((function(t){t.getAttribute("data-module")||t.setAttribute("data-module",e)}))}));var e=document.getElementById("tainacan-items-page");e&&!e.getAttribute("data-module")&&e.setAttribute("data-module","faceted-search");var o=document.getElementById("tainacan-item-submission-form");o&&!o.getAttribute("data-module")&&o.setAttribute("data-module","item-submission-form")}(),e.ZR({moduleSetName:function(e){return"./blocks/".concat(e,"/theme.js")},moduleGetConstructor:function(e){return e.default},moduleImport:function(e){return r(69229)("".concat(e)).catch((function(e){document.querySelectorAll("[data-module]").forEach((function(e){e.innerHTML='<p style="font-size: 1rem;"><strong>'+__("An error ocurred while loading this Tainacan component. Please reload your page (CTRL+SHIFT+R).","tainacan")+"</strong></p>"})),console.warn(__("An error ocurred while loading some Tainacan components. Please reload your page (CTRL+SHIFT+R).","tainacan")),console.warn(__("Clearing the cache may help. It is possible that the browser or server are retaining old information that are preventing Tainacan components to be loading correctly.","tainacan")),console.error(e)}))}}),e.Qv(document.documentElement)},/comp|inter|loaded/.test(document.readyState)?a():document.addEventListener("DOMContentLoaded",a,!1)})()})();

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.