PageSourceSearch

https://itumbiara.go.gov.br/wp-content/themes/araguaia/bundle/bloc…/view.js?ver=f628727fa6bab6be3f7d

js itumbiara.go.gov.br collected 2026-10-02 21:50:03 UTC 87,986 bytes, 1 lines download raw bytes

1(()=>{var e,t,r={1873(e,t,r){var n=r(9325).Symbol;e.exports=n},2552(e,t,r){var n=r(1873),o=r(659),i=r(9350),s=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":s&&s in Object(e)?o(e):i(e)}},4128(e,t,r){var n=r(1800),o=/^\s+/;e.exports=function(e){return e?e.slice(0,n(e)+1).replace(o,""):e}},4840(e){var t="object"==typeof globalThis&&globalThis&&globalThis.Object===Object&&globalThis;e.exports=t},659(e,t,r){var n=r(1873),o=Object.prototype,i=o.hasOwnProperty,s=o.toString,l=n?n.toStringTag:void 0;e.exports=function(e){var t=i.call(e,l),r=e[l];try{e[l]=void 0;var n=!0}catch(e){}var o=s.call(e);return n&&(t?e[l]=r:delete e[l]),o}},9350(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},9325(e,t,r){var n=r(4840),o="object"==typeof self&&self&&self.Object===Object&&self,i=n||o||Function("return this")();e.exports=i},1800(e){var t=/\s/;e.exports=function(e){for(var r=e.length;r--&&t.test(e.charAt(r)););return r}},8221(e,t,r){var n=r(3805),o=r(124),i=r(9374),s=Math.max,l=Math.min;e.exports=function(e,t,r){var a,c,u,f,d,p,h=0,v=!1,y=!1,m=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function b(t){var r=a,n=c;return a=c=void 0,h=t,f=e.apply(n,r)}function g(e){var r=e-p;return void 0===p||r>=t||r<0||y&&e-h>=u}function w(){var e=o();if(g(e))return O(e);d=setTimeout(w,function(e){var r=t-(e-p);return y?l(r,u-(e-h)):r}(e))}function O(e){return d=void 0,m&&a?b(e):(a=c=void 0,f)}function x(){var e=o(),r=g(e);if(a=arguments,c=this,p=e,r){if(void 0===d)return function(e){return h=e,d=setTimeout(w,t),v?b(e):f}(p);if(y)return clearTimeout(d),d=setTimeout(w,t),b(p)}return void 0===d&&(d=setTimeout(w,t)),f}return t=i(t)||0,n(r)&&(v=!!r.leading,u=(y="maxWait"in r)?s(i(r.maxWait)||0,t):u,m="trailing"in r?!!r.trailing:m),x.cancel=function(){void 0!==d&&clearTimeout(d),h=0,a=p=c=d=void 0},x.flush=function(){return void 0===d?f:O(o())},x}},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,r){var n=r(2552),o=r(346);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==n(e)}},124(e,t,r){var n=r(9325);e.exports=function(){return n.Date.now()}},7350(e,t,r){var n=r(8221),o=r(3805);e.exports=function(e,t,r){var i=!0,s=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return o(r)&&(i="leading"in r?!!r.leading:i,s="trailing"in r?!!r.trailing:s),n(e,t,{leading:i,maxWait:t,trailing:s})}},9374(e,t,r){var n=r(4128),o=r(3805),i=r(4394),s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,a=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=n(e);var r=l.test(e);return r||a.test(e)?c(e.slice(2),r?2:8):s.test(e)?NaN:+e}},1921(e,t,r){(()=>{var t={296:(e,t,r)=>{var n=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,s=/^0o[0-7]+$/i,l=parseInt,a="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,c="object"==typeof self&&self&&self.Object===Object&&self,u=a||c||Function("return this")(),f=Object.prototype.toString,d=Math.max,p=Math.min,h=function(){return u.Date.now()};function v(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function y(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==f.call(e)}(e))return NaN;if(v(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=v(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(n,"");var r=i.test(e);return r||s.test(e)?l(e.slice(2),r?2:8):o.test(e)?NaN:+e}e.exports=function(e,t,r){var n,o,i,s,l,a,c=0,u=!1,f=!1,m=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function b(t){var r=n,i=o;return n=o=void 0,c=t,s=e.apply(i,r)}function g(e){var r=e-a;return void 0===a||r>=t||r<0||f&&e-c>=i}function w(){var e=h();if(g(e))return O(e);l=setTimeout(w,function(e){var r=t-(e-a);return f?p(r,i-(e-c)):r}(e))}function O(e){return l=void 0,m&&n?b(e):(n=o=void 0,s)}function x(){var e=h(),r=g(e);
1if(n=arguments,o=this,a=e,r){if(void 0===l)return function(e){return c=e,l=setTimeout(w,t),u?b(e):s}(a);if(f)return l=setTimeout(w,t),b(a)}return void 0===l&&(l=setTimeout(w,t)),s}return t=y(t)||0,v(r)&&(u=!!r.leading,i=(f="maxWait"in r)?d(y(r.maxWait)||0,t):i,m="trailing"in r?!!r.trailing:m),x.cancel=function(){void 0!==l&&clearTimeout(l),c=0,n=a=o=l=void 0},x.flush=function(){return void 0===l?s:O(h())},x}},96:(e,t,r)=>{var n="Expected a function",o=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,a=parseInt,c="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,u="object"==typeof self&&self&&self.Object===Object&&self,f=c||u||Function("return this")(),d=Object.prototype.toString,p=Math.max,h=Math.min,v=function(){return f.Date.now()};function y(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function m(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==d.call(e)}(e))return NaN;if(y(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=y(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var r=s.test(e);return r||l.test(e)?a(e.slice(2),r?2:8):i.test(e)?NaN:+e}e.exports=function(e,t,r){var o=!0,i=!0;if("function"!=typeof e)throw new TypeError(n);return y(r)&&(o="leading"in r?!!r.leading:o,i="trailing"in r?!!r.trailing:i),function(e,t,r){var o,i,s,l,a,c,u=0,f=!1,d=!1,b=!0;if("function"!=typeof e)throw new TypeError(n);function g(t){var r=o,n=i;return o=i=void 0,u=t,l=e.apply(n,r)}function w(e){var r=e-c;return void 0===c||r>=t||r<0||d&&e-u>=s}function O(){var e=v();if(w(e))return x(e);a=setTimeout(O,function(e){var r=t-(e-c);return d?h(r,s-(e-u)):r}(e))}function x(e){return a=void 0,b&&o?g(e):(o=i=void 0,l)}function E(){var e=v(),r=w(e);if(o=arguments,i=this,c=e,r){if(void 0===a)return function(e){return u=e,a=setTimeout(O,t),f?g(e):l}(c);if(d)return a=setTimeout(O,t),g(c)}return void 0===a&&(a=setTimeout(O,t)),l}return t=m(t)||0,y(r)&&(f=!!r.leading,s=(d="maxWait"in r)?p(m(r.maxWait)||0,t):s,b="trailing"in r?!!r.trailing:b),E.cancel=function(){void 0!==a&&clearTimeout(a),u=0,o=c=i=a=void 0},E.flush=function(){return void 0===a?l:x(v())},E}(e,t,{leading:o,maxWait:t,trailing:i})}},703:(e,t,r)=>{"use strict";var n=r(414);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,i,s){if(s!==n){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return r.PropTypes=r,r}},697:(e,t,r)=>{e.exports=r(703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}},n={};function o(e){var r=n[e];if(void 0!==r)return r.exports;var i=n[e]={exports:{}};return t[e](i,i.exports,o),i.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var i={};(()=>{"use strict";o.r(i),o.d(i,{LazyLoadComponent:()=>$,LazyLoadImage:()=>te,trackWindowScroll:()=>M});const e=r(1609);var t=o.n(e),n=o(697);function s(){return"undefined"!=typeof window&&"IntersectionObserver"in window&&"isIntersecting"in window.IntersectionObserverEntry.prototype}function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function c(e,t,r){return(t=f(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,f(n.key),n)}}function f(e){var t=function(e){if("object"!==l(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!==l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===l(t)?t:String(t)}
1function d(e,t){return d=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},d(e,t)}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}var h=function(e){e.forEach(function(e){e.isIntersecting&&e.target.onVisible()})},v={},y=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&d(e,t)}(y,e);var r,n,o,i,f=(o=y,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=p(o);if(i){var r=p(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===l(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function y(e){var t;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,y),(t=f.call(this,e)).supportsObserver=!e.scrollPosition&&e.useIntersectionObserver&&s(),t.supportsObserver){var r=e.threshold;t.observer=function(e){return v[e]=v[e]||new IntersectionObserver(h,{rootMargin:e+"px"}),v[e]}(r)}return t}return r=y,n=[{key:"componentDidMount",value:function(){this.placeholder&&this.observer&&(this.placeholder.onVisible=this.props.onVisible,this.observer.observe(this.placeholder)),this.supportsObserver||this.updateVisibility()}},{key:"componentWillUnmount",value:function(){this.observer&&this.placeholder&&this.observer.unobserve(this.placeholder)}},{key:"componentDidUpdate",value:function(){this.supportsObserver||this.updateVisibility()}},{key:"getPlaceholderBoundingBox",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.scrollPosition,t=this.placeholder.getBoundingClientRect(),r=this.placeholder.style,n=parseInt(r.getPropertyValue("margin-left"),10)||0,o=parseInt(r.getPropertyValue("margin-top"),10)||0;return{bottom:e.y+t.bottom+o,left:e.x+t.left+n,right:e.x+t.right+n,top:e.y+t.top+o}}},{key:"isPlaceholderInViewport",value:function(){if("undefined"==typeof window||!this.placeholder)return!1;var e=this.props,t=e.scrollPosition,r=e.threshold,n=this.getPlaceholderBoundingBox(t),o=t.y+window.innerHeight,i=t.x,s=t.x+window.innerWidth,l=t.y;return Boolean(l-r<=n.bottom&&o+r>=n.top&&i-r<=n.right&&s+r>=n.left)}},{key:"updateVisibility",value:function(){this.isPlaceholderInViewport()&&this.props.onVisible()}},{key:"render",value:function(){var e=this,r=this.props,n=r.className,o=r.height,i=r.placeholder,s=r.style,l=r.width;if(i&&"function"!=typeof i.type)return t().cloneElement(i,{ref:function(t){return e.placeholder=t}});var u=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach(function(t){c(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({display:"inline-block"},s);return void 0!==l&&(u.width=l),void 0!==o&&(u.height=o),t().createElement("span",{className:n,ref:function(t){return e.placeholder=t},style:u},i)}}],n&&u(r.prototype,n),Object.defineProperty(r,"prototype",{writable:!1}),y}(t().Component);y.propTypes={onVisible:n.PropTypes.func.isRequired,className:n.PropTypes.string,height:n.PropTypes.oneOfType([n.PropTypes.number,n.PropTypes.string]),placeholder:n.PropTypes.element,threshold:n.PropTypes.number,useIntersectionObserver:n.PropTypes.bool,scrollPosition:n.PropTypes.shape({x:n.PropTypes.number.isRequired,y:n.PropTypes.number.isRequired}),width:n.PropTypes.oneOfType([n.PropTypes.number,n.PropTypes.string])},y.defaultProps={className:"",placeholder:null,threshold:100,useIntersectionObserver:!0};const m=y;var b=o(296),g=o.n(b),w=o(96),O=o.n(w),x=function(e){var t=getComputedStyle(e,null);return t.getPropertyValue("overflow")+t.getPropertyValue("overflow-y")+t.getPropertyValue("overflow-x")};const E=function(e){if(!(e instanceof HTMLElement))return window;for(var t=e;t&&t instanceof HTMLElement;){if(/(scroll|auto)/.test(x(t)))return t;t=t.parentNode}return window}
1;function S(e){return S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},S(e)}var P=["delayMethod","delayTime"];function j(){return j=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},j.apply(this,arguments)}function N(e,t){return N=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},N(e,t)}function T(e,t){if(t&&("object"===S(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return R(e)}function R(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k(e){return k=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},k(e)}var C=function(){return"undefined"==typeof window?0:window.scrollX||window.pageXOffset},L=function(){return"undefined"==typeof window?0:window.scrollY||window.pageYOffset};const M=function(e){var r=function(r){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&N(e,t)}(c,r);var n,o,i,l,a=(i=c,l=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=k(i);if(l){var r=k(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return T(this,e)});function c(e){var r;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(r=a.call(this,e)).useIntersectionObserver=e.useIntersectionObserver&&s(),r.useIntersectionObserver)return T(r);var n=r.onChangeScroll.bind(R(r));return"debounce"===e.delayMethod?r.delayedScroll=g()(n,e.delayTime):"throttle"===e.delayMethod&&(r.delayedScroll=O()(n,e.delayTime)),r.state={scrollPosition:{x:C(),y:L()}},r.baseComponentRef=t().createRef(),r}return n=c,(o=[{key:"componentDidMount",value:function(){this.addListeners()}},{key:"componentWillUnmount",value:function(){this.removeListeners()}},{key:"componentDidUpdate",value:function(){"undefined"==typeof window||this.useIntersectionObserver||E(this.baseComponentRef.current)!==this.scrollElement&&(this.removeListeners(),this.addListeners())}},{key:"addListeners",value:function(){"undefined"==typeof window||this.useIntersectionObserver||(this.scrollElement=E(this.baseComponentRef.current),this.scrollElement.addEventListener("scroll",this.delayedScroll,{passive:!0}),window.addEventListener("resize",this.delayedScroll,{passive:!0}),this.scrollElement!==window&&window.addEventListener("scroll",this.delayedScroll,{passive:!0}))}},{key:"removeListeners",value:function(){"undefined"==typeof window||this.useIntersectionObserver||(this.scrollElement.removeEventListener("scroll",this.delayedScroll),window.removeEventListener("resize",this.delayedScroll),this.scrollElement!==window&&window.removeEventListener("scroll",this.delayedScroll))}},{key:"onChangeScroll",value:function(){this.useIntersectionObserver||this.setState({scrollPosition:{x:C(),y:L()}})}},{key:"render",value:function(){var r=this.props,n=(r.delayMethod,r.delayTime,function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(r,P)),o=this.useIntersectionObserver?null:this.state.scrollPosition;return t().createElement(e,j({forwardRef:this.baseComponentRef,scrollPosition:o},n))}}])&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,(o=function(e){if("object"!==S(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!==S(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(n.key),"symbol"===S(o)?o:String(o)),n)}var o}(n.prototype,o),Object.defineProperty(n,"prototype",{writable:!1}),c}(t().Component);
1return r.propTypes={delayMethod:n.PropTypes.oneOf(["debounce","throttle"]),delayTime:n.PropTypes.number,useIntersectionObserver:n.PropTypes.bool},r.defaultProps={delayMethod:"throttle",delayTime:300,useIntersectionObserver:!0},r};function D(e){return D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},D(e)}function A(e,t){return A=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},A(e,t)}function _(e){return _=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},_(e)}var I=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&A(e,t)}(l,e);var r,n,o,i,s=(o=l,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=_(o);if(i){var r=_(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===D(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function l(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),s.call(this,e)}return r=l,(n=[{key:"render",value:function(){return t().createElement(m,this.props)}}])&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,(o=function(e){if("object"!==D(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!==D(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(n.key),"symbol"===D(o)?o:String(o)),n)}var o}(r.prototype,n),Object.defineProperty(r,"prototype",{writable:!1}),l}(t().Component);const W=M(I);function z(e){return z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},z(e)}function B(e,t){return B=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},B(e,t)}function F(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V(e){return V=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},V(e)}var H=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&B(e,t)}(a,e);var r,n,o,i,l=(o=a,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=V(o);if(i){var r=V(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===z(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return F(e)}(this,e)});function a(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),t=l.call(this,e);var r=e.afterLoad,n=e.beforeLoad,o=e.scrollPosition,i=e.visibleByDefault;return t.state={visible:i},i&&(n(),r()),t.onVisible=t.onVisible.bind(F(t)),t.isScrollTracked=Boolean(o&&Number.isFinite(o.x)&&o.x>=0&&Number.isFinite(o.y)&&o.y>=0),t}return r=a,(n=[{key:"componentDidUpdate",value:function(e,t){t.visible!==this.state.visible&&this.props.afterLoad()}},{key:"onVisible",value:function(){this.props.beforeLoad(),this.setState({visible:!0})}},{key:"render",value:function(){if(this.state.visible)return this.props.children;var e=this.props,r=e.className,n=e.delayMethod,o=e.delayTime,i=e.height,l=e.placeholder,a=e.scrollPosition,c=e.style,u=e.threshold,f=e.useIntersectionObserver,d=e.width;return this.isScrollTracked||f&&s()?t().createElement(m,{className:r,height:i,onVisible:this.onVisible,placeholder:l,scrollPosition:a,style:c,threshold:u,useIntersectionObserver:f,width:d}):t().createElement(W,{className:r,delayMethod:n,delayTime:o,height:i,onVisible:this.onVisible,placeholder:l,style:c,threshold:u,width:d})}}])&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,(o=function(e){if("object"!==z(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!==z(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(n.key),"symbol"===z(o)?o:String(o)),n)}var o}(r.prototype,n),Object.defineProperty(r,"prototype",{writable:!1}),a}(t().Component);H.propTypes={afterLoad:n.PropTypes.func,beforeLoad:n.PropTypes.func,useIntersectionObserver:n.PropTypes.bool,visibleByDefault:n.PropTypes.bool},H.defaultProps={afterLoad:function(){return{}},beforeLoad:function(){return{}},useIntersectionObserver:!0,visibleByDefault:!1};const $=H;function X(e){return X="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},X(e)}var Y=["afterLoad","beforeLoad","delayMethod","delayTime","effect","placeholder","placeholderSrc","scrollPosition","threshold","useIntersectionObserver","visibleByDefault","wrapperClassName","wrapperProps"];function U(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function q(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?U(Object(r),!0).forEach(function(t){K(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):U(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function K(e,t,r){return(t=G(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Z(){return Z=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Z.apply(this,arguments)}function G(e){var t=function(e){if("object"!==X(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!==X(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===X(t)?t:String(t)}function J(e,t){return J=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},J(e,t)}function Q(e){return Q=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Q(e)}var ee=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&J(e,t)}(l,e);var r,n,o,i,s=(o=l,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,t=Q(o);if(i){var r=Q(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===X(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function l(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),(t=s.call(this,e)).state={loaded:!1},t}return r=l,(n=[{key:"onImageLoad",value:function(){var e=this;return this.state.loaded?null:function(t){e.props.onLoad(t),e.props.afterLoad(),e.setState({loaded:!0})}}},{key:"getImg",value:function(){var e=this.props,r=(e.afterLoad,e.beforeLoad,e.delayMethod,e.delayTime,e.effect,e.placeholder,e.placeholderSrc,e.scrollPosition,e.threshold,e.useIntersectionObserver,e.visibleByDefault,e.wrapperClassName,e.wrapperProps,function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,Y));return t().createElement("img",Z({},r,{onLoad:this.onImageLoad()}))}},{key:"getLazyLoadImage",value:function(){var e=this.props,r=e.beforeLoad,n=e.className,o=e.delayMethod,i=e.delayTime,s=e.height,l=e.placeholder,a=e.scrollPosition,c=e.style,u=e.threshold,f=e.useIntersectionObserver,d=e.visibleByDefault,p=e.width;return t().createElement($,{beforeLoad:r,className:n,delayMethod:o,delayTime:i,height:s,placeholder:l,scrollPosition:a,style:c,threshold:u,useIntersectionObserver:f,visibleByDefault:d,width:p},this.getImg())}},{key:"getWrappedLazyLoadImage",value:function(e){var r=this.props,n=r.effect,o=r.height,i=r.placeholderSrc,s=r.width,l=r.wrapperClassName,a=r.wrapperProps,c=this.state.loaded,u=c?" lazy-load-image-loaded":"",f=c||!i?{}:{backgroundImage:"url(".concat(i,")"),backgroundSize:"100% 100%"};return t().createElement("span",Z({className:l+" lazy-load-image-background "+n+u,style:q(q({},f),{},{color:"transparent",display:"inline-block",height:o,width:s})},a),e)}},{key:"render",value:function(){var e=this.props,t=e.effect,r=e.placeholderSrc,n=e.visibleByDefault,o=e.wrapperClassName,i=e.wrapperProps,s=this.getLazyLoadImage();return(t||r)&&!n||o||i?this.getWrappedLazyLoadImage(s):s}}])&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,G(n.key),n)}}(r.prototype,n),Object.defineProperty(r,"prototype",{writable:!1}),l}(t().Component);ee.propTypes={onLoad:n.PropTypes.func,afterLoad:n.PropTypes.func,beforeLoad:n.PropTypes.func,delayMethod:n.PropTypes.string,delayTime:n.PropTypes.number,effect:n.PropTypes.string,placeholderSrc:n.PropTypes.string,threshold:n.PropTypes.number,useIntersectionObserver:n.PropTypes.bool,visibleByDefault:n.PropTypes.bool,wrapperClassName:n.PropTypes.string,wrapperProps:n.PropTypes.object},ee.defaultProps={onLoad:function(){},afterLoad:function(){return{}},beforeLoad:function(){return{}},delayMethod:"throttle",delayTime:300,effect:"",placeholderSrc:null,threshold:100,useIntersectionObserver:!0,visibleByDefault:!1,wrapperClassName:""};const te=ee})(),e.exports=i})()},1609(e){"use strict";e.exports=window.React}},n={};function o(e){var t=n[e];if(void 0!==t)return t.exports;var i=n[e]={exports:{}};return r[e](i,i.exports,o),i.exports}o.n=e=>
vendor: 10,639 bytes, line 1
1{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var i=Object.create(null);o.r(i);var s={};e=e||[null,t({}),t([]),t(t)];for(var l=2&n&&r;("object"==typeof l||"function"==typeof l)&&!~e.indexOf(l);l=t(l))Object.getOwnPropertyNames(l).forEach(e=>s[e]=()=>r[e]);return s.default=()=>r,o.d(i,s),i},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nc=void 0,(()=>{"use strict";const e=window.wp.domReady;var t=o.n(e);const r=window.wp.element;var n=o(1921),i=o(1609),s=o.t(i,2);function l(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}function a(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function c(...e){return t=>{let r=!1;const n=e.map(e=>{const n=a(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){const r=n[t];"function"==typeof r?r():a(e[t],null)}}}}function u(...e){return i.useCallback(c(...e),e)}"undefined"==typeof window||!window.document||window.document.createElement;const f=window.ReactJSXRuntime;function d(...e){const t=e[0];if(1===e.length)return t;const r=()=>{const r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){const n=r.reduce((t,{useScope:r,scopeName:n})=>({...t,...r(e)[`__scope${n}`]}),{});return i.useMemo(()=>({[`__scope${t.scopeName}`]:n}),[n])}};return r.scopeName=t.scopeName,r}var p=globalThis?.document?i.useLayoutEffect:()=>{},h=s[" useId ".trim().toString()]||(()=>{}),v=0;function y(e){const[t,r]=i.useState(h());return p(()=>{e||r(e=>e??String(v++))},[e]),e||(t?`radix-${t}`:"")}var m=s[" useInsertionEffect ".trim().toString()]||p;Symbol("RADIX:SYNC_STATE");const b=window.ReactDOM;function g(e){const t=w(e),r=i.forwardRef((e,r)=>{const{children:n,...o}=e,s=i.Children.toArray(n),l=s.find(x);if(l){const e=l.props.children,n=s.map(t=>t===l?i.Children.count(e)>1?i.Children.only(null):i.isValidElement(e)?e.props.children:null:t);return(0,f.jsx)(t,{...o,ref:r,children:i.isValidElement(e)?i.cloneElement(e,void 0,n):null})}return(0,f.jsx)(t,{...o,ref:r,children:n})});return r.displayName=`${e}.Slot`,r}function w(e){const t=i.forwardRef((e,t)=>{const{children:r,...n}=e;if(i.isValidElement(r)){const e=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}(r),o=function(e,t){const r={...t};for(const n in t){const o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...e)=>{const t=i(...e);return o(...e),t}:o&&(r[n]=o):"style"===n?r[n]={...o,...i}:"className"===n&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==i.Fragment&&(o.ref=t?c(t,e):e),i.cloneElement(r,o)}return i.Children.count(r)>1?i.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var O=Symbol("radix.slottable");function x(e){return i.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===O}var E=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{const r=g(`Primitive.${t}`),n=i.forwardRef((e,n)=>{const{asChild:o,...i}=e,s=o?r:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,f.jsx)(s,{...i,ref:n})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function S(e){const t=i.useRef(e);return i.useEffect(()=>{t.current=e}),i.useMemo(()=>(...e)=>t.current?.(...e),[])}var P,j="dismissableLayer.update",N=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),T=i.forwardRef((e,t)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:o,onFocusOutside:s,onInteractOutside:a,onDismiss:c,...d}=e,p=i.useContext(N),[h,v]=i.useState(null),y=h?.ownerDocument??globalThis?.document,[,m]=i.useState({}),b=u(t,e=>v(e)),g=Array.from(p.layers),[w]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),O=g.indexOf(w),x=h?g.indexOf(h):-1,T=p.layersWithOutsidePointerEventsDisabled.size>0,C=x>=O,L=function(e,t=globalThis?.document){const r=S(e),n=i.useRef(!1),o=i.useRef(()=>{});return i.useEffect(()=>{const e=e=>{if(e.target&&!n.current){let n=function(){k("dismissableLayer.pointerDownOutside",r,i,{discrete:!0})};const i={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=n,t.addEventListener("click",o.current,{once:!0})):n()}else t.removeEventListener("click",o.current);n.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}(e=>{const t=e.target,r=[...p.branches].some(e=>e.contains(t));C&&!r&&(o?.(e),a?.(e),e.defaultPrevented||c?.())},y),M=function(e,t=globalThis?.document){const r=S(e),n=i.useRef(!1);return i.useEffect(()=>{const e=e=>{e.target&&!n.current&&k("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}(e=>{const t=e.target;[...p.branches].some(e=>e.contains(t))||(s?.(e),a?.(e),e.defaultPrevented||c?.())},y);return function(e,t=globalThis?.document){const r=S(e);i.useEffect(()=>{const e=e=>{"Escape"===e.key&&r(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[r,t])}(e=>{x===p.layers.size-1&&(n?.(e),!e.defaultPrevented&&c&&(e.preventDefault(),c()))},y),i.useEffect(()=>{if(h)return r&&(0===p.layersWithOutsidePointerEventsDisabled.size&&(P=y.body.style.pointerEvents,y.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(h)),p.layers.add(h),R(),()=>{r&&1===p.layersWithOutsidePointerEventsDisabled.size&&(y.body.style.pointerEvents=P)}},[h,y,r,p]),i.useEffect(()=>()=>{h&&(p.layers.delete(h),p.layersWithOutsidePointerEventsDisabled.delete(h),R())},[h,p]),i.useEffect(()=>{const e=()=>m({});return document.addEventListener(j,e),()=>document.removeEventListener(j,e)},[]),(0,f.jsx)(E.div,{...d,ref:b,style:{pointerEvents:T?C?"auto":"none":void 0,...e.style},onFocusCapture:l(e.onFocusCapture,M.onFocusCapture),onBlurCapture:l(e.onBlurCapture,M.onBlurCapture),onPointerDownCapture:l(e.onPointerDownCapture,L.onPointerDownCapture)})});function R(){const e=new CustomEvent(j);document.dispatchEvent(e)}function k(e,t,r,{discrete:n}){const o=r.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?function(e,t){e&&b.flushSync(()=>e.dispatchEvent(t))}(o,i):o.dispatchEvent(i)}T.displayName="DismissableLayer",i.forwardRef((e,t)=>{const r=i.useContext(N),n=i.useRef(null),o=u(t,n);return i.useEffect(()=>{const e=n.current;if(e)return r.branches.add(e),()=>{r.branches.delete(e)}},[r.branches]),(0,f.jsx)(E.div,{...e,ref:o})}).displayName="DismissableLayerBranch";var C="focusScope.autoFocusOnMount",L="focusScope.autoFocusOnUnmount",M={bubbles:!1,cancelable:!0},D=i.forwardRef((e,t)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:s,...l}=e,[a,c]=i.useState(null),d=S(o),p=S(s),h=i.useRef(null),v=u(t,e=>c(e)),y=i.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;i.useEffect(()=>{if(n){let e=function(e){if(y.paused||!a)return;const t=e.target;a.contains(t)?h.current=t:W(h.current,{select:!0})},t=function(e){if(y.paused||!a)return;const t=e.relatedTarget;null!==t&&(a.contains(t)||W(h.current,{select:!0}))},r=function(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&W(a)};document.addEventListener("focusin",e),document.addEventListener("focusout",t);const n=new MutationObserver(r);return a&&n.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[n,a,y.paused]),i.useEffect(()=>{if(a){z.add(y);const e=document.activeElement;if(!a.contains(e)){const t=new CustomEvent(C,M);a.addEventListener(C,d),a.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){const r=document.activeElement;for(const n of e)if(W(n,{select:t}),document.activeElement!==r)return}(A(a).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&W(a))}return()=>{a.removeEventListener(C,d),setTimeout(()=>{const t=new CustomEvent(L,M);a.addEventListener(L,p),a.dispatchEvent(t),t.defaultPrevented||W(e??document.body,{select:!0}),a.removeEventListener(L,p),z.remove(y)},0)}}},[a,d,p,y]);const m=i.useCallback(e=>{if(!r&&!n)return;if(y.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){const t=e.currentTarget,[n,i]=function(e){const t=A(e);return[_(t,e),_(t.reverse(),e)]}(t);n&&i?e.shiftKey||o!==i?e.shiftKey&&o===n&&(e.preventDefault(),r&&W(i,{select:!0})):(e.preventDefault(),r&&W(n,{select:!0})):o===t&&e.preventDefault()}},[r,n,y.paused]);return(0,f.jsx)(E.div,{tabIndex:-1,...l,ref:v,onKeyDown:m})});function A(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function _(e,t){for(const r of e)if(!I(r,{upTo:t}))return r}function I(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(void 0!==t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function W(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&function(e){return e instanceof HTMLInputElement&&"select"in e}(e)&&t&&e.select()}}D.displayName="FocusScope";var z=function(){let e=[];return{add(t){const r=e[0];t!==r&&r?.pause(),e=B(e,t),e.unshift(t)},remove(t){e=B(e,t),e[0]?.resume()}}}();function B(e,t){const r=[...e],n=r.indexOf(t);return-1!==n&&r.splice(n,1),r}var F=i.forwardRef((e,t)=>
1{const{container:r,...n}=e,[o,s]=i.useState(!1);p(()=>s(!0),[]);const l=r||o&&globalThis?.document?.body;return l?b.createPortal((0,f.jsx)(E.div,{...n,ref:t}),l):null});F.displayName="Portal";var V=e=>{const{present:t,children:r}=e,n=function(e){const[t,r]=i.useState(),n=i.useRef(null),o=i.useRef(e),s=i.useRef("none"),l=e?"mounted":"unmounted",[a,c]=function(e,t){return i.useReducer((e,r)=>t[e][r]??e,e)}(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return i.useEffect(()=>{const e=H(n.current);s.current="mounted"===a?e:"none"},[a]),p(()=>{const t=n.current,r=o.current;if(r!==e){const n=s.current,i=H(t);c(e?"MOUNT":"none"===i||"none"===t?.display?"UNMOUNT":r&&n!==i?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,c]),p(()=>{if(t){let e;const r=t.ownerDocument.defaultView??window,i=i=>{const s=H(n.current).includes(CSS.escape(i.animationName));if(i.target===t&&s&&(c("ANIMATION_END"),!o.current)){const n=t.style.animationFillMode;t.style.animationFillMode="forwards",e=r.setTimeout(()=>{"forwards"===t.style.animationFillMode&&(t.style.animationFillMode=n)})}},l=e=>{e.target===t&&(s.current=H(n.current))};return t.addEventListener("animationstart",l),t.addEventListener("animationcancel",i),t.addEventListener("animationend",i),()=>{r.clearTimeout(e),t.removeEventListener("animationstart",l),t.removeEventListener("animationcancel",i),t.removeEventListener("animationend",i)}}c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:i.useCallback(e=>{n.current=e?getComputedStyle(e):null,r(e)},[])}}(t),o="function"==typeof r?r({present:n.isPresent}):i.Children.only(r),s=u(n.ref,function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}(o));return"function"==typeof r||n.isPresent?i.cloneElement(o,{ref:s}):null};function H(e){return e?.animationName||"none"}V.displayName="Presence";var $=0;function X(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var Y=function(){return Y=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Y.apply(this,arguments)};function U(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}Object.create,Object.create;var q="right-scroll-bar-position",K="width-before-scroll-bar";function Z(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var G="undefined"!=typeof window?i.useLayoutEffect:i.useEffect,J=new WeakMap;function Q(e){return e}var ee=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=Q);var r=[],n=!1;return{read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(e){var o=t(e,n);return r.push(o),function(){r=r.filter(function(e){return e!==o})}},assignSyncMedium:function(e){for(n=!0;r.length;){var t=r;r=[],t.forEach(e)}r={push:function(t){return e(t)},filter:function(){return r}}},assignMedium:function(e){n=!0;var t=[];if(r.length){var o=r;r=[],o.forEach(e),t=r}var i=function(){var r=t;t=[],r.forEach(e)},s=function(){return Promise.resolve().then(i)};s(),r={push:function(e){t.push(e),s()},filter:function(e){return t=t.filter(e),r}}}}}(null);return t.options=Y({async:!0,ssr:!1},e),t}(),te=function(){},re=i.forwardRef(function(e,t){var r=i.useRef(null),n=i.useState({onScrollCapture:te,onWheelCapture:te,onTouchMoveCapture:te}),o=n[0],s=n[1],l=e.forwardProps,a=e.children,c=e.className,u=e.removeScrollBar,f=e.enabled,d=e.shards,p=e.sideCar,h=e.noRelative,v=e.noIsolation,y=e.inert,m=e.allowPinchZoom,b=e.as,g=void 0===b?"div"
vendor: 5,993 bytes, line 1
1:b,w=e.gapMode,O=U(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),x=p,E=function(e,t){var r,n,o,s=(r=t||null,n=function(t){return e.forEach(function(e){return Z(e,t)})},(o=(0,i.useState)(function(){return{value:r,callback:n,facade:{get current(){return o.value},set current(e){var t=o.value;t!==e&&(o.value=e,o.callback(e,t))}}}})[0]).callback=n,o.facade);return G(function(){var t=J.get(s);if(t){var r=new Set(t),n=new Set(e),o=s.current;r.forEach(function(e){n.has(e)||Z(e,null)}),n.forEach(function(e){r.has(e)||Z(e,o)})}J.set(s,e)},[e]),s}([r,t]),S=Y(Y({},O),o);return i.createElement(i.Fragment,null,f&&i.createElement(x,{sideCar:ee,removeScrollBar:u,shards:d,noRelative:h,noIsolation:v,inert:y,setCallbacks:s,allowPinchZoom:!!m,lockRef:r,gapMode:w}),l?i.cloneElement(i.Children.only(a),Y(Y({},S),{ref:E})):i.createElement(g,Y({},S,{className:c,ref:E}),a))});re.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},re.classNames={fullWidth:K,zeroRight:q};var ne=function(e){var t=e.sideCar,r=U(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw new Error("Sidecar medium not found");return i.createElement(n,Y({},r))};ne.isSideCarExport=!0;var oe=function(){var e=0,t=null;return{add:function(r){var n,i;0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=o.nc;return t&&e.setAttribute("nonce",t),e}())&&(i=r,(n=t).styleSheet?n.styleSheet.cssText=i:n.appendChild(document.createTextNode(i)),function(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}(t)),e++},remove:function(){! --e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},ie=function(){var e,t=(e=oe(),function(t,r){i.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])});return function(e){var r=e.styles,n=e.dynamic;return t(r,n),null}},se={left:0,top:0,right:0,gap:0},le=function(e){return parseInt(e||"",10)||0},ae=ie(),ce="data-scroll-locked",ue=function(e,t,r,n){var o=e.left,i=e.top,s=e.right,l=e.gap;return void 0===r&&(r="margin"),"\n  .".concat("with-scroll-bars-hidden"," {\n   overflow: hidden ").concat(n,";\n   padding-right: ").concat(l,"px ").concat(n,";\n  }\n  body[").concat(ce,"] {\n    overflow: hidden ").concat(n,";\n    overscroll-behavior: contain;\n    ").concat([t&&"position: relative ".concat(n,";"),"margin"===r&&"\n    padding-left: ".concat(o,"px;\n    padding-top: ").concat(i,"px;\n    padding-right: ").concat(s,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(l,"px ").concat(n,";\n    "),"padding"===r&&"padding-right: ".concat(l,"px ").concat(n,";")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(q," {\n    right: ").concat(l,"px ").concat(n,";\n  }\n  \n  .").concat(K," {\n    margin-right: ").concat(l,"px ").concat(n,";\n  }\n  \n  .").concat(q," .").concat(q," {\n    right: 0 ").concat(n,";\n  }\n  \n  .").concat(K," .").concat(K," {\n    margin-right: 0 ").concat(n,";\n  }\n  \n  body[").concat(ce,"] {\n    ").concat("--removed-body-scroll-bar-size",": ").concat(l,"px;\n  }\n")},fe=function(){var e=parseInt(document.body.getAttribute(ce)||"0",10);return isFinite(e)?e:0},de=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,o=void 0===n?"margin":n;i.useEffect(function(){return document.body.setAttribute(ce,(fe()+1).toString()),function(){var e=fe()-1;e<=0?document.body.removeAttribute(ce):document.body.setAttribute(ce,e.toString())}},[]);var s=i.useMemo(function(){return function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return se;var t=function(e){var t=window.getComputedStyle(document.body),r=t["padding"===e?"paddingLeft":"marginLeft"],n=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[le(r),le(n),le(o)]}(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}}(o)},[o]);return i.createElement(ae,{styles:ue(s,!t,o,r?"":"!important")})},pe=!1;if("undefined"!=typeof window)try{var he=Object.defineProperty({},"passive",{get:function(){return pe=!0,!0}});window.addEventListener("test",he,he),window.removeEventListener("test",he,he)}catch(e){pe=!1}var ve=!!pe&&{passive:!1},ye=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return"hidden"!==r[t]&&!(r.overflowY===r.overflowX&&!function(e){return"TEXTAREA"===e.tagName}(e)&&"visible"===r[t])},me=function(e,t){var r=t.ownerDocument,n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),be(e,n)){var o=ge(e,n);if(o[1]>o[2])return!0}n=n.parentNode}while(n&&n!==r.body);return!1},be=function(e,t){return"v"===e?function(e){return ye(e,"overflowY")}(t):function(e){return ye(e,"overflowX")}(t)},ge=function(e,t){return"v"===e?[(r=t).scrollTop,r.scrollHeight,r.clientHeight]:function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t);var r},we=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Oe=function(e){return[e.deltaX,e.deltaY]},xe=function(e){return e&&"current"in e?e.current:e},Ee=function(e){return"\n  .block-interactivity-".concat(e," {pointer-events: none;}\n  .allow-interactivity-").concat(e," {pointer-events: all;}\n")},Se=0,Pe=[];function je(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const Ne=(Te=function(e){var t=i.useRef([]),r=i.useRef([0,0]),n=i.useRef(),o=i.useState(Se++)[0],s=i.useState(ie)[0],l=i.useRef(e);i.useEffect(function(){l.current=e},[e]),i.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=function(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}
vendor: 4,289 bytes, line 1
1([e.lockRef.current],(e.shards||[]).map(xe),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var a=i.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!l.current.allowPinchZoom;var o,i=we(e),s=r.current,a="deltaX"in e?e.deltaX:s[0]-i[0],c="deltaY"in e?e.deltaY:s[1]-i[1],u=e.target,f=Math.abs(a)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===f&&"range"===u.type)return!1;var d=window.getSelection(),p=d&&d.anchorNode;if(p&&(p===u||p.contains(u)))return!1;var h=me(f,u);if(!h)return!0;if(h?o=f:(o="v"===f?"h":"v",h=me(f,u)),!h)return!1;if(!n.current&&"changedTouches"in e&&(a||c)&&(n.current=o),!o)return!0;var v=n.current||o;return function(e,t,r,n){var o=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),i=o*n,s=r.target,l=t.contains(s),a=!1,c=i>0,u=0,f=0;do{if(!s)break;var d=ge(e,s),p=d[0],h=d[1]-d[2]-o*p;(p||h)&&be(e,s)&&(u+=h,f+=p);var v=s.parentNode;s=v&&v.nodeType===Node.DOCUMENT_FRAGMENT_NODE?v.host:v}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(c&&(Math.abs(u)<1||!1)||!c&&(Math.abs(f)<1||!1))&&(a=!0),a}(v,t,e,"h"===v?a:c)},[]),c=i.useCallback(function(e){var r=e;if(Pe.length&&Pe[Pe.length-1]===s){var n="deltaY"in r?Oe(r):we(r),o=t.current.filter(function(e){return e.name===r.type&&(e.target===r.target||r.target===e.shadowParent)&&(t=e.delta,o=n,t[0]===o[0]&&t[1]===o[1]);var t,o})[0];if(o&&o.should)r.cancelable&&r.preventDefault();else if(!o){var i=(l.current.shards||[]).map(xe).filter(Boolean).filter(function(e){return e.contains(r.target)});(i.length>0?a(r,i[0]):!l.current.noIsolation)&&r.cancelable&&r.preventDefault()}}},[]),u=i.useCallback(function(e,r,n,o){var i={name:e,delta:r,target:n,should:o,shadowParent:je(n)};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),f=i.useCallback(function(e){r.current=we(e),n.current=void 0},[]),d=i.useCallback(function(t){u(t.type,Oe(t),t.target,a(t,e.lockRef.current))},[]),p=i.useCallback(function(t){u(t.type,we(t),t.target,a(t,e.lockRef.current))},[]);i.useEffect(function(){return Pe.push(s),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:p}),document.addEventListener("wheel",c,ve),document.addEventListener("touchmove",c,ve),document.addEventListener("touchstart",f,ve),function(){Pe=Pe.filter(function(e){return e!==s}),document.removeEventListener("wheel",c,ve),document.removeEventListener("touchmove",c,ve),document.removeEventListener("touchstart",f,ve)}},[]);var h=e.removeScrollBar,v=e.inert;return i.createElement(i.Fragment,null,v?i.createElement(s,{styles:Ee(o)}):null,h?i.createElement(de,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},ee.useMedium(Te),ne);var Te,Re=i.forwardRef(function(e,t){return i.createElement(re,Y({},e,{ref:t,sideCar:Ne}))});Re.classNames=re.classNames;const ke=Re;var Ce=new WeakMap,Le=new WeakMap,Me={},De=0,Ae=function(e){return e&&(e.host||Ae(e.parentNode))},_e=function(e,t,r){void 0===r&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=t||function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live], script"))),function(e,t,r,n){var o=function(e,t){return t.map(function(t){if(e.contains(t))return t;var r=Ae(t);return r&&e.contains(r)?r:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)}).filter(function(e){return Boolean(e)})}(t,Array.isArray(e)?e:[e]);Me[r]||(Me[r]=new WeakMap);var i=Me[r],s=[],l=new Set,a=new Set(o),c=function(e){e&&!l.has(e)&&(l.add(e),c(e.parentNode))};o.forEach(c);var u=function(e){e&&!a.has(e)&&Array.prototype.forEach.call(e.children,function(e){if(l.has(e))u(e);else try{var t=e.getAttribute(n),o=null!==t&&"false"!==t,a=(Ce.get(e)||0)+1,c=(i.get(e)||0)+1;Ce.set(e,a),i.set(e,c),s.push(e),1===a&&o&&Le.set(e,!0),1===c&&e.setAttribute(r,"true"),o||e.setAttribute(n,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};
vendor: 4,169 bytes, line 1
1return u(t),l.clear(),De++,function(){s.forEach(function(e){var t=Ce.get(e)-1,o=i.get(e)-1;Ce.set(e,t),i.set(e,o),t||(Le.has(e)||e.removeAttribute(n),Le.delete(e)),o||e.removeAttribute(r)}),--De||(Ce=new WeakMap,Ce=new WeakMap,Le=new WeakMap,Me={})}}(n,o,r,"aria-hidden")):function(){return null}},Ie="Dialog",[We,ze]=function(e,t=[]){let r=[];const n=()=>{const t=r.map(e=>i.createContext(e));return function(r){const n=r?.[e]||t;return i.useMemo(()=>({[`__scope${e}`]:{...r,[e]:n}}),[r,n])}};return n.scopeName=e,[function(t,n){const o=i.createContext(n),s=r.length;r=[...r,n];const l=t=>{const{scope:r,children:n,...l}=t,a=r?.[e]?.[s]||o,c=i.useMemo(()=>l,Object.values(l));return(0,f.jsx)(a.Provider,{value:c,children:n})};return l.displayName=t+"Provider",[l,function(r,l){const a=l?.[e]?.[s]||o,c=i.useContext(a);if(c)return c;if(void 0!==n)return n;throw new Error(`\`${r}\` must be used within \`${t}\``)}]},d(n,...t)]}(Ie),[Be,Fe]=We(Ie),Ve=e=>{const{__scopeDialog:t,children:r,open:n,defaultOpen:o,onOpenChange:s,modal:l=!0}=e,a=i.useRef(null),c=i.useRef(null),[u,d]=function({prop:e,defaultProp:t,onChange:r=()=>{},caller:n}){const[o,s,l]=function({defaultProp:e,onChange:t}){const[r,n]=i.useState(e),o=i.useRef(r),s=i.useRef(t);return m(()=>{s.current=t},[t]),i.useEffect(()=>{o.current!==r&&(s.current?.(r),o.current=r)},[r,o]),[r,n,s]}({defaultProp:t,onChange:r}),a=void 0!==e,c=a?e:o;{const t=i.useRef(void 0!==e);i.useEffect(()=>{const e=t.current;if(e!==a){const t=e?"controlled":"uncontrolled",r=a?"controlled":"uncontrolled";console.warn(`${n} is changing from ${t} to ${r}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=a},[a,n])}const u=i.useCallback(t=>{if(a){const r=function(e){return"function"==typeof e}(t)?t(e):t;r!==e&&l.current?.(r)}else s(t)},[a,e,s,l]);return[c,u]}({prop:n,defaultProp:o??!1,onChange:s,caller:Ie});return(0,f.jsx)(Be,{scope:t,triggerRef:a,contentRef:c,contentId:y(),titleId:y(),descriptionId:y(),open:u,onOpenChange:d,onOpenToggle:i.useCallback(()=>d(e=>!e),[d]),modal:l,children:r})};Ve.displayName=Ie;var He="DialogTrigger";i.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Fe(He,r),i=u(t,o.triggerRef);return(0,f.jsx)(E.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":lt(o.open),...n,ref:i,onClick:l(e.onClick,o.onOpenToggle)})}).displayName=He;var $e="DialogPortal",[Xe,Ye]=We($e,{forceMount:void 0}),Ue=e=>{const{__scopeDialog:t,forceMount:r,children:n,container:o}=e,s=Fe($e,t);return(0,f.jsx)(Xe,{scope:t,forceMount:r,children:i.Children.map(n,e=>(0,f.jsx)(V,{present:r||s.open,children:(0,f.jsx)(F,{asChild:!0,container:o,children:e})}))})};Ue.displayName=$e;var qe="DialogOverlay",Ke=i.forwardRef((e,t)=>{const r=Ye(qe,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,i=Fe(qe,e.__scopeDialog);return i.modal?(0,f.jsx)(V,{present:n||i.open,children:(0,f.jsx)(Ge,{...o,ref:t})}):null});Ke.displayName=qe;var Ze=g("DialogOverlay.RemoveScroll"),Ge=i.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Fe(qe,r);return(0,f.jsx)(ke,{as:Ze,allowPinchZoom:!0,shards:[o.contentRef],children:(0,f.jsx)(E.div,{"data-state":lt(o.open),...n,ref:t,style:{pointerEvents:"auto",...n.style}})})}),Je="DialogContent",Qe=i.forwardRef((e,t)=>{const r=Ye(Je,e.__scopeDialog),{forceMount:n=r.forceMount,...o}=e,i=Fe(Je,e.__scopeDialog);return(0,f.jsx)(V,{present:n||i.open,children:i.modal?(0,f.jsx)(et,{...o,ref:t}):(0,f.jsx)(tt,{...o,ref:t})})});Qe.displayName=Je;var et=i.forwardRef((e,t)=>{const r=Fe(Je,e.__scopeDialog),n=i.useRef(null),o=u(t,r.contentRef,n);return i.useEffect(()=>{const e=n.current;if(e)return _e(e)},[]),(0,f.jsx)(rt,{...e,ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:l(e.onCloseAutoFocus,e=>{e.preventDefault(),r.triggerRef.current?.focus()}),onPointerDownOutside:l(e.onPointerDownOutside,e=>{const t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;(2===t.button||r)&&e.preventDefault()}),onFocusOutside:l(e.onFocusOutside,e=>e.preventDefault())})}),tt=i.forwardRef((e,t)=>
1{const r=Fe(Je,e.__scopeDialog),n=i.useRef(!1),o=i.useRef(!1);return(0,f.jsx)(rt,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(n.current||r.triggerRef.current?.focus(),t.preventDefault()),n.current=!1,o.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(n.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));const i=t.target,s=r.triggerRef.current?.contains(i);s&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}})}),rt=i.forwardRef((e,t)=>{const{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:s,...l}=e,a=Fe(Je,r),c=i.useRef(null),d=u(t,c);return i.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??X()),document.body.insertAdjacentElement("beforeend",e[1]??X()),$++,()=>{1===$&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),$--}},[]),(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(D,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:s,children:(0,f.jsx)(T,{role:"dialog",id:a.contentId,"aria-describedby":a.descriptionId,"aria-labelledby":a.titleId,"data-state":lt(a.open),...l,ref:d,onDismiss:()=>a.onOpenChange(!1)})}),(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(ft,{titleId:a.titleId}),(0,f.jsx)(dt,{contentRef:c,descriptionId:a.descriptionId})]})]})}),nt="DialogTitle";i.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Fe(nt,r);return(0,f.jsx)(E.h2,{id:o.titleId,...n,ref:t})}).displayName=nt;var ot="DialogDescription";i.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Fe(ot,r);return(0,f.jsx)(E.p,{id:o.descriptionId,...n,ref:t})}).displayName=ot;var it="DialogClose",st=i.forwardRef((e,t)=>{const{__scopeDialog:r,...n}=e,o=Fe(it,r);return(0,f.jsx)(E.button,{type:"button",...n,ref:t,onClick:l(e.onClick,()=>o.onOpenChange(!1))})});function lt(e){return e?"open":"closed"}st.displayName=it;var at="DialogTitleWarning",[ct,ut]=function(e,t){const r=i.createContext(t),n=e=>{const{children:t,...n}=e,o=i.useMemo(()=>n,Object.values(n));return(0,f.jsx)(r.Provider,{value:o,children:t})};return n.displayName=e+"Provider",[n,function(n){const o=i.useContext(r);if(o)return o;if(void 0!==t)return t;throw new Error(`\`${n}\` must be used within \`${e}\``)}]}(at,{contentName:Je,titleName:nt,docsSlug:"dialog"}),ft=({titleId:e})=>{const t=ut(at),r=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.\n\nIf you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return i.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},dt=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${ut("DialogDescriptionWarning").contentName}}.`;return i.useEffect(()=>{const n=e.current?.getAttribute("aria-describedby");t&&n&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},pt=Ue,ht=Ke,vt=Qe;const yt=Ve,mt=function({style:e,children:t}){return(0,f.jsxs)(pt,{children:[(0,f.jsx)(ht,{className:"DialogOverlay"}),(0,f.jsx)(vt,{style:e,className:"DialogContent has-background",children:t})]})},bt=st,gt=({openModal:e,setOpenModal:t,className:r,children:n,width:o="900px",height:i="85vh"})=>(0,f.jsx)(yt,{open:e,children:(0,f.jsxs)(mt,{style:{maxWidth:o,maxHeight:i},children:[(0,f.jsx)("div",{className:`ModalWrapper ${r}`,children:n}),(0,f.jsx)(bt,{asChild:!0,children:(0,f.jsx)("button",{className:"IconButton","aria-label":"Close",onClick:()=>t(!1),children:(0,f.jsx)("i",{className:"icon nmi-default-close"})})})]})});var wt=o(8221),Ot=o(7350),xt=function(){return xt=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},xt.apply(this,arguments)};function Et(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView:window}function St(e){return e&&e.ownerDocument?e.ownerDocument:document}var Pt=function(e){return Array.prototype.reduce.call(e,function(e,t){var r=t.name.match(/data-simplebar-(.+)/);if(r){var n=r[1].replace(/\W+(.)/g,function(e,t){return t.toUpperCase()});switch(t.value){case"true":e[n]=!0;break;case"false":e[n]=!1;break;case void 0:e[n]=!0;break;default:e[n]=t.value}}return e},{})};function jt(e,t){var r;e&&(r=e.classList).add.apply(r,t.split(" "))}function Nt(e,t){e&&t.split(" ").forEach(function(t){e.classList.remove(t)})}function Tt(e){return".".concat(e.split(" ").join("."))}var Rt=!("undefined"==typeof window||!window.document||!window.document.createElement),kt=Object.freeze({__proto__:null,addClasses:jt,canUseDOM:Rt,classNamesToQuery:Tt,getElementDocument:St,getElementWindow:Et,getOptions:Pt,removeClasses:Nt}),Ct=null,Lt=null;function Mt(){if(null===Ct){if("undefined"==typeof document)return Ct=0;var e=document.body,t=document.createElement("div");t.classList.add("simplebar-hide-scrollbar"),e.appendChild(t);var r=t.getBoundingClientRect().right;e.removeChild(t),Ct=r}return Ct}Rt&&window.addEventListener("resize",function(){Lt!==window.devicePixelRatio&&(Lt=window.devicePixelRatio,Ct=null)});var Dt=Et,At=St,_t=Pt,It=jt,Wt=Nt,zt=Tt,Bt=function(){function e(t,r){void 0===r&&(r={});var n=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=Dt(n.el);n.scrollXTicking||(e.requestAnimationFrame(n.scrollX),n.scrollXTicking=!0),n.scrollYTicking||(e.requestAnimationFrame(n.scrollY),n.scrollYTicking=!0),n.isScrolling||(n.isScrolling=!0,It(n.el,n.classNames.scrolling)),n.showScrollbar("x"),n.showScrollbar("y"),n.onStopScrolling()},this.scrollX=function(){n.axis.x.isOverflowing&&n.positionScrollbar("x"),n.scrollXTicking=!1},this.scrollY=function(){n.axis.y.isOverflowing&&n.positionScrollbar("y"),n.scrollYTicking=!1},this._onStopScrolling=function(){Wt(n.el,n.classNames.scrolling),n.options.autoHide&&(n.hideScrollbar("x"),n.hideScrollbar("y")),n.isScrolling=!1},this.onMouseEnter=function(){n.isMouseEntering||(It(n.el,n.classNames.mouseEntered),n.showScrollbar("x"),n.showScrollbar("y"),n.isMouseEntering=!0),n.onMouseEntered()},this._onMouseEntered=function(){Wt(n.el,n.classNames.mouseEntered),n.options.autoHide&&(n.hideScrollbar("x"),n.hideScrollbar("y")),n.isMouseEntering=!1},this._onMouseMove=function(e){n.mouseX=e.clientX,n.mouseY=e.clientY,(n.axis.x.isOverflowing||n.axis.x.forceVisible)&&n.onMouseMoveForAxis("x"),(n.axis.y.isOverflowing||n.axis.y.forceVisible)&&n.onMouseMoveForAxis("y")},this.onMouseLeave=function(){n.onMouseMove.cancel(),(n.axis.x.isOverflowing||n.axis.x.forceVisible)&&n.onMouseLeaveForAxis("x"),(n.axis.y.isOverflowing||n.axis.y.forceVisible)&&n.onMouseLeaveForAxis("y"),n.mouseX=-1,n.mouseY=-1},this._onWindowResize=function(){n.scrollbarWidth=n.getScrollbarWidth(),n.hideNativeScrollbar()},this.onPointerEvent=function(e){var t,r;n.axis.x.track.el&&n.axis.y.track.el&&n.axis.x.scrollbar.el&&n.axis.y.scrollbar.el&&(n.axis.x.track.rect=n.axis.x.track.el.getBoundingClientRect(),n.axis.y.track.rect=n.axis.y.track.el.getBoundingClientRect(),(n.axis.x.isOverflowing||n.axis.x.forceVisible)&&(t=n.isWithinBounds(n.axis.x.track.rect)),(n.axis.y.isOverflowing||n.axis.y.forceVisible)&&(r=n.isWithinBounds(n.axis.y.track.rect)),(t||r)&&(e.stopPropagation(),"pointerdown"===e.type&&"touch"!==e.pointerType&&(t&&(n.axis.x.scrollbar.rect=n.axis.x.scrollbar.el.getBoundingClientRect(),n.isWithinBounds(n.axis.x.scrollbar.rect)?n.onDragStart(e,"x"):n.onTrackClick(e,"x")),r&&(n.axis.y.scrollbar.rect=n.axis.y.scrollbar.el.getBoundingClientRect(),n.isWithinBounds(n.axis.y.scrollbar.rect)?n.onDragStart(e,"y"):n.onTrackClick(e,"y")))))},this.drag=function(t){var r,o,i,s,l,a,c,u,f,d,p;if(n.draggedAxis&&n.contentWrapperEl){var h=n.axis[n.draggedAxis].track,v=null!==(o=null===(r=h.rect)||void 0===r?void 0:r[n.axis[n.draggedAxis].sizeAttr])&&void 0!==o?o:0,y=n.axis[n.draggedAxis].scrollbar,m=null!==(s=null===(i=n.contentWrapperEl)||void 0===i?void 0:i[n.axis[n.draggedAxis].scrollSizeAttr])&&void 0!==s?s:0,b=parseInt(null!==(a=null===(l=n.elStyles)||void 0===l?void 0:l[n.axis[n.draggedAxis].sizeAttr])&&void 0!==a?a:"0px",10);t.preventDefault(),t.stopPropagation();var g=("y"===n.draggedAxis?t.pageY:t.pageX)-(null!==(u=null===(c=h.rect)||void 0===c?void 0:c[n.axis[n.draggedAxis].offsetAttr])&&void 0!==u?u:0)-n.axis[n.draggedAxis].dragOffset,w=(g="x"===n.draggedAxis&&n.isRtl?(null!==(d=null===(f=h.rect)||void 0===f?void 0:f[n.axis[n.draggedAxis].sizeAttr])&&void 0!==d?d:0)-y.size-g:g)/(v-y.size)*(m-b);"x"===n.draggedAxis&&n.isRtl&&(w=(null===(p=e.getRtlHelpers())||void 0===p?void 0:p.isScrollingToNegative)?-w:w),n.contentWrapperEl[n.axis[n.draggedAxis].scrollOffsetAttr]=w}},this.onEndDrag=function(e){n.isDragging=!1;var t=At(n.el),r=Dt(n.el);e.preventDefault(),e.stopPropagation(),Wt(n.el,n.classNames.dragging),n.onStopScrolling(),t.removeEventListener("mousemove",n.drag,!0),t.removeEventListener("mouseup",n.onEndDrag,!0),n.removePreventClickId=r.setTimeout(function(){t.removeEventListener("click",n.preventClick,!0),t.removeEventListener("dblclick",n.preventClick,!0),n.removePreventClickId=null})},this.preventClick=function(e){e.preventDefault(),e.stopPropagation()},this.el=t,this.options=xt(xt({},e.defaultOptions),r),this.classNames=xt(xt({},e.defaultOptions.classNames),r.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=Ot(this._onMouseMove,64),this.onWindowResize=wt(this._onWindowResize,64,{leading:!0}),this.onStopScrolling=wt(this._onStopScrolling,this.stopScrollDelay),this.onMouseEntered=wt(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 r=t.firstElementChild,n=null==r?void 0:r.firstElementChild;if(!n)return null;document.body.appendChild(r),r.scrollLeft=0;var o=e.getOffset(r),i=e.getOffset(n);r.scrollLeft=-999;var s=e.getOffset(n);return document.body.removeChild(r),e.rtlHelpers={isScrollOriginAtZero:o.left!==i.left,isScrollingToNegative:i.left!==s.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:Mt()}catch(e){return Mt()}},e.getOffset=function(e){var t=e.getBoundingClientRect(),r=At(e),n=Dt(e);return{top:t.top+(n.pageYOffset||r.documentElement.scrollTop),left
vendor: 10,713 bytes, line 1
1:t.left+(n.pageXOffset||r.documentElement.scrollLeft)}},e.prototype.init=function(){Rt&&(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(zt(this.classNames.wrapper)),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector(zt(this.classNames.contentWrapper)),this.contentEl=this.options.contentNode||this.el.querySelector(zt(this.classNames.contentEl)),this.offsetEl=this.el.querySelector(zt(this.classNames.offset)),this.maskEl=this.el.querySelector(zt(this.classNames.mask)),this.placeholderEl=this.findChild(this.wrapperEl,zt(this.classNames.placeholder)),this.heightAutoObserverWrapperEl=this.el.querySelector(zt(this.classNames.heightAutoObserverWrapperEl)),this.heightAutoObserverEl=this.el.querySelector(zt(this.classNames.heightAutoObserverEl)),this.axis.x.track.el=this.findChild(this.el,"".concat(zt(this.classNames.track)).concat(zt(this.classNames.horizontal))),this.axis.y.track.el=this.findChild(this.el,"".concat(zt(this.classNames.track)).concat(zt(this.classNames.vertical))),this.axis.x.scrollbar.el=(null===(e=this.axis.x.track.el)||void 0===e?void 0:e.querySelector(zt(this.classNames.scrollbar)))||null,this.axis.y.scrollbar.el=(null===(t=this.axis.y.track.el)||void 0===t?void 0:t.querySelector(zt(this.classNames.scrollbar)))||null,this.options.autoHide||(It(this.axis.x.scrollbar.el,this.classNames.visible),It(this.axis.y.scrollbar.el,this.classNames.visible))},e.prototype.initListeners=function(){var e,t=this,r=Dt(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),r.addEventListener("resize",this.onWindowResize),this.contentEl){if(window.ResizeObserver){var n=!1,o=r.ResizeObserver||ResizeObserver;this.resizeObserver=new o(function(){n&&r.requestAnimationFrame(function(){t.recalculate()})}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),r.requestAnimationFrame(function(){n=!0})}this.mutationObserver=new r.MutationObserver(function(){r.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=Dt(this.el);this.elStyles=e.getComputedStyle(this.el),this.isRtl="rtl"===this.elStyles.direction;var t=this.contentEl.offsetWidth,r=this.heightAutoObserverEl.offsetHeight<=1,n=this.heightAutoObserverEl.offsetWidth<=1||t>0,o=this.contentWrapperEl.offsetWidth,i=this.elStyles.overflowX,s=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 l=this.contentEl.scrollHeight,a=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=r?"auto":"100%",this.placeholderEl.style.width=n?"".concat(t||a,"px"):"auto",this.placeholderEl.style.height="".concat(l,"px");var c=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=0!==t&&a>t,this.axis.y.isOverflowing=l>c,this.axis.x.isOverflowing="hidden"!==i&&this.axis.x.isOverflowing,this.axis.y.isOverflowing="hidden"!==s&&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 u=this.axis.x.isOverflowing?this.scrollbarWidth:0,f=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&a>o-f,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&l>c-u,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,r;if(void 0===e&&(e="y"),!this.axis[e].isOverflowing||!this.contentEl)return 0;var n,o=this.contentEl[this.axis[e].scrollSizeAttr],i=null!==(r=null===(t=this.axis[e].track.el)||void 0===t?void 0:t[this.axis[e].offsetSizeAttr])&&void 0!==r?r:0,s=i/o;return n=Math.max(~~(s*i),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(n=Math.min(n,this.options.scrollbarMaxSize)),n},e.prototype.positionScrollbar=function(t){var r,n,o;void 0===t&&(t="y");var i=this.axis[t].scrollbar;if(this.axis[t].isOverflowing&&this.contentWrapperEl&&i.el&&this.elStyles){var s=this.contentWrapperEl[this.axis[t].scrollSizeAttr],l=(null===(r=this.axis[t].track.el)||void 0===r?void 0:r[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===(n=e.getRtlHelpers())||void 0===n?void 0:n.isScrollOriginAtZero)?-c:c,"x"===t&&this.isRtl&&(c=(null===(o=e.getRtlHelpers())||void 0===o?void 0:o.isScrollingToNegative)?c:-c);var u=c/(s-a),f=~~((l-i.size)*u);f="x"===t&&this.isRtl?-f+(l-i.size):f,i.el.style.transform="x"===t?"translate3d(".concat(f,"px, 0, 0)"):"translate3d(0, ".concat(f,"px, 0)")}},e.prototype.toggleTrackVisibility=function(e){void 0===e&&(e="y");var t=this.axis[e].track.el,r=this.axis[e].scrollbar.el;t&&r&&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?r.style.display="block":r.style.display="none")},e.prototype.showScrollbar=function(e){void 0===e&&(e="y"),this.axis[e].isOverflowing&&!this.axis[e].scrollbar.isVisible&&(It(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&&(Wt(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),It(t.track.el,this.classNames.hover),this.isWithinBounds(t.scrollbar.rect)?It(t.scrollbar.el,this.classNames.hover):Wt(t.scrollbar.el,this.classNames.hover)):(Wt(t.track.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(e)))},e.prototype.onMouseLeaveForAxis=function(e){void 0===e&&(e="y"),Wt(this.axis[e].track.el,this.classNames.hover),Wt(this.axis[e].scrollbar.el,this.classNames.hover),this.options.autoHide&&this.hideScrollbar(e)},e.prototype.onDragStart=function(e,t){var r;void 0===t&&(t="y"),this.isDragging=!0;var n=At(this.el),o=Dt(this.el),i=this.axis[t].scrollbar,s="y"===t?e.pageY:e.pageX;this.axis[t].dragOffset=s-((null===(r=i.rect)||void 0===r?void 0:r[this.axis[t].offsetAttr])||0),this.draggedAxis=t,It(this.el,this.classNames.dragging),n.addEventListener("mousemove",this.drag,!0),n.addEventListener("mouseup",this.onEndDrag,!0),null===this.removePreventClickId?(n.addEventListener("click",this.preventClick,!0),n.addEventListener("dblclick",this.preventClick,!0)):(o.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.prototype.onTrackClick=function(e,t){var r,n,o,i,s=this;void 0===t&&(t="y");var l=this.axis[t];if(this.options.clickOnTrack&&l.scrollbar.el&&this.contentWrapperEl){e.preventDefault();var a=Dt(this.el);this.axis[t].scrollbar.rect=l.scrollbar.el.getBoundingClientRect();var c=null!==(n=null===(r=this.axis[t].scrollbar.rect)||void 0===r?void 0:r[this.axis[t].offsetAttr])&&void 0!==n?n:0,u=parseInt(null!==(i=null===(o=this.elStyles)||void 0===o?void 0:o[this.axis[t].sizeAttr])&&void 0!==i?i:"0px",10),f=this.contentWrapperEl[this.axis[t].scrollOffsetAttr],d=("y"===t?this.mouseY-c:this.mouseX-c)<0?-1:1,p=-1===d?f-u:f+u,h=function(){s.contentWrapperEl&&(-1===d?f>p&&(f-=40,s.contentWrapperEl[s.axis[t].scrollOffsetAttr]=f,a.requestAnimationFrame(h)):f<p&&(f+=40,s.contentWrapperEl[s.axis[t].scrollOffsetAttr]=f,a.requestAnimationFrame(h)))};h()}},e.prototype.getContentElement=function(){return this.contentEl},e.prototype.getScrollElement=function(){return this.contentWrapperEl},e.prototype.removeListeners=function(){var e=Dt(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 r=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector;return Array.prototype.filter.call(e.children,function(e){return r.call(e,t)})[0]}
1,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=_t,e.helpers=kt,e}(),Ft=function(){return Ft=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Ft.apply(this,arguments)},Vt=i.forwardRef(function(e,t){var r=e.children,n=e.scrollableNodeProps,o=void 0===n?{}:n,s=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}(e,["children","scrollableNodeProps"]),l=i.useRef(),a=i.useRef(),c=i.useRef(),u={},f={};Object.keys(s).forEach(function(e){Object.prototype.hasOwnProperty.call(Bt.defaultOptions,e)?u[e]=s[e]:f[e]=s[e]});var d=Ft(Ft({},Bt.defaultOptions.classNames),u.classNames),p=Ft(Ft({},o),{className:"".concat(d.contentWrapper).concat(o.className?" ".concat(o.className):""),tabIndex:u.tabIndex||Bt.defaultOptions.tabIndex,role:"region","aria-label":u.ariaLabel||Bt.defaultOptions.ariaLabel});return i.useEffect(function(){var e;return a.current=p.ref?p.ref.current:a.current,l.current&&(e=new Bt(l.current,Ft(Ft(Ft({},u),a.current&&{scrollableNode:a.current}),c.current&&{contentNode:c.current})),"function"==typeof t?t(e):t&&(t.current=e)),function(){null==e||e.unMount(),e=null,"function"==typeof t&&t(null)}},[]),i.createElement("div",Ft({"data-simplebar":"init",ref:l},f),i.createElement("div",{className:d.wrapper},i.createElement("div",{className:d.heightAutoObserverWrapperEl},i.createElement("div",{className:d.heightAutoObserverEl})),i.createElement("div",{className:d.mask},i.createElement("div",{className:d.offset},"function"==typeof r?r({scrollableNodeRef:a,scrollableNodeProps:Ft(Ft({},p),{ref:a}),contentNodeRef:c,contentNodeProps:{className:d.contentEl,ref:c}}):i.createElement("div",Ft({},p),i.createElement("div",{className:d.contentEl},r)))),i.createElement("div",{className:d.placeholder})),i.createElement("div",{className:"".concat(d.track," ").concat(d.horizontal)},i.createElement("div",{className:d.scrollbar})),i.createElement("div",{className:"".concat(d.track," ").concat(d.vertical)},i.createElement("div",{className:d.scrollbar})))});Vt.displayName="SimpleBar";const{directoryUri:Ht,nome:$t,funcao:Xt,foto:Yt,biografia:Ut,fields:qt}=responsavelObject,Kt=()=>{const[e,t]=(0,r.useState)(!1);return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)("div",{className:"top-wrapper",children:[Yt&&(0,f.jsx)(n.LazyLoadImage,{wrapperClassName:"foto",alt:$t,effect:"blur",placeholderSrc:`${Ht}/assets/images/default-user.png`,width:80,height:80,src:Yt}),(0,f.jsxs)("div",{className:"info",children:[(0,f.jsx)("p",{className:"title",children:Xt}),(0,f.jsxs)("div",{className:"info-wrapper",children:[(0,f.jsx)("h5",{className:Ut?"hover":"",role:Ut?"button":void 0,tabIndex:Ut?0:void 0,onClick:()=>{Ut&&t(!0)},onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||!Ut||(e.preventDefault(),t(!0))},children:$t}),Ut&&(0,f.jsx)(f.Fragment,{children:(0,f.jsx)(gt,{className:"bio-modal",openModal:e,setOpenModal:t,width:"880px",height:"534px",children:(0,f.jsxs)("div",{className:"bio-wrapper",children:[Yt&&(0,f.jsx)(n.LazyLoadImage,{wrapperClassName:"foto",alt:$t,effect:"blur",placeholderSrc:`${Ht}/assets/images/default-user.png`,width:340,height:510,src:Yt}),(0,f.jsxs)("div",{className:"info",children:[(0,f.jsx)("h3",{children:$t}),(0,f.jsx)(Vt,{className:"scroll-wrapper",autoHide:!1,children:(0,f.jsx)("p",{className:"bio-text",dangerouslySetInnerHTML:{__html:Ut}}
1)})]})]})})})]})]})]}),qt.length>0&&(0,f.jsx)("div",{className:"fields-wrapper has-background has-border-color",children:Object.values(qt).map(e=>(0,f.jsxs)("div",{className:"field",children:[(0,f.jsx)("div",{className:`icon ${e.icon}`}),(0,f.jsx)("span",{className:"has-text-color",children:e.label})]},`${e.icon}-${e.label}`))})]})};t()(()=>{const e=document.querySelectorAll(".wp-block-araguaia-responsavel-estrutura");e?.forEach(e=>{e&&(0,r.createRoot)(e).render((0,f.jsx)(Kt,{}))})})})()})();

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.