https://trindade.go.gov.br/wp-content/themes/araguaia/bundle/block…/view.js?ver=cccafc8eb39cedd21463
1(()=>{var e={1873(e,t,i){var s=i(9325).Symbol;e.exports=s},2552(e,t,i){var s=i(1873),r=i(659),o=i(9350),l=s?s.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":l&&l in Object(e)?r(e):o(e)}},4128(e,t,i){var s=i(1800),r=/^\s+/;e.exports=function(e){return e?e.slice(0,s(e)+1).replace(r,""):e}},4840(e){var t="object"==typeof globalThis&&globalThis&&globalThis.Object===Object&&globalThis;e.exports=t},659(e,t,i){var s=i(1873),r=Object.prototype,o=r.hasOwnProperty,l=r.toString,n=s?s.toStringTag:void 0;e.exports=function(e){var t=o.call(e,n),i=e[n];try{e[n]=void 0;var s=!0}catch(e){}var r=l.call(e);return s&&(t?e[n]=i:delete e[n]),r}},9350(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},9325(e,t,i){var s=i(4840),r="object"==typeof self&&self&&self.Object===Object&&self,o=s||r||Function("return this")();e.exports=o},1800(e){var t=/\s/;e.exports=function(e){for(var i=e.length;i--&&t.test(e.charAt(i)););return i}},8221(e,t,i){var s=i(3805),r=i(124),o=i(9374),l=Math.max,n=Math.min;e.exports=function(e,t,i){var a,c,h,d,u,p,v=0,f=!1,m=!1,b=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function g(t){var i=a,s=c;return a=c=void 0,v=t,d=e.apply(s,i)}function y(e){var i=e-p;return void 0===p||i>=t||i<0||m&&e-v>=h}function x(){var e=r();if(y(e))return E(e);u=setTimeout(x,function(e){var i=t-(e-p);return m?n(i,h-(e-v)):i}(e))}function E(e){return u=void 0,b&&a?g(e):(a=c=void 0,d)}function w(){var e=r(),i=y(e);if(a=arguments,c=this,p=e,i){if(void 0===u)return function(e){return v=e,u=setTimeout(x,t),f?g(e):d}(p);if(m)return clearTimeout(u),u=setTimeout(x,t),g(p)}return void 0===u&&(u=setTimeout(x,t)),d}return t=o(t)||0,s(i)&&(f=!!i.leading,h=(m="maxWait"in i)?l(o(i.maxWait)||0,t):h,b="trailing"in i?!!i.trailing:b),w.cancel=function(){void 0!==u&&clearTimeout(u),v=0,a=p=c=u=void 0},w.flush=function(){return void 0===u?d:E(r())},w}},3805(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},346(e){e.exports=function(e){return null!=e&&"object"==typeof e}},4394(e,t,i){var s=i(2552),r=i(346);e.exports=function(e){return"symbol"==typeof e||r(e)&&"[object Symbol]"==s(e)}},124(e,t,i){var s=i(9325);e.exports=function(){return s.Date.now()}},7350(e,t,i){var s=i(8221),r=i(3805);e.exports=function(e,t,i){var o=!0,l=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return r(i)&&(o="leading"in i?!!i.leading:o,l="trailing"in i?!!i.trailing:l),s(e,t,{leading:o,maxWait:t,trailing:l})}},9374(e,t,i){var s=i(4128),r=i(3805),o=i(4394),l=/^[-+]0x[0-9a-f]+$/i,n=/^0b[01]+$/i,a=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return NaN;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=s(e);var i=n.test(e);return i||a.test(e)?c(e.slice(2),i?2:8):l.test(e)?NaN:+e}}},t={};function i(s){var r=t[s];if(void 0!==r)return r.exports;var o=t[s]={exports:{}};return e[s](o,o.exports,i),o.exports}(()=>{"use strict";let e=!1;var t=i(8221),s=i(7350),r=function(){return r=Object.assign||function(e){for(var t,i=1,s=arguments.length;i<s;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},r.apply(this,arguments)};function o(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window}function l(e){return e&&e.ownerDocument?e.ownerDocument:document}var n=function(e){return Array.prototype.reduce.call(e,function(e,t){var i=t.name.match(/data-simplebar-(.+)/);if(i){var s=i[1].replace(/\W+(.)/g,function(e,t){return t.toUpperCase()});switch(t.value){case"true":e[s]=!0;break;case"false":e[s]=!1;break;case void 0:e[s]=!0;break;default:e[s]=t.value}}return e},{})};function a(e,t){var i;e&&(i=e.classList).add.apply(i,t.split(" "))}function c(e,t){e&&t.split(" ").forEach(function(t){e.classList.remove(t)})}function h(e){return".".concat(e.split(" ").join("."))}var d=!("undefined"==typeof window||!window.document||!window.document.createElement),u=Object.freeze({__proto__:null,addClasses:a,canUseDOM:d,classNamesToQuery:h,getElementDocument:l,getElementWindow:o,getOptions:n,removeClasses:c}),p=null,v=null;function f(){if(null===p){if("undefined"==typeof document)return p=0;var e=document.body,t=document.createElement("div");t.classList.add("simplebar-hide-scrollbar"),e.appendChild(t);var i=t.getBoundingClientRect().right;e.removeChild(t),p=i}return p}d&&window.addEventListener("resize",function(){v!==window.devicePixelRatio&&(v=window.devicePixelRatio,p=null)});var m,b=o,g=l,y=n,x=a,E=c,w=h,S=function(){function e(i,o){void 0===o&&(o={});var l=this;if(this.removePreventClickId=null,this.minScrollbarWidth=20,this.stopScrollDelay=175,this.isScrolling=!1,this.isMouseEntering=!1,this.isDragging=!1,this.scrollXTicking=!1,this.scrollYTicking=!1,this.wrapperEl=null,this.contentWrapperEl=null,this.contentEl=null,this.offsetEl=null,this.maskEl=null,this.placeholderEl=null,this.heightAutoObserverWrapperEl=null,this.heightAutoObserverEl=null,this.rtlHelpers=null,this.scrollbarWidth=0,this.resizeObserver=null,this.mutationObserver=null,this.elStyles=null,this.isRtl=null,this.mouseX=0,this.mouseY=0,this.onMouseMove=function(){},this.onWindowResize=function(){},this.onStopScrolling=function(){},this.onMouseEntered=function(){},this.onScroll=function(){var e=b(l.el);l.scrollXTicking||(e.requestAnimationFrame(l.scrollX),l.scrollXTicking=!0),l.scrollYTicking||(e.requestAnimationFrame(l.scrollY),l.scrollYTicking=!0),l.isScrolling||(l.isScrolling=!0,x(l.el,l.classNames.scrolling)),l.showScrollbar("x"),l.showScrollbar("y"),l.onStopScrolling()},this.scrollX=function(){l.axis.x.isOverflowing&&l.positionScrollbar("x"),l.scrollXTicking=!1},this.scrollY=function(){l.axis.y.isOverflowing&&l.positionScrollbar("y"),l.scrollYTicking=!1},this._onStopScrolling=function(){E(l.el,l.classNames.scrolling),l.options.autoHide&&(l.hideScrollbar("x"),l.hideScrollbar("y")),l.isScrolling=!1},this.onMouseEnter=function(){l.isMouseEntering||(x(l.el,l.classNames.mouseEntered),l.showScrollbar("x"),l.showScrollbar("y"),l.isMouseEntering=!0),l.onMouseEntered()},this._onMouseEntered=function(){E(l.el,l.classNames.mouseEntered),l.options.autoHide&&(l.hideScrollbar("x"),l.hideScrollbar("y")),l.isMouseEntering=!1},this._onMouseMove=function(e){l.mouseX=e.clientX,l.mouseY=e.clientY,(l.axis.x.isOverflowing||l.axis.x.forceVisible)&&l.onMouseMoveForAxis("x"),(l.axis.y.isOverflowing||l.axis.y.forceVisible)&&l.onMouseMoveForAxis("y")},this.onMouseLeave=function(){l.onMouseMove.cancel(),(l.axis.x.isOverflowing||l.axis.x.forceVisible)&&l.onMouseLeaveForAxis("x"),(l.axis.y.isOverflowing||l.axis.y.forceVisible)&&l.onMouseLeaveForAxis("y"),l.mouseX=-1,l.mouseY=-1}
vendor: 17,012 bytes, line 1
1,this._onWindowResize=function(){l.scrollbarWidth=l.getScrollbarWidth(),l.hideNativeScrollbar()},this.onPointerEvent=function(e){var t,i;l.axis.x.track.el&&l.axis.y.track.el&&l.axis.x.scrollbar.el&&l.axis.y.scrollbar.el&&(l.axis.x.track.rect=l.axis.x.track.el.getBoundingClientRect(),l.axis.y.track.rect=l.axis.y.track.el.getBoundingClientRect(),(l.axis.x.isOverflowing||l.axis.x.forceVisible)&&(t=l.isWithinBounds(l.axis.x.track.rect)),(l.axis.y.isOverflowing||l.axis.y.forceVisible)&&(i=l.isWithinBounds(l.axis.y.track.rect)),(t||i)&&(e.stopPropagation(),"pointerdown"===e.type&&"touch"!==e.pointerType&&(t&&(l.axis.x.scrollbar.rect=l.axis.x.scrollbar.el.getBoundingClientRect(),l.isWithinBounds(l.axis.x.scrollbar.rect)?l.onDragStart(e,"x"):l.onTrackClick(e,"x")),i&&(l.axis.y.scrollbar.rect=l.axis.y.scrollbar.el.getBoundingClientRect(),l.isWithinBounds(l.axis.y.scrollbar.rect)?l.onDragStart(e,"y"):l.onTrackClick(e,"y")))))},this.drag=function(t){var i,s,r,o,n,a,c,h,d,u,p;if(l.draggedAxis&&l.contentWrapperEl){var v=l.axis[l.draggedAxis].track,f=null!==(s=null===(i=v.rect)||void 0===i?void 0:i[l.axis[l.draggedAxis].sizeAttr])&&void 0!==s?s:0,m=l.axis[l.draggedAxis].scrollbar,b=null!==(o=null===(r=l.contentWrapperEl)||void 0===r?void 0:r[l.axis[l.draggedAxis].scrollSizeAttr])&&void 0!==o?o:0,g=parseInt(null!==(a=null===(n=l.elStyles)||void 0===n?void 0:n[l.axis[l.draggedAxis].sizeAttr])&&void 0!==a?a:"0px",10);t.preventDefault(),t.stopPropagation();var y=("y"===l.draggedAxis?t.pageY:t.pageX)-(null!==(h=null===(c=v.rect)||void 0===c?void 0:c[l.axis[l.draggedAxis].offsetAttr])&&void 0!==h?h:0)-l.axis[l.draggedAxis].dragOffset,x=(y="x"===l.draggedAxis&&l.isRtl?(null!==(u=null===(d=v.rect)||void 0===d?void 0:d[l.axis[l.draggedAxis].sizeAttr])&&void 0!==u?u:0)-m.size-y:y)/(f-m.size)*(b-g);"x"===l.draggedAxis&&l.isRtl&&(x=(null===(p=e.getRtlHelpers())||void 0===p?void 0:p.isScrollingToNegative)?-x:x),l.contentWrapperEl[l.axis[l.draggedAxis].scrollOffsetAttr]=x}},this.onEndDrag=function(e){l.isDragging=!1;var t=g(l.el),i=b(l.el);e.preventDefault(),e.stopPropagation(),E(l.el,l.classNames.dragging),l.onStopScrolling(),t.removeEventListener("mousemove",l.drag,!0),t.removeEventListener("mouseup",l.onEndDrag,!0),l.removePreventClickId=i.setTimeout(function(){t.removeEventListener("click",l.preventClick,!0),t.removeEventListener("dblclick",l.preventClick,!0),l.removePreventClickId=null})},this.preventClick=function(e){e.preventDefault(),e.stopPropagation()},this.el=i,this.options=r(r({},e.defaultOptions),o),this.classNames=r(r({},e.defaultOptions.classNames),o.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,forceVisible:!1,track:{size:null,el:null,rect:null,isVisible:!1},scrollbar:{size:null,el:null,rect:null,isVisible:!1}}},"object"!=typeof this.el||!this.el.nodeName)throw new Error("Argument passed to SimpleBar must be an HTML element instead of ".concat(this.el));this.onMouseMove=s(this._onMouseMove,64),this.onWindowResize=t(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=t(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=t(this._onMouseEntered,this.stopScrollDelay),this.init()}return e.getRtlHelpers=function(){if(e.rtlHelpers)return e.rtlHelpers;var t=document.createElement("div");t.innerHTML='<div class="simplebar-dummy-scrollbar-size"><div></div></div>';var i=t.firstElementChild,s=null==i?void 0:i.firstElementChild;if(!s)return null;document.body.appendChild(i),i.scrollLeft=0;var r=e.getOffset(i),o=e.getOffset(s);i.scrollLeft=-999;var l=e.getOffset(s);return document.body.removeChild(i),e.rtlHelpers={isScrollOriginAtZero:r.left!==o.left,isScrollingToNegative:o.left!==l.left},e.rtlHelpers},e.prototype.getScrollbarWidth=function(){try{return this.contentWrapperEl&&"none"===getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display||"scrollbarWidth"in document.documentElement.style||"-ms-overflow-style"in document.documentElement.style?0:f()}catch(e){return f()}},e.getOffset=function(e){var t=e.getBoundingClientRect(),i=g(e),s=b(e);return{top:t.top+(s.pageYOffset||i.documentElement.scrollTop),left:t.left+(s.pageXOffset||i.documentElement.scrollLeft)}},e.prototype.init=function(){d&&(this.initDOM(),this.rtlHelpers=e.getRtlHelpers(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},e.prototype.initDOM=function(){var e,t;this.wrapperEl=this.el.querySelector(w(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(w(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(w(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(w(this.classNames.offset)),this.maskEl=this.el.querySelector(w(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,w(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(w(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(w(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(w(this.classNames.track)).concat(w(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(w(this.classNames.track)).concat(w(this.classNames.vertical))),this.axis.x.scrollbar.el=(null===(e=this.axis.x.track.el)||void 0===e?void 0:e.querySelector(w(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=(null===(t=this.axis.y.track.el)||void 0===t?void 0:t.querySelector(w(this.classNames.scrollbar)))||null,this.options.autoHide||(x(this.axis.x.scrollbar.el,this.classNames.visible),x(this.axis.y.scrollbar.el,this.classNames.visible))},e.prototype.initListeners=function(){var e,t=this,i=b(this.el);if(this.el.addEventListener("mouseenter",this.onMouseEnter),this.el.addEventListener("pointerdown",this.onPointerEvent,!0),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),null===(e=this.contentWrapperEl)||void 0===e||e.addEventListener("scroll",this.onScroll),i.addEventListener("resize",this.onWindowResize),this.contentEl){if(window.ResizeObserver){var s=!1,r=i.ResizeObserver||ResizeObserver;this.resizeObserver=new r(function(){s&&i.requestAnimationFrame(function(){t.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),i.requestAnimationFrame(function(){s=!0})}this.mutationObserver=new i.MutationObserver(function(){i.requestAnimationFrame(function(){t.recalculate()})}),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})}},e.prototype.recalculate=function(){if(this.heightAutoObserverEl&&this.contentEl&&this.contentWrapperEl&&this.wrapperEl&&this.placeholderEl){var e=b(this.el);this.elStyles=e.getComputedStyle(this.el),this.isRtl="rtl"===this.elStyles.direction;var t=this.contentEl.offsetWidth,i=this.heightAutoObserverEl.offsetHeight<=1,s=this.heightAutoObserverEl.offsetWidth<=1||t>0,r=this.contentWrapperEl.offsetWidth,o=this.elStyles.overflowX,l=this.elStyles.overflowY;this.contentEl.style.padding="".concat(this.elStyles.paddingTop," ").concat(this.elStyles.paddingRight," ").concat(this.elStyles.paddingBottom," ").concat(this.elStyles.paddingLeft),this.wrapperEl.style.margin="-".concat(this.elStyles.paddingTop," -").concat(this.elStyles.paddingRight," -").concat(this.elStyles.paddingBottom," -").concat(this.elStyles.paddingLeft);var n=this.contentEl.scrollHeight,a=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=i?"auto":"100%",this.placeholderEl.style.width=s?"".concat(t||a,"px"):"auto",this.placeholderEl.style.height="".concat(n,"px");var c=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=0!==t&&a>t,this.axis.y.isOverflowing=n>c,this.axis.x.isOverflowing="hidden"!==o&&this.axis.x.isOverflowing,this.axis.y.isOverflowing="hidden"!==l&&this.axis.y.isOverflowing,this.axis.x.forceVisible="x"===this.options.forceVisible||!0===this.options.forceVisible,this.axis.y.forceVisible="y"===this.options.forceVisible||!0===this.options.forceVisible,this.hideNativeScrollbar();var h=this.axis.x.isOverflowing?this.scrollbarWidth:0,d=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&a>r-d,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&n>c-h,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el&&(this.axis.x.scrollbar.el.style.width="".concat(this.axis.x.scrollbar.size,"px")),this.axis.y.scrollbar.el&&(this.axis.y.scrollbar.el.style.height="".concat(this.axis.y.scrollbar.size,"px")),this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")}},e.prototype.getScrollbarSize=function(e){var t,i;if(void 0===e&&(e="y"),!this.axis[e].isOverflowing||!this.contentEl)return 0;var s,r=this.contentEl[this.axis[e].scrollSizeAttr],o=null!==(i=null===(t=this.axis[e].track.el)||void 0===t?void 0:t[this.axis[e].offsetSizeAttr])&&void 0!==i?i:0,l=o/r;return s=Math.max(~~(l*o),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(s=Math.min(s,this.options.scrollbarMaxSize)),s},e.prototype.positionScrollbar=function(t){var i,s,r;void 0===t&&(t="y");var o=this.axis[t].scrollbar;if(this.axis[t].isOverflowing&&this.contentWrapperEl&&o.el&&this.elStyles){var l=this.contentWrapperEl[this.axis[t].scrollSizeAttr],n=(null===(i=this.axis[t].track.el)||void 0===i?void 0:i[this.axis[t].offsetSizeAttr])||0,a=parseInt(this.elStyles[this.axis[t].sizeAttr],10),c=this.contentWrapperEl[this.axis[t].scrollOffsetAttr];c="x"===t&&this.isRtl&&(null===(s=e.getRtlHelpers())||void 0===s?void 0:s.isScrollOriginAtZero)?-c:c,"x"===t&&this.isRtl&&(c=(null===(r=e.getRtlHelpers())||void 0===r?void 0:r.isScrollingToNegative)?c:-c);var h=c/(l-a),d=~~((n-o.size)*h);d="x"===t&&this.isRtl?-d+(n-o.size):d,o.el.style.transform="x"===t?"translate3d(".concat(d,"px, 0, 0)"):"translate3d(0, ".concat(d,"px, 0)")}},e.prototype.toggleTrackVisibility=function(e){void 0===e&&(e="y");var t=this.axis[e].track.el,i=this.axis[e].scrollbar.el;t&&i&&this.contentWrapperEl&&(this.axis[e].isOverflowing||this.axis[e].forceVisible?(t.style.visibility="visible",this.contentWrapperEl.style[this.axis[e].overflowAttr]="scroll",this.el.classList.add("".concat(this.classNames.scrollable,"-").concat(e))):(t.style.visibility="hidden",this.contentWrapperEl.style[this.axis[e].overflowAttr]="hidden",this.el.classList.remove("".concat(this.classNames.scrollable,"-").concat(e))),this.axis[e].isOverflowing?i.style.display="block":i.style.display="none")},e.prototype.showScrollbar=function(e){void 0===e&&(e="y"),this.axis[e].isOverflowing&&!this.axis[e].scrollbar.isVisible&&(x(this.axis[e].scrollbar.el,this.classNames.visible),this.axis[e].scrollbar.isVisible=!0)},e.prototype.hideScrollbar=function(e){void 0===e&&(e="y"),this.isDragging||this.axis[e].isOverflowing&&this.axis[e].scrollbar.isVisible&&(E(this.axis[e].scrollbar.el,this.classNames.visible),this.axis[e].scrollbar.isVisible=!1)},e.prototype.hideNativeScrollbar=function(){this.offsetEl&&(this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px",this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-".concat(this.scrollbarWidth,"px"):"0px")},e.prototype.onMouseMoveForAxis=function(e){void 0===e&&(e="y");var t=this.axis[e];t.track.el&&t.scrollbar.el&&(t.track.rect=t.track.el.getBoundingClientRect(),t.scrollbar.rect=t.scrollbar.el.getBoundingClientRect(),this.isWithinBounds(t.track.rect)?(this.showScrollbar(e),x(t.track.el,this.classNames.hover),this.isWithinBounds(t.scrollbar.rect)?x(t.scrollbar.el,this.classNames.hover):E(t.scrollbar.el,this.classNames.hover)):(E(t.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(e)))},e.prototype.onMouseLeaveForAxis=function(e){void 0===e&&(e="y"),E(this.axis[e].track.el,this.classNames.hover),E(this.axis[e].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(e)},e.prototype.onDragStart=function(e,t){var i;void 0===t&&(t="y"),this.isDragging=!0;var s=g(this.el),r=b(this.el),o=this.axis[t].scrollbar,l="y"===t?e.pageY:e.pageX;this.axis[t].dragOffset=l-((null===(i=o.rect)||void 0===i?void 0:i[this.axis[t].offsetAttr])||0),this.draggedAxis=t,x(this.el,this.classNames.dragging),s.addEventListener("mousemove",this.drag,!0),s.addEventListener("mouseup",this.onEndDrag,!0),null===this.removePreventClickId?(s.addEventListener("click",this.preventClick,!0),s.addEventListener("dblclick",this.preventClick,!0)):(r.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.prototype.onTrackClick=function(e,t){var i,s,r,o,l=this;void 0===t&&(t="y");var n=this.axis[t];if(this.options.clickOnTrack&&n.scrollbar.el&&this.contentWrapperEl){e.preventDefault();var a=b(this.el);this.axis[t].scrollbar.rect=n.scrollbar.el.getBoundingClientRect();var c=null!==(s=null===(i=this.axis[t].scrollbar.rect)||void 0===i?void 0:i[this.axis[t].offsetAttr])&&void 0!==s?s:0,h=parseInt(null!==(o=null===(r=this.elStyles)||void 0===r?void 0:r[this.axis[t].sizeAttr])&&void 0!==o?o:"0px",10),d=this.contentWrapperEl[this.axis[t].scrollOffsetAttr],u=("y"===t?this.mouseY-c:this.mouseX-c)<0?-1:1,p=-1===u?d-h:d+h,v=function(){l.contentWrapperEl&&(-1===u?d>p&&(d-=40,l.contentWrapperEl[l.axis[t].scrollOffsetAttr]=d,a.requestAnimationFrame(v)):d<p&&(d+=40,l.contentWrapperEl[l.axis[t].scrollOffsetAttr]=d,a.requestAnimationFrame(v)))};v()}},e.prototype.getContentElement=function(){return this.contentEl},e.prototype.getScrollElement=function(){return this.contentWrapperEl},e.prototype.removeListeners=function(){var e=b(this.el);this.el.removeEventListener("mouseenter",this.onMouseEnter),this.el.removeEventListener("pointerdown",this.onPointerEvent,!0),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl&&this.contentWrapperEl.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onWindowResize),this.mutationObserver&&this.mutationObserver.disconnect(),this.resizeObserver&&this.resizeObserver.disconnect(),this.onMouseMove.cancel(),this.onWindowResize.cancel(),this.onStopScrolling.cancel(),this.onMouseEntered.cancel()},e.prototype.unMount=function(){this.removeListeners()},e.prototype.isWithinBounds=function(e){return this.mouseX>=e.left&&this.mouseX<=e.left+e.width&&this.mouseY>=e.top&&this.mouseY<=e.top+e.height},e.prototype.findChild=function(e,t){var i=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector;return Array.prototype.filter.call(e.children,function(e){return i.call(e,t)})[0]},e.rtlHelpers=null,e.defaultOptions={forceVisible:!1,clickOnTrack:!0,scrollbarMinSize:25,scrollbarMaxSize:0,ariaLabel:"scrollable content",tabIndex:0,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging",scrolling:"simplebar-scrolling",scrollable:"simplebar-scrollable",mouseEntered:"simplebar-mouse-entered"},scrollableNode:null,contentNode:null,autoHide:!0},e.getOptions=y,e.helpers=u,e}(),O=function(e,t){return O=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},O(e,t)},A=S.helpers,k=A.getOptions,M=A.addClasses,W=A.canUseDOM,L=function(e){function t(){for(var i=[],s=0;s<arguments.length;s++)i[s]=arguments[s];var r=e.apply(this,i)||this;return t.instances.set(i[0],r),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}O(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}(t,e),t.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"),function(e){"
1init"===e.getAttribute("data-simplebar")||t.instances.has(e)||new t(e,k(e.attributes))})},t.removeObserver=function(){var e;null===(e=t.globalObserver)||void 0===e||e.disconnect()},t.prototype.initDOM=function(){var e,t,i,s=this;if(!Array.prototype.filter.call(this.el.children,function(e){return e.classList.contains(s.classNames.wrapper)}).length){for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),M(this.wrapperEl,this.classNames.wrapper),M(this.contentWrapperEl,this.classNames.contentWrapper),M(this.offsetEl,this.classNames.offset),M(this.maskEl,this.classNames.mask),M(this.contentEl,this.classNames.contentEl),M(this.placeholderEl,this.classNames.placeholder),M(this.heightAutoObserverWrapperEl,this.classNames.heightAutoObserverWrapperEl),M(this.heightAutoObserverEl,this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl),null===(e=this.contentWrapperEl)||void 0===e||e.setAttribute("tabindex",this.options.tabIndex.toString()),null===(t=this.contentWrapperEl)||void 0===t||t.setAttribute("role","region"),null===(i=this.contentWrapperEl)||void 0===i||i.setAttribute("aria-label",this.options.ariaLabel)}if(!this.axis.x.track.el||!this.axis.y.track.el){var r=document.createElement("div"),o=document.createElement("div");M(r,this.classNames.track),M(o,this.classNames.scrollbar),r.appendChild(o),this.axis.x.track.el=r.cloneNode(!0),M(this.axis.x.track.el,this.classNames.horizontal),this.axis.y.track.el=r.cloneNode(!0),M(this.axis.y.track.el,this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}S.prototype.initDOM.call(this),this.el.setAttribute("data-simplebar","init")},t.prototype.unMount=function(){S.prototype.unMount.call(this),t.instances.delete(this.el)},t.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),"undefined"!=typeof MutationObserver&&(this.globalObserver=new MutationObserver(t.handleMutations),this.globalObserver.observe(document,{childList:!0,subtree:!0})),"complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements))},t.handleMutations=function(e){e.forEach(function(e){e.addedNodes.forEach(function(e){1===e.nodeType&&(e.hasAttribute("data-simplebar")?!t.instances.has(e)&&document.documentElement.contains(e)&&new t(e,k(e.attributes)):e.querySelectorAll("[data-simplebar]").forEach(function(e){"init"!==e.getAttribute("data-simplebar")&&!t.instances.has(e)&&document.documentElement.contains(e)&&new t(e,k(e.attributes))}))}),e.removedNodes.forEach(function(e){var i;1===e.nodeType&&("init"===e.getAttribute("data-simplebar")?!document.documentElement.contains(e)&&(null===(i=t.instances.get(e))||void 0===i||i.unMount()):Array.prototype.forEach.call(e.querySelectorAll('[data-simplebar="init"]'),function(e){var i;!document.documentElement.contains(e)&&(null===(i=t.instances.get(e))||void 0===i||i.unMount())}))})})},t.instances=new WeakMap,t}(S);W&&L.initHtmlApi(),m=()=>{const t=document.querySelectorAll(".wp-block-araguaia-video-session");if(t){const i=e=>{const t=e.querySelector("a");if(!t)return null;const i=t.getAttribute("href");return i?2===i.split("?v=").length?i.split("?v=")[1]:i.split("youtu.be/")[1]:null};t.forEach(t=>{const s=t.querySelectorAll(".list .video a"),r=t.querySelector(".player");let o;
1if(window.innerWidth<=960?s?.forEach(e=>{e.classList.add("open-video-modal")}):r&&(s?.forEach(e=>{e.classList.remove("open-video-modal")}),wp.hooks?.addAction("nw_theme_on_youtube_api_ready","theme_section_videos",()=>{setTimeout(()=>{let e=t?.querySelector(".video.active");const l=r?.querySelector(".player-video-youtube"),n=r?.querySelector(".player-video-facebook");if(l&&e){l.style.display="none",n.style.display="none";const t="youtube"===e.dataset.videoOrigin?i(e):"";t&&(o=new window.YT.Player(l,{videoId:t,width:"100%",height:"100%",playerVars:{autoplay:0,enablejsapi:1,modestbranding:1,origin:window.location.origin,rel:0,showinfo:0}}))}if(e&&"facebook"===e.dataset.videoOrigin){n.style.display="flex";const t=e.querySelector("a").getAttribute("href");n.innerHTML=`<div class="fb-video" data-href="${t}" data-width="auto" data-show-text="false" data-height="450">\n <div class="fb-xfbml-parse-ignore">\n <blockquote cite="${t}">\n <a href="${t}"></a>\n </blockquote>\n </div>\n </div>`,window.innerWidth>960&&"undefined"!=typeof FB&&FB.XFBML.parse(r.querySelector(".player-video-facebook"))}else r.querySelector(".player-video-youtube").style.display="flex";
1s.forEach(l=>{l.addEventListener("click",a=>{if(a.preventDefault(),"facebook"===l.parentNode.dataset.videoOrigin){o&&"function"==typeof o.stopVideo&&o.stopVideo(),r.querySelector(".player-video-youtube").style.display="none",r.querySelector(".player-video-facebook").style.display="flex";const e=l.getAttribute("href");n.innerHTML=`<div class="fb-video" data-href="${e}" data-width="auto" data-height="450" data-show-text="false">\n <div class="fb-xfbml-parse-ignore">\n <blockquote cite="${e}">\n <a href="${e}"></a>\n </blockquote>\n </div>\n </div>`,s.forEach(e=>e.parentNode.classList.remove("active")),l.parentNode.classList.add("active"),"undefined"!=typeof FB&&FB.XFBML.parse(r.querySelector(".player-video-facebook"))}else{r.querySelector(".player-video-facebook").style.display="none",r.querySelector(".player-video-facebook").innerHTML="",r.querySelector(".player-video-youtube").style.display="flex",s.forEach(e=>e.parentNode.classList.remove("active")),l.parentNode.classList.add("active"),e=t.querySelector(".video.active");const n=i(l.parentNode);n&&o&&"function"==typeof o.loadVideoById&&(o.loadVideoById(n),o.playVideo())}})})},300)})),t.classList.contains("vid-02")){const i=()=>{wp.hooks?.doAction("nwe_element_in_viewport",t,80,()=>{(()=>{if(!("YT"in window)&&!e){console.log("API NÃO CARREGADA"),e=!0;const t=document.createElement("script");t.src="https://www.youtube.com/iframe_api",t.async=!0,t.onload=()=>{wp.hooks?.doAction("nw_theme_on_youtube_api_ready")};const i=document.getElementsByTagName("script")[0];i.parentNode.insertBefore(t,i)}})()})};t.classList.contains("no-iframe")||(window.addEventListener("scroll",i),i())}t.classList.contains("vid-03-short")&&new L(t,{autoHide:!1,classNames:{contentEl:"list"}})})}},(document.attachEvent?"complete"===document.readyState:"loading"!==document.readyState)?m():document.addEventListener("DOMContentLoaded",m)})()})();
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.