PageSourceSearch

https://jornalcana.com.br/wp-content/plugins/seox-publishers-addon…/assets/dist/js/public/render.js?ver=

js jornalcana.com.br collected 2026-10-02 06:24:02 UTC 9,921 bytes, 1 lines download raw bytes

1(()=>{var t={695:()=>{function t(t){return function(t){if(Array.isArray(t))return r(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||n(t)||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 e(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=n(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var o=0,i=function(){};return{s:i,n:function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var l,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,l=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw l}}}}function n(t,e){if(t){if("string"==typeof t)return r(t,e);var n={}.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)?r(t,e):void 0}}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}window.__customBlocksRender=function(n){var r,o,i,l,a,c=null,s=null,u=n,d=(l=document.body.classList,a="",l.contains("archive")?(a="archive",l.forEach(function(t){/tag-\d+|category-\d+/.test(t)&&(a+=" ".concat(t))})):l.contains("blog")?a="blog":l.contains("home")?a="home":l.contains("single")?(a="single",c=Number(null===(i=document.querySelector("main"))||void 0===i?void 0:i.getAttribute("data-post-category"))||null,o=null===(r=document.querySelector("main"))||void 0===r?void 0:r.getAttribute("data-post-tags"),s=o?o.split(",").map(Number):[],l.forEach(function(t){/postid-\d+/.test(t)&&(a+=" ".concat(t))})):l.contains("page")&&(a="page",l.forEach(function(t){/page-id-\d+/.test(t)&&(a+=" ".concat(t))})),a.trim()),f=new Set,m={high:10,normal:8,null:8,undefined:8,low:6};u.list.sort(function(t,e){var n,r;return(null!==(n=m[e.priority])&&void 0!==n?n:8)-(null!==(r=m[t.priority])&&void 0!==r?r:8)});var p,g=e(u.list);try{for(g.s();!(p=g.n()).done;){var y=p.value,v=y.place||"default";b(y,d)&&_(y)&&(f.has(v)||("default"!==v&&"intext"!==v&&f.add(v),x(y),h(y)))}}catch(t){g.e(t)}finally{g.f()}function b(t,e){var n=t.show;if(e.includes("single")){if(!n.in.all_posts&&!n.in.custom)return!1;if(n.in.all_posts&&!n.in.custom)return!0;var r,o,i,l,a;if(Array.isArray(n.not_in.posts_list)&&null!==(r=n.not_in.posts_list)&&void 0!==r&&r.some(function(t){return e.includes("postid-".concat(t))}))return!1;if(Array.isArray(n.not_in.posts_category)&&null!==(o=n.not_in.posts_category)&&void 0!==o&&o.includes(c))return!1;if(n.in.all_posts)return!0;if(Array.isArray(n.in.categories_list)&&n.in.categories_posts&&null!==(i=n.in.categories_list)&&void 0!==i&&i.some(function(t){return c===Number(t)}))return!0;if(Array.isArray(n.in.tags_list)&&n.in.tags_posts&&null!==(l=n.in.tags_list)&&void 0!==l&&l.some(function(t){return s.includes(t)}))return!0;if(Array.isArray(n.in.posts_list)&&null!==(a=n.in.posts_list)&&void 0!==a&&a.some(function(t){return e.includes("postid-".concat(t))}))return!0}if(e.includes("page")){if("intext"===t.place)return!1;if(!n.in.all_posts&&!n.in.custom)return!1;if(n.in.all_posts&&!n.in.custom)return!0;var u,d;if(Array.isArray(n.not_in.posts_list)&&null!==(u=n.not_in.posts_list)&&void 0!==u&&u.some(function(t){return e.includes("page-id-".concat(t))}))return!1;if(n.in.all_posts)return!0;if(Array.isArray(n.in.posts_list)&&null!==(d=n.in.posts_list)&&void 0!==d&&d.some(function(t){return e.includes("page-id-".concat(t))}))return!0}if(e.includes("archive")){if(!n.in.all_categories&&!n.in.custom)return!1;if(n.in.all_categories&&!n.in.custom)return!0;var f,m,p,g;if(Array.isArray(n.not_in.categories_list)&&null!==(f=n.not_in.categories_list)&&void 0!==f&&f.some(function(t){return e.includes("category-".concat(t))}))return!1;if(Array.isArray(n.not_in.tags_list)&&null!==(m=n.not_in.tags_list)&&void 0!==m&&m.some(function(t){return e.includes("tag-".concat(t))}))return!1;if(n.in.all_categories)return!0;
1if(Array.isArray(n.in.categories_list)&&null!==(p=n.in.categories_list)&&void 0!==p&&p.some(function(t){return e.includes("category-".concat(t))}))return!0;if(Array.isArray(n.in.tags_list)&&null!==(g=n.in.tags_list)&&void 0!==g&&g.some(function(t){return e.includes("tag-".concat(t))}))return!0}return!(!e.includes("blog")||!n.in.blog)||!(!e.includes("home")||!n.in.home)}function _(t){var e=t.frequency,n="seox_addon_custom_blocks_".concat(t.id),r=new Date,o=new Date(r.getTime()),i=localStorage.getItem(n);if(!i)return!0;var l=new Date(i);switch(e){case"one_day_time":return o-l>=864e5;case"one_week_time":return o-l>=6048e5;case"one_time":return!1;default:return!0}}function h(t){var e="seox_addon_custom_blocks_".concat(t.id),n=new Date,r=new Date(n.getTime()-6e4*n.getTimezoneOffset()).toISOString().slice(0,19);localStorage.setItem(e,r)}function x(n){return"topbar"===n.place?function(t){var e,n=A(t,"topbar"),r=n.container,o=n.closeButton;null===(e=document.querySelector("header .header"))||void 0===e||e.prepend(r);var i=document.createElement("style");i.textContent="header { --header-extra-height-4: ".concat(r.offsetHeight,"px; }"),document.body.prepend(i),null==o||o.addEventListener("click",function(t){t.preventDefault(),r.remove(),i.remove()})}(n):"bottom"===n.place?function(t){var e=A(t,"bottom-anchor"),n=e.container,r=e.closeButton;document.body.appendChild(n),null==r||r.addEventListener("click",function(t){t.preventDefault(),n.remove()})}(n):"intext"===n.place?function(n){var r,o,i=A(n,"default",!1).container,l=function(n){var r,o,i=Array.from(document.querySelectorAll(".single-content > .content"));if(i.length||(i=Array.from(document.querySelectorAll(".single-content")).filter(function(t){var e;return!(null!==(e=t.parentElement)&&void 0!==e&&e.closest(".single-content"))})),!i.length)return null;var l,a=[],c=e(i);try{for(c.s();!(l=c.n()).done;){var s=l.value;a.push.apply(a,t(w(s)))}}catch(t){c.e(t)}finally{c.f()}if(!a.length)return null;var u=Math.max(0,Number((null==n||null===(r=n.intext)||void 0===r?void 0:r.characters)||0));if(u>0){var d,f=a.filter(function(t){return k(t)>=u});if(!f.length)return null;var m=Math.max(1,Number((null==n||null===(d=n.intext)||void 0===d?void 0:d.position)||1));return f[Math.min(f.length-1,m-1)]||null}var p=Math.max(1,Number((null==n||null===(o=n.intext)||void 0===o?void 0:o.position)||1));return a[Math.min(a.length-1,p-1)]||null}(n);l&&(r=i,(o=l).parentNode.insertBefore(r,o.nextSibling))}(n):void function(t){var e=document.querySelector(".placeholder-block");if(e){var n=A(t,"default",!1).container;e.appendChild(n),e.classList.remove("d-none")}}(n)}function A(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default",n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=document.createElement("div");r.className="seox-publishers-addon-custom-block no-styled";var o=t.url?document.createElement("a"):document.createElement("div");if(t.url&&(o.setAttribute("href",t.url),o.setAttribute("target","_blank")),o.className="custom-block custom-block-".concat(e," custom-block-").concat(t.id," text-decoration-none"),o.title=t.text.alt,r.style.setProperty("--custom-block-text-color",t.colors.text),r.style.setProperty("--custom-block-stroke-color",t.colors.stroke),r.style.setProperty("--custom-block-background-color",t.colors.background),r.style.setProperty("--custom-block-padding-desktop","".concat(t.spacing.desktop,"px")),r.style.setProperty("--custom-block-padding-mobile","".concat(t.spacing.mobile,"px")),r.style.setProperty("--custom-block-font-size-desktop","".concat(t.text.font_size_desktop,"px")),r.style.setProperty("--custom-block-font-size-mobile","".concat(t.text.font_size_mobile,"px")),r.style.setProperty("--custom-block-align-desktop","".concat(t.text.align)),t.logo.url&&(r.style.setProperty("--custom-block-logo-desktop","".concat(t.logo.w_desktop,"px")),r.style.setProperty("--custom-block-logo-mobile","".concat(t.logo.w_mobile,"px")),/\.(svg|png|jpg|jpeg|webp)$/i.test(t.logo.url))){var i=document.createElement("img");i.src=t.logo.url,i.alt=t.text.alt,i.className="block-img",o.appendChild(i)}var l=document.createElement("span");l.className="block-text text-".concat(t.text.size),l.innerHTML=t.text.string,o.appendChild(l);var a=null;return n&&((a=document.createElement("button")).className="block-close",a.type="button",a.title="Fechar",a.innerHTML="&times;",o.appendChild(a)),r.appendChild(o),{container:r,closeButton:a}}function k(t){var e=window.getComputedStyle(t);return"none"===e.display||"hidden"===e.visibility?0:(t.textContent||"").replace(/\s+/g," ").trim().length}function S(t,e){if(!t||"P"!==t.tagName)return!1;if(t.closest("li, iframe, blockquote, table, form, picture, video, audio, svg, figure"))return!1;if(e&&t.closest("div, section, article, aside")!==e)return!1;if(t.querySelector("li, iframe, blockquote, table, form"))return!1;var n=t.nextElementSibling;return(!n||!n.matches("figure")&&!n.matches("img"))&&k(t)>0}function w(t){for(var e=[],n=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:function(t){return"P"===t.tagName?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});n.nextNode();){var r=n.currentNode;S(r,t)&&e.push(r)}return e}}}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={exports:{}};return t[r](i,i.exports,n),i.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{"use strict";n(695)})()})();

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.