PageSourceSearch

https://ric.com.br/wp-content/cache/publishers-theme/plugins-scripts-bundle-single-180ee6ad.js?ver=3.3.12

js ric.com.br collected 2026-10-02 07:22:52 UTC 15,874 bytes, 12 lines download raw bytes

1/**
2 * Publishers Plugins Scripts Bundle - single
3 * Auto-generated - Do not edit
4 */
5
6/* === related-posts === */
7(()=>{var e={104:()=>{document.addEventListener("DOMContentLoaded",(function(){var e=document.getElementById("RelatedPostsClearFilter"),t=document.getElementById("RelatedPostsButtonFilter"),r=document.getElementById("RelatedPostsInputFilter");if(t){var n=function(){var e=document.getElementById("RelatedPostsInputFilter").value;if(0===e.length)return document.querySelectorAll(".wp-block-publisher-related-filterable .feed.d-none").forEach((function(e){e.classList.remove("d-none")})),void o(!1);document.querySelectorAll(".wp-block-publisher-related-filterable .feed").forEach((function(t){t.classList.add("d-none");var r=t.querySelector(".feed-link").getAttribute("title").toLocaleLowerCase(),n=e.toLocaleLowerCase();r.includes(n)&&t.classList.remove("d-none")})),o(!0)},o=function(e){var t=document.querySelector(".wp-block-publisher-related-filter");e?t.classList.add("wp-block-publisher-related-filter-not-null"):t.classList.remove("wp-block-publisher-related-filter-not-null")};t.addEventListener("click",n),e.addEventListener("click",(function(){r.value="",n()})),r.addEventListener("keydown",(function(e){"Enter"===e.key&&n()}))}}))},815:()=>{function e(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll('div.wp-block-publisher-related[data-load_more_posts="true"]').forEach((function(t){var r=t.querySelector("button.publisher-grid-load-more-posts");if(r){var n=t.querySelectorAll("article.feed").length,o=t.getAttribute("data-post_type"),a=parseInt(t.getAttribute("data-limit"),10)||1,l=t.getAttribute("data-term_slug"),i=JSON.parse(l),s=t.getAttribute("data-taxonomy_slug"),c=JSON.parse(s),d="false"===t.getAttribute("data-cross_category_filter")?"false":"true";r.addEventListener("click",(function(){var l=document.createElement("div");l.innerHTML='\n        <svg width="24px" height="24px" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" stroke="#000">\n          <g fill="none" fill-rule="evenodd" stroke-width="2">\n            <circle cx="12" cy="12" r="10">\n              <animate attributeName="r" repeatCount="indefinite" dur="1s" values="10;6;10" keyTimes="0;0.5;1" begin="0s"/>\n              <animate attributeName="stroke-opacity" repeatCount="indefinite" dur="1s" values="1;0;1" keyTimes="0;0.5;1" begin="0s"/>\n            </circle>\n          </g>\n        </svg>\n      ',l.className="loader-svg d-flex align-items-center justify-content-center",t.appendChild(l),r.classList.add("d-none"),function(e,t,r,n,o,a){var l=new URLSearchParams({offset:e,limit:t,post_type:o,cross_category_filter:a});n.forEach((function(e){l.append("term_slug[]",e)})),r.forEach((function(e){l.append("taxonomy_slug[]",e)}));var i=l.toString();return fetch("".concat("/wp-json/addon-related-posts/read-more-posts/html","?").concat(i)).then((function(e){return e.json()}))}(n,a,c,i,o,d).then((function(o){var a=new Set(Array.from(t.querySelectorAll("article.feed a.feed-link")).map((function(e){return e.getAttribute("href")}))),l=o.list||[],i=l.filter((function(e){return!a.has(e.url)}));if(i.length>0){i.forEach((function(r){var n=t.querySelector("article.feed:last-of-type"),o=n.cloneNode(!0),a=o.querySelector(".feed-title");a&&(a.textContent=r.title||"");var l,i=o.querySelector(".feed-hat");if(i)i.textContent=r.hat||"";else if(r.hat.length>0&&!(l=n.classList,function(t){if(Array.isArray(t))return e(t)}(l)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(l)||function(t,r){if(t){if("string"==typeof t)return e(t,r);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?e(t,r):void 0}}(l)||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.")}()).some((function(e){return e.startsWith("feed-image-")}))){var s=document.createElement("p");s.textContent=r.hat||"",s.className="post-hat-feed-md feed-hat font-base fw-bold fs-3 line-fixed letter-wide mb-1",o.querySelector(".feed-title").insertAdjacentElement("beforebegin",s)}var c=o.querySelector(".feed-excert");c&&(c.textContent=r.excerpt||"");var d=r.post.extra_args.image_src||"",u=o.querySelector(".feed-figure img");u&&(u.src=d,u.alt=r.title||"",u.title=r.title||"",u.removeAttribute("srcset"),u.removeAttribute("data-lazy-src"),u.removeAttribute("data-lazy-srcset"),u.setAttribute("data-ll-status","loaded")),o.querySelectorAll(".feed-figure picture source").forEach((function(e){e.setAttribute("srcset",d),e.removeAttribute("data-lazy-srcset")}));var f=o.querySelector(".feed-figure picture noscript");f&&f.remove();var m=o.querySelector(".feed-link");m&&(m.href=r.url||"",m.setAttribute("title",r.title||"")),o.removeAttribute("data-custom-feed-type"),n.parentNode.insertBefore(o,n.nextSibling)})),n+=l.length;var s=t.querySelector(".loader-svg");s&&(s.parentNode.removeChild(s),r.classList.remove("d-none"))}else{var c=t.querySelector(".loader-svg");c&&(c.parentNode.removeChild(c),r.classList.add("d-none"))}})).catch((function(e){console.log("Erro ao carregar mais posts:",e);var n=t.querySelector(".loader-svg");n&&(n.parentNode.removeChild(n),r.classList.remove("d-none"))}))}))}}))}))}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,r),a.exports}r.n=e=>
vendor: 4,624 bytes, lines 7-11
7{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";r(104),r(815)})()})();
8
9/* === social-medias-single === */
10/*! For license information please see main.js.LICENSE.txt */
11(()=>{var t={112:()=>{function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(){"use strict";e=function(){return r};var r={},n=Object.prototype,o=n.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function f(t,e,r,n){var o=e&&e.prototype instanceof v?e:v,a=Object.create(o.prototype),c=new T(n||[]);return i(a,"_invoke",{value:E(t,r,c)}),a}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}r.wrap=f;var p={};function v(){}function d(){}function y(){}var m={};s(m,c,(function(){return this}));var g=Object.getPrototypeOf,x=g&&g(g(_([])));x&&x!==n&&o.call(x,c)&&(m=x);var w=y.prototype=v.prototype=Object.create(m);function b(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function L(e,r){function n(i,a,c,u){var l=h(e[i],e,a);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==t(f)&&o.call(f,"__await")?r.resolve(f.__await).then((function(t){n("next",t,c,u)}),(function(t){n("throw",t,c,u)})):r.resolve(f).then((function(t){s.value=t,c(s)}),(function(t){return n("throw",t,c,u)}))}u(l.arg)}var a;i(this,"_invoke",{value:function(t,e){function o(){return new r((function(r,o){n(t,e,r,o)}))}return a=a?a.then(o,o):o()}})}function E(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===p)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=h(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===p)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),p;var o=h(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,p;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,p):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,p)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function k(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function _(t){if(t){var e=t[c];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,n=function e(){for(;++r<t.length;)if(o.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return n.next=n}}return{next:j}}function j(){return{value:void 0,done:!0}}return d.prototype=y,i(w,"constructor",{value:y,configurable:!0}),i(y,"constructor",{value:d,configurable:!0}),d.displayName=s(y,l,"GeneratorFunction"),r.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},r.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,s(t,l,"GeneratorFunction")),t.prototype=Object.create(w),t},r.awrap=function(t){return{__await:t}},b(L.prototype),s(L.prototype,u,(function(){return this})),r.AsyncIterator=L,r.async=function(t,e,n,o,i){void 0===i&&(i=Prom
11ise);var a=new L(f(t,e,n,o),i);return r.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},b(w),s(w,l,"Generator"),s(w,c,(function(){return this})),s(w,"toString",(function(){return"[object Generator]"})),r.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},r.values=_,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(k),!t)for(var e in this)"t"===e.charAt(0)&&o.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),u=o.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,p):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),p},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),k(r),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;k(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:_(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),p}},r}function r(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}document.addEventListener("DOMContentLoaded",(function(){var t,n,o,i,a,c,u,l,s=document.querySelectorAll('[data-share="native"]');if(0!==s.length){var f=window.location.href,h={title:null!==(t=null!==(n=null===(o=document.querySelector(".single-head-title"))||void 0===o?void 0:o.innerText)&&void 0!==n?n:null===(i=document.querySelector(".archive-heading-title"))||void 0===i?void 0:i.innerText)&&void 0!==t?t:"",text:null!==(a=null!==(c=null===(u=document.querySelector(".single-head-description"))||void 0===u?void 0:u.innerText)&&void 0!==c?c:null===(l=document.querySelector(".archive-heading-description"))||void 0===l?void 0:l.innerText)&&void 0!==a?a:"",url:f},p="function"==typeof navigator.share,v=navigator.clipboard&&"function"==typeof navigator.clipboard.writeText,d=function(t){var e=document.createElement("textarea");e.value=t,e.setAttribute("readonly",""),e.style.position="absolute",e.style.left="-9999px",document.body.appendChild(e),e.select();var r=!1;try{r=document.execCommand("copy")}catch(t){r=!1}return document.body.removeChild(e),r},y=function(t,e){var r=t.querySelector(".btn-social-share-generic-text"),n=t.querySelector(".tooltip-message-text");r&&(r.innerText=e?"Link Copiado!":"Erro ao copiar",setTimeout((function(){r.innerText="Compartilhar"}),3e3)),n&&(n.innerText=e?"Link Copiado!":"Erro ao copiar",setTimeout((function(){n.innerText="Copiar Link?"}),3e3))},m=function(){var t,n=(t=e().mark((function t(r){var n;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,!p){t.next=11;break}return t.prev=2,t.next=5,navigator.share(h);case 5:return t.abrupt("return");case 8:t.prev=8,t.t0=t.catch(2),console.warn("Erro no share nativo, usando copiar:",t.t0);case 11:if(n=!1,!v){t.next=22;break}return t.prev=13,t.next=16,navigator.clipboard.writeText(h.url);case 16:n=!0,t.next=22;break;case 19:t.prev=19,t.t1=t.catch(13),n=!1;case 22:n||(n=d(h.url)),y(r,n),t.next=30;break;case 26:t.prev=26,t.t2=t.catch(0),console.error(t.t2),y(r,!1);case 30:case"end":return t.stop()}}),t,null,[[0,26],[2,8],[13,19]])})),function(){var e=this,n=arguments;
11return new Promise((function(o,i){var a=t.apply(e,n);function c(t){r(a,o,i,c,u,"next",t)}function u(t){r(a,o,i,c,u,"throw",t)}c(void 0)}))});return function(t){return n.apply(this,arguments)}}();s.forEach((function(t){var e=t.querySelector(".tooltip-message-text");p&&e&&(e.style.display="none"),t.addEventListener("click",(function(e){e.preventDefault(),m(t)}))}))}}))}},e={};function r(n){var o=e[n];if(void 0!==o)return o.exports;var i=e[n]={exports:{}};return t[n](i,i.exports,r),i.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{"use strict";r(112)})()})();
12

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.