├── README.md └── assets ├── img ├── 1.webp ├── 2.webp ├── 3.webp ├── 4.webp ├── 5.webp ├── 6.webp └── 7.webp ├── js ├── _ssgManifest.js ├── _buildManifest.js ├── 258.6a62fc44de0ceda9.js ├── 644-e19b240598ae46f9.js ├── webpack-045645829a1f2c4d.js ├── 383.83c2a70770721d30.js ├── 686.a66b192137396ec3.js ├── 925.f034d6247fe83383.js ├── 617.de4abca06741ee2b.js ├── 674-87d21fc98e9feabc.js ├── 675-77390ea4e32933b0.js ├── %5B%5B...slug%5D%5D-ef8894637742d2e1.js ├── 692-3b301e42e6fa4eeb.js ├── 77.cc5dd5f9e26354e0.js ├── 175.bbb08e553997fc39.js ├── 94.8c0296ce50830005.js ├── 165.46ec08849cec3a31.js ├── 164.2a2b52136da2fb75.js └── 693-0c2a7d539143ac5b.js └── css └── 30fd6dae99bf48e4.css /README.md: -------------------------------------------------------------------------------- 1 | # paycenter 2 | https://closeresty.github.io/paycenter/ 3 | -------------------------------------------------------------------------------- /assets/img/1.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/closeresty/paycenter/HEAD/assets/img/1.webp -------------------------------------------------------------------------------- /assets/img/2.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/closeresty/paycenter/HEAD/assets/img/2.webp -------------------------------------------------------------------------------- /assets/img/3.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/closeresty/paycenter/HEAD/assets/img/3.webp -------------------------------------------------------------------------------- /assets/img/4.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/closeresty/paycenter/HEAD/assets/img/4.webp -------------------------------------------------------------------------------- /assets/img/5.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/closeresty/paycenter/HEAD/assets/img/5.webp -------------------------------------------------------------------------------- /assets/img/6.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/closeresty/paycenter/HEAD/assets/img/6.webp -------------------------------------------------------------------------------- /assets/img/7.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/closeresty/paycenter/HEAD/assets/img/7.webp -------------------------------------------------------------------------------- /assets/js/_ssgManifest.js: -------------------------------------------------------------------------------- 1 | self.__SSG_MANIFEST=new Set,self.__SSG_MANIFEST_CB&&self.__SSG_MANIFEST_CB(); -------------------------------------------------------------------------------- /assets/js/_buildManifest.js: -------------------------------------------------------------------------------- 1 | self.__BUILD_MANIFEST=function(c,s,e,a,t,i,n,o){return{__rewrites:{beforeFiles:[],afterFiles:[{source:"/robots.txt",destination:"/api/robots"},{source:"/sitemap",destination:"/api/sitemap"}],fallback:[]},"/404":["static/chunks/pages/404-e8c8e4f1b8cb945c.js"],"/_error":["static/chunks/pages/_error-ae8f024eb23d9a5d.js"],"/checkout/[...idInvoice]":[c,s,e,a,n,t,o,i,"static/chunks/pages/checkout/[...idInvoice]-86e37179c4ce7d1c.js"],"/contact-form":[c,s,e,a,n,t,"static/chunks/644-e19b240598ae46f9.js","static/chunks/693-0c2a7d539143ac5b.js","static/css/30fd6dae99bf48e4.css","static/chunks/764-5e80628c50f4e26d.js",i,"static/chunks/674-87d21fc98e9feabc.js","static/chunks/pages/contact-form-61c10473ef262e94.js"],"/error/404":[c,s,e,a,n,t,i,"static/chunks/pages/error/404-c8a936ce0b1364a8.js"],"/error/500":[c,s,e,a,n,t,i,"static/chunks/pages/error/500-82d2f1b42b67b6d9.js"],"/invoice/print/[idInvoice]":[c,s,e,a,n,t,i,"static/chunks/pages/invoice/print/[idInvoice]-b28f8e5af54a68e1.js"],"/invoice/[idInvoice]":[c,s,e,a,n,t,o,i,"static/chunks/pages/invoice/[idInvoice]-c173cbf80437039f.js"],"/[[...slug]]":[c,s,e,a,t,i,"static/chunks/pages/[[...slug]]-ef8894637742d2e1.js"],sortedPages:["/404","/_app","/_error","/checkout/[...idInvoice]","/contact-form","/error/404","/error/500","/invoice/print/[idInvoice]","/invoice/[idInvoice]","/[[...slug]]"]}}("static/chunks/c9184924-375a28b79120852d.js","static/chunks/228771e0-4f25607fabbf3101.js","static/chunks/65291039-c6f0e50e59aa756d.js","static/chunks/1b8dab7b-99ffffda4fe4c03e.js","static/chunks/561-9ce6a7286ef4ef3b.js","static/chunks/692-3b301e42e6fa4eeb.js","static/chunks/664-ac374a67af56732d.js","static/chunks/675-77390ea4e32933b0.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); -------------------------------------------------------------------------------- /assets/js/258.6a62fc44de0ceda9.js: -------------------------------------------------------------------------------- 1 | "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[258],{40944:function(l,t,e){var n=e(6453),i=e(85893),o=e(83282);t.Z=function(l){var t=(0,n.Z)({},o)[l.icon];return t?(0,i.jsx)(t,{className:l.className,onClick:l.onClick,"aria-hidden":"true"}):"<>"}},10258:function(l,t,e){e.r(t),e.d(t,{default:function(){return m}});var n=e(14251),i=e(85893),o=e(31996),r=e(67294),s=e(33752),a=e.n(s),u=e(40944),d=e(29260),c=e.n(d);function m(l){var t,e,s,d,m,v,x,f,h,g,y,j,p=l.website,b=l.block;Array.isArray(b.items)||(b.items=[{content:b.content,by:b.by}]);var N=(0,r.useState)(null),w=N[0],A=N[1],k=(0,r.useState)(null),C=k[0],K=k[1],S=(0,r.useState)("#111827"),Z=S[0],B=S[1];return(0,r.useEffect)((function(){b&&(A(b.align),K(b.background))}),[b]),(0,r.useEffect)((function(){C&&B((0,o.$O)(C))}),[C]),(0,i.jsx)("section",{className:"flex-shrink-0",style:{backgroundColor:C},children:(0,i.jsx)("div",{className:(0,o.AK)("container mx-auto pt-12 lg:pt-14 xl:pt-20 testimonials-carousel",(null===b||void 0===b||null===(t=b.items)||void 0===t||t.length,"pb-12 lg:pb-14 xl:pb-20")),children:(null===b||void 0===b||null===(e=b.items)||void 0===e?void 0:e.length)>1?(0,i.jsx)(a(),{cellAlign:"center",slidesToShow:1,autoplay:!0,pauseOnHover:!0,wrapAround:!0,transitionMode:"scroll",defaultControlsConfig:{nextButtonStyle:{background:"transparent"},nextButtonText:(0,i.jsx)(u.Z,{icon:"ChevronRightIcon",className:(0,o.AK)("w-6 lg:w-12 h-6 lg:h-12 -mr-4 md:mr-0","#111827"===Z?"text-gray-900":"text-white")}),prevButtonStyle:{background:"transparent"},prevButtonText:(0,i.jsx)(u.Z,{icon:"ChevronLeftIcon",className:(0,o.AK)("w-6 lg:w-12 h-6 lg:h-12 -ml-4 md:ml-0","#111827"===Z?"text-gray-900":"text-white")})},renderBottomCenterControls:function(l){var t;return(0,i.jsx)("ul",{className:(0,o.AK)("flex gap-4 lg:gap-5 w-full","right"===w?"justify-end":"left"===w?"justify-start":"justify-center"),children:null===b||void 0===b||null===(t=b.items)||void 0===t?void 0:t.map((function(t,e){return(0,i.jsx)("li",{children:(0,i.jsx)("button",{className:(0,o.AK)("w-2.5 h-2.5 rounded-full transition-all",l.currentSlide===e?"bg-gray-900 ring-4 ring-gray-200":"",l.currentSlide>e?"bg-gray-900":"",l.currentSlide0;t&&o&&t(o)}))}),e);return t={id:o,observer:a,elements:r},f.push(o),l.set(o,t),t}(o),r=n.id,a=n.observer,u=n.elements;return u.set(e,t),a.observe(e),function(){if(u.delete(e),a.unobserve(e),0===u.size){a.disconnect(),l.delete(r);var t=f.findIndex((function(e){return e.root===r.root&&e.margin===r.margin}));t>-1&&f.splice(t,1)}}}(v,(function(e){return e&&d(e)}),{root:null==t?void 0:t.current,rootMargin:o});return e}}else if(!s){var n=a.requestIdleCallback((function(){return d(!0)}));return function(){return a.cancelIdleCallback(n)}}}),[v,c,o,t,s]);var b=r.useCallback((function(){d(!1)}),[]);return[y,s,b]};var r=o(67294),a=o(9311),u="function"===typeof IntersectionObserver,l=new Map,f=[];("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},21018:function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TemplateContext=t.GlobalLayoutRouterContext=t.LayoutRouterContext=t.AppRouterContext=void 0;var n=(0,o(12845).Z)(o(67294)),r=n.default.createContext(null);t.AppRouterContext=r;var a=n.default.createContext(null);t.LayoutRouterContext=a;var u=n.default.createContext(null);t.GlobalLayoutRouterContext=u;var l=n.default.createContext(null);t.TemplateContext=l},41664:function(e,t,o){e.exports=o(48418)}}]); -------------------------------------------------------------------------------- /assets/js/webpack-045645829a1f2c4d.js: -------------------------------------------------------------------------------- 1 | !function(){"use strict";var e={},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var c=t[r]={id:r,loaded:!1,exports:{}},i=!0;try{e[r].call(c.exports,c,c.exports,n),i=!1}finally{i&&delete t[r]}return c.loaded=!0,c.exports}n.m=e,n.amdO={},function(){var e=[];n.O=function(t,r,o,c){if(!r){var i=1/0;for(d=0;d=c)&&Object.keys(n.O).every((function(e){return n.O[e](r[a])}))?r.splice(a--,1):(u=!1,c0&&e[d-1][2]>c;d--)e[d]=e[d-1];e[d]=[r,o,c]}}(),n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},function(){var e,t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__};n.t=function(r,o){if(1&o&&(r=this(r)),8&o)return r;if("object"===typeof r&&r){if(4&o&&r.__esModule)return r;if(16&o&&"function"===typeof r.then)return r}var c=Object.create(null);n.r(c);var i={};e=e||[null,t({}),t([]),t(t)];for(var u=2&o&&r;"object"==typeof u&&!~e.indexOf(u);u=t(u))Object.getOwnPropertyNames(u).forEach((function(e){i[e]=function(){return r[e]}}));return i.default=function(){return r},n.d(c,i),c}}(),n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.f={},n.e=function(e){return Promise.all(Object.keys(n.f).reduce((function(t,r){return n.f[r](e,t),t}),[]))},n.u=function(e){return 664===e?"static/chunks/664-ac374a67af56732d.js":644===e?"static/chunks/644-e19b240598ae46f9.js":693===e?"static/chunks/693-0c2a7d539143ac5b.js":675===e?"static/chunks/675-77390ea4e32933b0.js":764===e?"static/chunks/764-5e80628c50f4e26d.js":674===e?"static/chunks/674-87d21fc98e9feabc.js":"static/chunks/"+e+"."+{33:"5d0d4a0439ef19d4",37:"82501af6e2a4bc68",77:"cc5dd5f9e26354e0",94:"8c0296ce50830005",164:"2a2b52136da2fb75",165:"46ec08849cec3a31",175:"bbb08e553997fc39",177:"2ba13f129d8d2406",202:"2a55a23a535b3ee9",216:"6f7ee4830e62f9d4",258:"6a62fc44de0ceda9",348:"648c2b60ae893cf9",383:"83c2a70770721d30",529:"65da511422659038",617:"de4abca06741ee2b",625:"55a33d1d3fc959b2",626:"db7dfeacbb15fd0c",686:"a66b192137396ec3",866:"38fcde51103b2bb5",925:"f034d6247fe83383",975:"3b1f3019bf4880a9"}[e]+".js"},n.miniCssF=function(e){return"static/css/"+{764:"30fd6dae99bf48e4",888:"eb086a24ee4016dd"}[e]+".css"},n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={},t="_N_E:";n.l=function(r,o,c,i){if(e[r])e[r].push(o);else{var u,a;if(void 0!==c)for(var f=document.getElementsByTagName("script"),d=0;d"}},16494:function(e,s,a){a.d(s,{Z:function(){return r}});var n=a(85893),l=a(31996);function r(e){var s=e.text,a=e.className;switch(e.variant){case"form":return(0,n.jsx)("div",{className:"w-full max-w-screen-sm my-8",children:(0,n.jsxs)("div",{className:"animate-pulse flex space-y-8 flex-col",children:[(0,n.jsxs)("div",{className:"space-y-3",children:[(0,n.jsx)("div",{className:"h-4 bg-gray-100 rounded w-1/2"}),(0,n.jsx)("div",{className:"h-9 bg-gray-100 rounded"}),(0,n.jsx)("div",{className:"h-2 bg-gray-100 rounded w-5/6"})]}),(0,n.jsx)("hr",{}),(0,n.jsxs)("div",{className:"space-y-3",children:[(0,n.jsx)("div",{className:"h-4 bg-gray-100 rounded w-1/4"}),(0,n.jsx)("div",{className:"h-9 bg-gray-100 rounded"}),(0,n.jsx)("div",{className:"h-2 bg-gray-100 rounded w-1/2"})]}),(0,n.jsx)("hr",{}),(0,n.jsxs)("div",{className:"space-y-3",children:[(0,n.jsx)("div",{className:"h-4 bg-gray-100 rounded w-1/4"}),(0,n.jsx)("div",{className:"h-9 bg-gray-100 rounded"}),(0,n.jsx)("div",{className:"h-2 bg-gray-100 rounded w-1/2"})]}),(0,n.jsx)("hr",{}),(0,n.jsxs)("div",{className:"space-y-3",children:[(0,n.jsx)("div",{className:"h-4 bg-gray-100 rounded w-1/6"}),(0,n.jsx)("div",{className:"h-9 bg-gray-100 rounded"}),(0,n.jsx)("div",{className:"h-2 bg-gray-100 rounded w-3/4"})]}),(0,n.jsx)("div",{className:"h-10 bg-gray-200 rounded w-1/4 ml-auto mt-4"})]})});case"table":return(0,n.jsx)("div",{className:"w-full my-8",children:(0,n.jsxs)("div",{className:"animate-pulse flex space-y-2 flex-col",children:[(0,n.jsxs)("div",{className:"space-x-2 flex",children:[(0,n.jsx)("div",{className:"h-9 bg-gray-200 rounded w-full"}),(0,n.jsx)("div",{className:"h-9 bg-gray-200 rounded w-full"}),(0,n.jsx)("div",{className:"h-9 bg-gray-200 rounded w-full"}),(0,n.jsx)("div",{className:"h-9 bg-gray-200 rounded w-full"}),(0,n.jsx)("div",{className:"h-9 bg-gray-200 rounded w-full"}),(0,n.jsx)("div",{className:"h-9 bg-gray-200 rounded w-full"})]}),[1,2,3,4,5,6].map((function(e){return(0,n.jsxs)("div",{className:"space-x-2 flex",children:[(0,n.jsx)("div",{className:"h-9 bg-gray-100 rounded w-full"}),(0,n.jsx)("div",{className:"h-9 bg-gray-100 rounded w-full"}),(0,n.jsx)("div",{className:"h-9 bg-gray-100 rounded w-full"}),(0,n.jsx)("div",{className:"h-9 bg-gray-100 rounded w-full"}),(0,n.jsx)("div",{className:"h-9 bg-gray-100 rounded w-full"}),(0,n.jsx)("div",{className:"h-9 bg-gray-100 rounded w-full"})]},e)}))]})});default:return(0,n.jsxs)("div",{className:(0,l.AK)("inline-flex items-center",a),children:[(0,n.jsxs)("svg",{className:(0,l.AK)("animate-spin ml-1 mr-3 h-4 w-4",a&&"text-indigo-600"),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[(0,n.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,n.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),s||""===s?s:"Loading..."]})}}},80360:function(e,s,a){a.d(s,{Z:function(){return u}});var n=a(85893),l=a(67294),r=a(64285),t=a(44080),i=a(31996),c=a(16494),o=a(64220),d=a(10124);function u(e){var s=e.className,a=e.btnClassName,u=e.label,m=e.placeholder,x=e.disabled,h=e.inline,g=e.autocomplete,v=e.hasFilter,f=e.error,N=e.value,p=e.values,y=e.style,j=e.iconStyle,b=e.onChange,w=e.filterFunction,C=(0,l.useState)(""),k=C[0],A=C[1],K=""===k?p:null===p||void 0===p?void 0:p.filter((function(e){return e.name.toLowerCase().replace(/\s+/g,"").includes(k.toLowerCase().replace(/\s+/g,""))}));return(0,l.useEffect)((function(){"function"===typeof w&&w(k)}),[k]),(0,n.jsx)("div",{className:s,children:(0,n.jsxs)(r.h,{value:N,onChange:b,children:[u&&(0,n.jsx)(r.h.Label,{className:"block text-label font-normal text-gray-700 mb-1",children:u}),(0,n.jsxs)("div",{className:"relative",children:[g&&(0,n.jsxs)("div",{className:"relative",children:[(0,n.jsx)(r.h.Input,{className:(0,i.AK)(a,"!pr-8",f&&"!border-red-300",x?"pointer-events-none bg-gray-50":"bg-white"),placeholder:m,onChange:function(e){return A(e.target.value)},displayValue:function(e){return null===e||void 0===e?void 0:e.name},style:y}),(0,n.jsx)(r.h.Button,{className:(0,i.AK)("absolute inset-y-0 right-0 flex items-center pr-2",x&&"pointer-events-none"),children:(0,n.jsx)(o.Z,{className:"h-5 w-5 text-gray-400",style:j})})]}),!g&&(0,n.jsxs)(r.h.Button,{style:y,className:(0,i.AK)(a,"relative w-full border rounded-md shadow-sm pl-3 pr-9 py-2.5 text-left cursor-pointer focus:outline-none focus:ring-1 focus:ring-indigo-500 focus:border-indigo-500",f?"border-red-300":"border-gray-300",x?"bg-gray-50":"bg-white"),children:[(0,n.jsx)("span",{className:"block truncate",children:(null===N||void 0===N?void 0:N.name)||m}),(0,n.jsx)("span",{className:"absolute inset-y-0 right-0 flex items-center pr-2 pointer-events-none",children:(0,n.jsx)(o.Z,{className:"h-5 w-5 text-gray-400",style:j})})]}),(0,n.jsx)(t.u,{as:l.Fragment,leave:"transition ease-in duration-100",leaveFrom:"opacity-100",leaveTo:"opacity-0",afterLeave:function(){return A("")},children:(0,n.jsxs)(r.h.Options,{className:(0,i.AK)(h?"static":"absolute","z-60 mt-1 w-full bg-white shadow-lg max-h-80 rounded-md py-1 text-label ring-1 ring-black ring-opacity-5 focus:outline-none"),children:[!g&&v&&(0,n.jsx)("div",{className:"px-2 pt-1 pb-2",children:(0,n.jsx)(r.h.Input,{className:"input !p-2 !text-label md:!text-body",placeholder:"Search",onChange:function(e){return A(e.target.value)},displayValue:function(e){return null===e||void 0===e?void 0:e.name}})}),!K&&(0,n.jsx)("div",{className:"p-2",children:(0,n.jsx)(c.Z,{})}),0===(null===K||void 0===K?void 0:K.length)&&""!==k&&(0,n.jsx)("div",{className:"relative cursor-default select-none py-2 px-4 text-gray-700",children:"Nothing found"}),(0,n.jsx)("div",{className:"w-full max-h-60 overflow-auto",children:null===K||void 0===K?void 0:K.map((function(e){return(0,n.jsx)(r.h.Option,{className:function(e){var s=e.active;return(0,i.AK)(s?"text-white bg-indigo-600":"text-gray-900","cursor-pointer select-none relative py-2.5 pl-3 pr-9")},value:e,children:function(s){var a=s.selected,l=s.active;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{className:(0,i.AK)(a?"font-semibold":"font-normal","block truncate"),children:e.name}),a&&(0,n.jsx)("span",{className:(0,i.AK)(l?"text-white":"text-indigo-600","absolute inset-y-0 right-0 flex items-center pr-4"),children:(0,n.jsx)(d.Z,{className:"h-5 w-5"})})]})}},e.id)}))})]})})]}),f&&(0,n.jsx)("p",{className:"mt-2 mb-3 text-sm text-red-600",children:f})]})})}},33253:function(e,s,a){var n=a(69779),l=a(85893),r=a(67294),t=a(31996);s.Z=function(e){var s=e.rating,a=e.setRating,i=e.readOnly,c=e.containerClassName,o=e.className,d=e.size,u=e.showNumber,m=(0,r.useState)(s),x=m[0],h=m[1];return(0,r.useEffect)((function(){h(s)}),[s]),(0,l.jsxs)("div",{className:(0,t.AK)("text-h3 text-gray-600",c),children:[u&&x,(0,l.jsx)("div",{className:(0,t.AK)("star-rating",o),children:(0,n.Z)(Array(5)).map((function(e,n){return n+=1,(0,l.jsx)("button",{type:"button",className:n<=(x||s)?"text-yellow-400":"text-gray-200",onClick:function(){return a(n)},onMouseEnter:function(){return h(n)},onMouseLeave:function(){return h(s)},disabled:i,children:(0,l.jsx)("span",{className:(0,t.AK)("block text-".concat(d||"body"," mx-0.5")),children:"\u2605"})},n)}))})]})}}}]); -------------------------------------------------------------------------------- /assets/js/675-77390ea4e32933b0.js: -------------------------------------------------------------------------------- 1 | (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[675],{28045:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(43766).Z,o=i(39274).Z,a=i(97734).Z;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.src,i=e.sizes,l=e.unoptimized,c=void 0!==l&&l,h=e.priority,p=void 0!==h&&h,w=e.loading,k=e.lazyRoot,E=void 0===k?null:k,I=e.lazyBoundary,R=e.className,_=e.quality,L=e.width,q=e.height,C=e.style,O=e.objectFit,N=e.objectPosition,P=e.onLoadingComplete,W=e.placeholder,B=void 0===W?"empty":W,M=e.blurDataURL,Z=s(e,["src","sizes","unoptimized","priority","loading","lazyRoot","lazyBoundary","className","quality","width","height","style","objectFit","objectPosition","onLoadingComplete","placeholder","blurDataURL"]),D=d.useContext(m.ImageConfigContext),U=d.useMemo((function(){var e=y||D||f.imageConfigDefault,t=a(e.deviceSizes).concat(a(e.imageSizes)).sort((function(e,t){return e-t})),i=e.deviceSizes.sort((function(e,t){return e-t}));return r({},e,{allSizes:t,deviceSizes:i})}),[D]),V=Z,F=i?"responsive":"intrinsic";"layout"in V&&(V.layout&&(F=V.layout),delete V.layout);var H=x;if("loader"in V){if(V.loader){var G=V.loader;H=function(e){e.config;var t=s(e,["config"]);return G(t)}}delete V.loader}var T="";if(function(e){return"object"===typeof e&&(z(e)||function(e){return void 0!==e.src}(e))}(t)){var J=z(t)?t.default:t;if(!J.src)throw new Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ".concat(JSON.stringify(J)));if(M=M||J.blurDataURL,T=J.src,(!F||"fill"!==F)&&(q=q||J.height,L=L||J.width,!J.height||!J.width))throw new Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ".concat(JSON.stringify(J)))}var Q=!p&&("lazy"===w||"undefined"===typeof w);((t="string"===typeof t?t:T).startsWith("data:")||t.startsWith("blob:"))&&(c=!0,Q=!1);b.has(t)&&(Q=!1);U.unoptimized&&(c=!0);var K,X=o(d.useState(!1),2),Y=X[0],$=X[1],ee=o(g.useIntersection({rootRef:E,rootMargin:I||"200px",disabled:!Q}),3),te=ee[0],ie=ee[1],ne=ee[2],oe=!Q||ie,ae={boxSizing:"border-box",display:"block",overflow:"hidden",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},re={boxSizing:"border-box",display:"block",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},le=!1,ce={position:"absolute",top:0,left:0,bottom:0,right:0,boxSizing:"border-box",padding:0,border:"none",margin:"auto",display:"block",width:0,height:0,minWidth:"100%",maxWidth:"100%",minHeight:"100%",maxHeight:"100%",objectFit:O,objectPosition:N},se=A(L),de=A(q),ue=A(_);0;var fe=Object.assign({},C,ce),ge="blur"!==B||Y?{}:{backgroundSize:O||"cover",backgroundPosition:N||"0% 0%",filter:"blur(20px)",backgroundImage:'url("'.concat(M,'")')};if("fill"===F)ae.display="block",ae.position="absolute",ae.top=0,ae.left=0,ae.bottom=0,ae.right=0;else if("undefined"!==typeof se&&"undefined"!==typeof de){var me=de/se,he=isNaN(me)?"100%":"".concat(100*me,"%");"responsive"===F?(ae.display="block",ae.position="relative",le=!0,re.paddingTop=he):"intrinsic"===F?(ae.display="inline-block",ae.position="relative",ae.maxWidth="100%",le=!0,re.maxWidth="100%",K="data:image/svg+xml,%3csvg%20xmlns=%27http://www.w3.org/2000/svg%27%20version=%271.1%27%20width=%27".concat(se,"%27%20height=%27").concat(de,"%27/%3e")):"fixed"===F&&(ae.display="inline-block",ae.position="relative",ae.width=se,ae.height=de)}else 0;var pe={src:v,srcSet:void 0,sizes:void 0};oe&&(pe=S({config:U,src:t,unoptimized:c,layout:F,width:se,quality:ue,sizes:i,loader:H}));var ye=t;0;var be;0;var ve=(n(be={},"imagesrcset",pe.srcSet),n(be,"imagesizes",pe.sizes),n(be,"crossOrigin",V.crossOrigin),be),we=d.default.useLayoutEffect,ze=d.useRef(P),Se=d.useRef(t);d.useEffect((function(){ze.current=P}),[P]),we((function(){Se.current!==t&&(ne(),Se.current=t)}),[ne,t]);var Ae=r({isLazy:Q,imgAttributes:pe,heightInt:de,widthInt:se,qualityInt:ue,layout:F,className:R,imgStyle:fe,blurStyle:ge,loading:w,config:U,unoptimized:c,placeholder:B,loader:H,srcString:ye,onLoadingCompleteRef:ze,setBlurComplete:$,setIntersection:te,isVisible:oe,noscriptSizes:i},V);return d.default.createElement(d.default.Fragment,null,d.default.createElement("span",{style:ae},le?d.default.createElement("span",{style:re},K?d.default.createElement("img",{style:{display:"block",maxWidth:"100%",width:"initial",height:"initial",background:"none",opacity:1,border:0,margin:0,padding:0},alt:"","aria-hidden":!0,src:K}):null):null,d.default.createElement(j,Object.assign({},Ae))),p?d.default.createElement(u.default,null,d.default.createElement("link",Object.assign({key:"__nimg-"+pe.src+pe.srcSet+pe.sizes,rel:"preload",as:"image",href:pe.srcSet?void 0:pe.src},ve))):null)};var r=i(31032).Z,l=i(12845).Z,c=i(99402).Z,s=i(38774).Z,d=c(i(67294)),u=l(i(5443)),f=i(99309),g=i(57190),m=i(59977),h=(i(63794),i(82392));function p(e){return"/"===e[0]?e.slice(1):e}var y={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1},b=new Set,v=(new Map,"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");var w=new Map([["default",function(e){var t=e.config,i=e.src,n=e.width,o=e.quality;return i.endsWith(".svg")&&!t.dangerouslyAllowSVG?i:"".concat(h.normalizePathTrailingSlash(t.path),"?url=").concat(encodeURIComponent(i),"&w=").concat(n,"&q=").concat(o||75)}],["imgix",function(e){var t=e.config,i=e.src,n=e.width,o=e.quality,a=new URL("".concat(t.path).concat(p(i))),r=a.searchParams;return r.set("auto",r.getAll("auto").join(",")||"format"),r.set("fit",r.get("fit")||"max"),r.set("w",r.get("w")||n.toString()),o&&r.set("q",o.toString()),a.href}],["cloudinary",function(e){var t=e.config,i=e.src,n=["f_auto","c_limit","w_"+e.width,"q_"+(e.quality||"auto")].join(",")+"/";return"".concat(t.path).concat(n).concat(p(i))}],["akamai",function(e){var t=e.config,i=e.src,n=e.width;return"".concat(t.path).concat(p(i),"?imwidth=").concat(n)}],["custom",function(e){var t=e.src;throw new Error('Image with src "'.concat(t,'" is missing "loader" prop.')+"\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader")}]]);function z(e){return void 0!==e.default}function S(e){var t=e.config,i=e.src,n=e.unoptimized,o=e.layout,r=e.width,l=e.quality,c=e.sizes,s=e.loader;if(n)return{src:i,srcSet:void 0,sizes:void 0};var d=function(e,t,i,n){var o=e.deviceSizes,r=e.allSizes;if(n&&("fill"===i||"responsive"===i)){for(var l,c=/(^|\s)(1?\d?\d)vw/g,s=[];l=c.exec(n);l)s.push(parseInt(l[2]));if(s.length){var d,u=.01*(d=Math).min.apply(d,a(s));return{widths:r.filter((function(e){return e>=o[0]*u})),kind:"w"}}return{widths:r,kind:"w"}}return"number"!==typeof t||"fill"===i||"responsive"===i?{widths:o,kind:"w"}:{widths:a(new Set([t,2*t].map((function(e){return r.find((function(t){return t>=e}))||r[r.length-1]})))),kind:"x"}}(t,r,o,c),u=d.widths,f=d.kind,g=u.length-1;return{sizes:c||"w"!==f?c:"100vw",srcSet:u.map((function(e,n){return"".concat(s({config:t,src:i,quality:l,width:e})," ").concat("w"===f?e:n+1).concat(f)})).join(", "),src:s({config:t,src:i,quality:l,width:u[g]})}}function A(e){return"number"===typeof e?e:"string"===typeof e?parseInt(e,10):void 0}function x(e){var t,i=(null==(t=e.config)?void 0:t.loader)||"default",n=w.get(i);if(n)return n(e);throw new Error('Unknown "loader" found in "next.config.js". Expected: '.concat(f.VALID_LOADERS.join(", "),". Received: ").concat(i))}function k(e,t,i,n,o,a){e&&e.src!==v&&e["data-loaded-src"]!==t&&(e["data-loaded-src"]=t,("decode"in e?e.decode():Promise.resolve()).catch((function(){})).then((function(){if(e.parentNode&&(b.add(t),"blur"===n&&a(!0),null==o?void 0:o.current)){var i=e.naturalWidth,r=e.naturalHeight;o.current({naturalWidth:i,naturalHeight:r})}})))}var j=function(e){var t=e.imgAttributes,i=(e.heightInt,e.widthInt),n=e.qualityInt,o=e.layout,a=e.className,l=e.imgStyle,c=e.blurStyle,u=e.isLazy,f=e.placeholder,g=e.loading,m=e.srcString,h=e.config,p=e.unoptimized,y=e.loader,b=e.onLoadingCompleteRef,v=e.setBlurComplete,w=e.setIntersection,z=e.onLoad,A=e.onError,x=(e.isVisible,e.noscriptSizes),j=s(e,["imgAttributes","heightInt","widthInt","qualityInt","layout","className","imgStyle","blurStyle","isLazy","placeholder","loading","srcString","config","unoptimized","loader","onLoadingCompleteRef","setBlurComplete","setIntersection","onLoad","onError","isVisible","noscriptSizes"]);return g=u?"lazy":g,d.default.createElement(d.default.Fragment,null,d.default.createElement("img",Object.assign({},j,t,{decoding:"async","data-nimg":o,className:a,style:r({},l,c),ref:d.useCallback((function(e){w(e),(null==e?void 0:e.complete)&&k(e,m,0,f,b,v)}),[w,m,o,f,b,v]),onLoad:function(e){k(e.currentTarget,m,0,f,b,v),z&&z(e)},onError:function(e){"blur"===f&&v(!0),A&&A(e)}})),(u||"blur"===f)&&d.default.createElement("noscript",null,d.default.createElement("img",Object.assign({},j,S({config:h,src:m,unoptimized:p,layout:o,width:i,quality:n,sizes:x,loader:y}),{decoding:"async","data-nimg":o,style:l,className:a,loading:g}))))};("function"===typeof t.default||"object"===typeof t.default&&null!==t.default)&&"undefined"===typeof t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},29260:function(e,t,i){e.exports=i(28045)},43766:function(e,t){"use strict";t.Z=function(e,t,i){t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i;return e}}}]); -------------------------------------------------------------------------------- /assets/js/%5B%5B...slug%5D%5D-ef8894637742d2e1.js: -------------------------------------------------------------------------------- 1 | (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[120],{76489:function(e,t){"use strict";t.parse=function(e,t){if("string"!==typeof e)throw new TypeError("argument str must be a string");for(var o={},r=t||{},a=e.split(";"),c=r.decode||n,u=0;ue.length)&&(t=e.length);for(var n=0,o=new Array(t);n24)&&a.hash?[3,4]:(d=Y||"0.0.0.0",window.unsupportedBrowser||Y?[3,3]:[4,t.e(216).then(t.bind(t,76216))]);case 1:return[4,s.sent().publicIpv4()];case 2:d=s.sent(),s.label=3;case 3:c=p.ou.now().toMillis(),localStorage.setItem("user",JSON.stringify({ip:d,date:p.ou.now().startOf("day").toISO(),hash:c})),a.ip=d,a.hash=c,s.label=4;case 4:v={idWebsite:W._id,url:document.location.pathname,event:n,platform:(null===window||void 0===window||null===(e=window.navigator)||void 0===e?void 0:e.platform)?null===window||void 0===window||null===(o=window.navigator)||void 0===o||null===(i=o.platform)||void 0===i?void 0:i.toString():(null===window||void 0===window||null===(r=window.navigator)||void 0===r?void 0:r.oscpu)?null===window||void 0===window||null===(l=window.navigator)||void 0===l?void 0:l.oscpu:"bot",title:document.title.split(" - ")[0]||"Home",device:/bot|googlebot|crawler|spider|robot|crawling/i.test(null===window||void 0===window||null===(u=window.navigator)||void 0===u?void 0:u.userAgent)?"bot":g.tq?"mobile":"desktop",ip:a.ip,hash:a.hash},k.find((function(n){return n.event===v.event}))||k.push(v),s.label=5;case 5:return[2]}}))}));return function(e){return n.apply(this,arguments)}}();return(0,c.useEffect)((function(){return an<6&&(clearInterval(o),o=setInterval((0,i.Z)((function(){return(0,s.__generator)(this,(function(n){return bn("ping"),dn(an+1),[2]}))})),3e4)),ln!==D.asPath&&(bn("open"),sn(D.asPath),dn(0),on(!1)),function(){an>=6&&dn(0),clearInterval(o),on(!1)}}),[D,an]),(0,c.useEffect)((function(){var n,e=function(){var n=(0,i.Z)((function(){var n;return(0,s.__generator)(this,(function(e){switch(e.label){case 0:return(null===k||void 0===k?void 0:k.length)>0&&(n=k.shift())?[4,cn.post("/website/register-user-action",n)]:[3,2];case 1:e.sent(),e.label=2;case 2:return[2]}}))}));return function(){return n.apply(this,arguments)}}();return e(),n=setInterval((function(){e()}),500),document.querySelector("body").addEventListener("scroll",mn),window.addEventListener("scroll",mn),function(){clearInterval(n),document.querySelector("body").removeEventListener("scroll",mn),window.removeEventListener("scroll",mn)}}),[tn]),(0,u.jsxs)(u.Fragment,{children:[(0,u.jsxs)(d(),{children:[(0,u.jsx)("meta",{name:"theme-color",content:function(){var n;return(null===W||void 0===W||null===(n=W.header)||void 0===n?void 0:n.background)||(null===W||void 0===W?void 0:W.primaryColor)}()}),(0,u.jsx)("link",{rel:"icon",href:(null===(e=W.favicon)||void 0===e?void 0:e.url)||"/favicon.ico"}),(0,u.jsx)("title",{children:(null===gn||void 0===gn?void 0:gn.title)?gn.title:(null===(a=W.Business)||void 0===a?void 0:a.name)+" | "+(null===(m=W.Business)||void 0===m||null===(w=m.type)||void 0===w?void 0:w.name)}),(0,u.jsx)("meta",{name:"description",content:(null===gn||void 0===gn?void 0:gn.description)?gn.description:""}),(0,u.jsx)("meta",{name:"keywords",content:(null===gn||void 0===gn?void 0:gn.keywords)?gn.keywords:(null===W||void 0===W||null===(b=W.Business)||void 0===b||null===(y=b.name)||void 0===y?void 0:y.split(" ").join(","))+","+(null===W||void 0===W||null===(j=W.Business)||void 0===j||null===(x=j.type)||void 0===x||null===(C=x.name)||void 0===C?void 0:C.split(" ").join(","))}),(0,u.jsx)("meta",{property:"og:title",content:(null===gn||void 0===gn?void 0:gn.title)?gn.title:(null===(_=W.Business)||void 0===_?void 0:_.name)+" | "+(null===(I=W.Business)||void 0===I||null===(A=I.type)||void 0===A?void 0:A.name)}),(0,u.jsx)("meta",{property:"og:type",content:"website"}),(0,u.jsx)("meta",{property:"og:description",content:(null===gn||void 0===gn?void 0:gn.description)?gn.description:""}),(null===gn||void 0===gn||null===(F=gn.Image)||void 0===F?void 0:F.url)&&(0,u.jsx)("meta",{property:"og:image",content:gn.Image.url}),(null===gn||void 0===gn?void 0:gn.globalHeadCode)&&(0,f.ZP)(gn.globalHeadCode),(null===gn||void 0===gn?void 0:gn.headCode)&&(0,f.ZP)(gn.headCode),(null===W||void 0===W||null===(E=W.fonts)||void 0===E||null===(L=E.head)||void 0===L?void 0:L.name)&&(null===W||void 0===W||null===(P=W.fonts)||void 0===P||null===(B=P.body)||void 0===B?void 0:B.name)&&(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("link",{rel:"preconnect",href:"https://fonts.googleapis.com"}),(0,u.jsx)("link",{rel:"preconnect",href:"https://fonts.gstatic.com",crossOrigin:!0}),(0,u.jsx)("link",{href:"https://fonts.googleapis.com/css2?family=".concat(null===W||void 0===W||null===(O=W.fonts)||void 0===O||null===(U=O.head)||void 0===U||null===(q=U.name)||void 0===q?void 0:q.replace(/ /gi,"+"),":wght@").concat(null===W||void 0===W||null===(N=W.fonts)||void 0===N||null===(R=N.head)||void 0===R?void 0:R.weight,"&family=").concat(null===W||void 0===W||null===($=W.fonts)||void 0===$||null===(G=$.body)||void 0===G||null===(H=G.name)||void 0===H?void 0:H.replace(/ /gi,"+"),":wght@").concat(null===W||void 0===W||null===(T=W.fonts)||void 0===T||null===(J=T.body)||void 0===J?void 0:J.weight,"&display=swap"),rel:"stylesheet"})]}),(null===W||void 0===W?void 0:W.searchIndexing)?(0,u.jsx)("meta",{name:"robots",content:"all"}):(0,u.jsx)("meta",{name:"robots",content:"noindex,nofollow"})]}),(0,u.jsxs)("div",{onScroll:function(n){return mn(n)},className:"min-h-full w-full flex flex-col smooth-scroll break-word",style:(0,h.SV)(W),children:[(0,u.jsx)(S,{scrollY:X,website:W}),wn,(0,u.jsx)(Z,{website:W})]}),(null===gn||void 0===gn?void 0:gn.globalFooterCode)&&(0,f.ZP)(gn.globalFooterCode),(null===gn||void 0===gn?void 0:gn.footerCode)&&(0,f.ZP)(gn.footerCode)]})}},31996:function(n,e,t){"use strict";t.d(e,{bl:function(){return v},$O:function(){return y},h:function(){return I},Z9:function(){return h},SV:function(){return Z},AK:function(){return w},p$:function(){return C},G0:function(){return k},j2:function(){return S},mR:function(){return j},jn:function(){return _},ac:function(){return x},oH:function(){return b}});var o=t(85893),i=t(34727),r=t(75815),l=t(67573),s=t(70655),u=t(9669),a=t.n(u),d=t(40782),c=t(83454),v=function n(e,t){(0,r.Z)(this,n);var o=this;(0,l.Z)(this,"get",function(){var n=(0,i.Z)((function(n,e){return(0,s.__generator)(this,(function(t){return[2,new Promise((function(t,r){a().get(n,{baseURL:o.baseURL,params:e||{},headers:{"Content-Type":"application/json",Accept:"*/*"}}).then(function(){var n=(0,i.Z)((function(n){return(0,s.__generator)(this,(function(e){return t(n.data),[2]}))}));return function(e){return n.apply(this,arguments)}}()).catch((function(n){n.response?t({status:!1,message:n.response.data.message}):n.request?t({status:!1,message:n.request.message}):t({status:!1,message:n.message}),t({status:!1,message:n.config})}))}))]}))}));return function(e,t){return n.apply(this,arguments)}}());var u=this;(0,l.Z)(this,"post",function(){var n=(0,i.Z)((function(n,e,t){return(0,s.__generator)(this,(function(o){return[2,new Promise((function(o,i){a().post(n,e||{},{baseURL:u.baseURL,headers:{"Content-Type":t?"multipart/form-data":"application/json",Accept:"*/*"}}).then((function(n){o(n.data)})).catch((function(n){n.response?o(n.response.data):n.request?o({status:!1,message:n.request}):o({status:!1,message:n.message}),o({status:!1,message:n.config})}))}))]}))}));return function(e,t,o){return n.apply(this,arguments)}}()),a().defaults.withCredentials=null===t||void 0===t||t,this.baseURL=e||c.env.API_URL||"https://api.durable.co"},f=t(5506),p=function(n){var e=n.closeToast;return(0,o.jsx)(f.Z,{className:"h-5 w-5 text-gray-600",onClick:e})},h={default:function(n){(0,d.Am)(n)},info:function(n){d.Am.info(n)},success:function(n){d.Am.success(n)},warn:function(n){d.Am.warn(n)},error:function(n){d.Am.error(n,{autoClose:!1,closeButton:(0,o.jsx)(p,{})})}},g=t(85789),m=t(67294);t(24266),t(79981);function w(){for(var n=arguments.length,e=new Array(n),t=0;t()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(n)}function y(n){var e=!1;if(!n||!n[0])return n;"#"===n[0]&&(n=n.slice(1),e=!0);var t=parseInt(6===(null===n||void 0===n?void 0:n.length)?n:"".concat(n[0]).concat(n[0]).concat(n[1]).concat(n[1]).concat(n[2]).concat(n[2]),16),o=((t>>16)+(255&t)+(t>>8&255))/3;return(e?"#":"")+(o=o>128?"111827":"FFFFFF")}var j=function(n,e){var t;return e/=100,/^#([A-Fa-f0-9]{3}){1,2}$/.test(n)?(3===(null===(t=n.substring(1).split(""))||void 0===t?void 0:t.length)&&(t=[t[0],t[0],t[1],t[1],t[2],t[2]]),"rgba("+[(t="0x"+t.join(""))>>16&255,t>>8&255,255&t].join(",")+","+e+")"):n};function x(n){var e=(0,m.useState)(!0),t=e[0],o=e[1];return(0,m.useEffect)((function(){var e=window.matchMedia(n);e.matches!==t&&o(e.matches);var i=function(){o(e.matches)};return e.addListener(i),function(){return e.removeListener(i)}}),[t,n]),t}function C(n){return JSON.parse(JSON.stringify(n))}var S=function(n){var e,t,o,i;return{fontFamily:(null===n||void 0===n||null===(e=n.fonts)||void 0===e||null===(t=e.head)||void 0===t?void 0:t.family)||'"Space Grotesk", sans-serif',fontWeight:(null===n||void 0===n||null===(o=n.fonts)||void 0===o||null===(i=o.head)||void 0===i?void 0:i.weight)||500}},Z=function(n){var e,t,o,i;return{fontFamily:(null===n||void 0===n||null===(e=n.fonts)||void 0===e||null===(t=e.body)||void 0===t?void 0:t.family)||'"Space Grotesk", sans-serif',fontWeight:(null===n||void 0===n||null===(o=n.fonts)||void 0===o||null===(i=o.body)||void 0===i?void 0:i.weight)||500}};function k(n){var e=n.props.children[0].props.website,t=n.props.children[0].props.page,i=n.props.children[0].props.apiUrl;return(0,o.jsx)(g.Z,{page:t,website:e,apiUrl:i,children:n})}function _(n){var e,t,o;return n.match(/^rgb/)?(e=(n=n.match(/^rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*(\d+(?:\.\d+)?))?\)$/))[1],t=n[2],o=n[3]):(e=(n=+("0x"+n.slice(1).replace(n.length<5&&/./g,"$&$&")))>>16,t=n>>8&255,o=255&n),Math.sqrt(e*e*.299+t*t*.587+o*o*.114)<=127.5}function I(n,e){var t=parseInt(n.replace("#",""),16),o=Math.round(2.55*e),i=(t>>16)+o,r=(t>>8&255)+o,l=(255&t)+o;return"#"+(16777216+65536*(i<255?i<1?0:i:255)+256*(r<255?r<1?0:r:255)+(l<255?l<1?0:l:255)).toString(16).slice(1)}},42480:function(){}}]); -------------------------------------------------------------------------------- /assets/js/77.cc5dd5f9e26354e0.js: -------------------------------------------------------------------------------- 1 | "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[77],{52077:function(e,l,n){n.d(l,{Z:function(){return r}});var a=n(85893),s=n(41664),t=n.n(s),i=n(16494),o=n(31996);function r(e){var l,n,s,r,d,c,u=e.button,m=e.type,v=e.website,x=e.action,f=e.loading,h=e.className,b=(null===v||void 0===v||null===(l=v.button)||void 0===l?void 0:l.background)||(null===v||void 0===v?void 0:v.secondaryColor),p={background:"outline"===(null===v||void 0===v||null===(n=v.button)||void 0===n?void 0:n.style)?"transparent":b,borderRadius:isNaN(null===v||void 0===v||null===(s=v.button)||void 0===s?void 0:s.cornerRadius)?8:v.button.cornerRadius,color:"outline"===(null===v||void 0===v||null===(r=v.button)||void 0===r?void 0:r.style)?b:(0,o.$O)(b),border:"2px solid ".concat(b)};return x&&"function"===typeof x||"submit"===m?(0,a.jsx)("button",{type:"submit"===m?"submit":"button",onClick:x,className:(0,o.AK)("button primary",h),style:p,disabled:f,children:f?(0,a.jsx)(i.Z,{}):u.label}):(0,a.jsx)(t(),{href:function(e){if(e){if("email"===e.type)return"mailto:"+e.link;if("phone"===e.type)return"tel:"+e.link;if("page"===e.type){var l,n=null===v||void 0===v||null===(l=v.pages)||void 0===l?void 0:l.find((function(l){return l._id===e.page}));return(null===n||void 0===n?void 0:n.slug)||"/"}var a,s=null===(a=e.link)||void 0===a?void 0:a.replace(/https?:\/\//gi,"");return s&&"#"!==s?"https://"+s:"#"}return"/"}(u),children:(0,a.jsx)("a",{className:(0,o.AK)("button primary whitespace-nowrap",h),target:!0===u.newPage?"_blank":(null===v||void 0===v||null===(d=v.button)||void 0===d?void 0:d.target)?null===v||void 0===v||null===(c=v.button)||void 0===c?void 0:c.target:"_self",style:p,children:u.label})})}},68077:function(e,l,n){n.r(l),n.d(l,{default:function(){return F}});var a=n(34727),s=n(14251),t=n(52875),i=n(69779),o=n(70655),r=n(85893),d=n(31996),c=n(67294),u=n(52077),m=n(34853);var v=c.forwardRef((function(e,l){return c.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",ref:l},e),c.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zM8.707 7.293a1 1 0 00-1.414 1.414L8.586 10l-1.293 1.293a1 1 0 101.414 1.414L10 11.414l1.293 1.293a1 1 0 001.414-1.414L11.414 10l1.293-1.293a1 1 0 00-1.414-1.414L10 8.586 8.707 7.293z",clipRule:"evenodd"}))})),x=n(41664),f=n.n(x),h=n(57333),b=n(14441),p=n(80360),g=n(33253),y=n(30120),N=n(9198),j=n.n(N),w=(n(18698),{name:"",email:"",message:"",idBusiness:null,valid:!0});function F(e){var l,n,x,N,F=e.block,Z=e.website,C=e.apiUrl,S=e.captchaKey,k=(0,c.useState)(!1),_=k[0],L=k[1],A=(0,c.useState)(null),E=A[0],K=A[1],R=(0,c.useState)(null),M=R[0],P=R[1],O=(0,c.useState)((0,t.Z)((0,s.Z)({},w),{customFields:F.customFields})),q=O[0],B=O[1],D=(0,c.useState)(null),$=D[0],T=D[1],z=(0,c.useState)("#FFFFFF"),H=z[0],I=z[1],G=(0,c.useState)("#111827"),J=G[0],U=G[1],V=(0,c.useState)(!1),W=V[0],Q=V[1],X=(0,c.useState)(null),Y=X[0],ee=X[1],le=(0,c.useState)("Name"),ne=le[0],ae=le[1],se=(0,c.useState)("E-mail"),te=se[0],ie=se[1],oe=(0,c.useState)("Message"),re=oe[0],de=oe[1],ce=(0,c.useState)("Send"),ue=ce[0],me=ce[1],ve=c.createRef(),xe=new d.bl(C),fe={borderRadius:isNaN(null===Z||void 0===Z||null===(l=Z.button)||void 0===l?void 0:l.cornerRadius)?8:Z.button.cornerRadius,backgroundColor:H&&(0,d.jn)(H)?"rgba(255,255,255,0.07)":"rgba(0,0,0,0.07)",color:J},he=function(){var e=(0,a.Z)((function(e){var l,n,a,i,r,c,u,m;return(0,o.__generator)(this,(function(o){switch(o.label){case 0:if(!e)return L(!1),[2];if(ve.current.reset(),!q.name||!q.email||!(0,d.oH)(q.email)||!q.message)return B((0,t.Z)((0,s.Z)({},q),{valid:!1})),L(!1),[2];if(F&&(null===F||void 0===F?void 0:F.fields)&&(null===F||void 0===F||null===(l=F.fields)||void 0===l?void 0:l.length)){n=!0,a=!1,i=void 0;try{for(r=F.fields[Symbol.iterator]();!(n=(c=r.next()).done);n=!0)if((u=c.value).required&&!q[u.label.toLowerCase()])return B((0,t.Z)((0,s.Z)({},q),{valid:!1})),L(!1),[2]}catch(v){a=!0,i=v}finally{try{n||null==r.return||r.return()}finally{if(a)throw i}}}return q.captcha=e,[4,xe.post("/website/send-contact-form",q)];case 1:return(m=o.sent())&&!0===m.status?(B(w),Q(!0)):ee("Error while sending your message. Try again later."),L(!1),[2]}}))}));return function(l){return e.apply(this,arguments)}}(),be=function(e,l){var n=[];(null===q||void 0===q?void 0:q.customFields)&&(n=(0,i.Z)(q.customFields));var a=null===n||void 0===n?void 0:n.find((function(l){return l.Field===e}));a?a.value=l:n.push({Field:e,value:l}),B((function(e){return(0,t.Z)((0,s.Z)({},e),{customFields:n})}))};return(0,c.useEffect)((function(){var e,l,n,a;F&&(K(F.headline),P(F.content),T(F.align),I(F.background),ae(null!==(e=F.nameFieldLabel)&&void 0!==e?e:"Name"),ie(null!==(l=F.emailFieldLabel)&&void 0!==l?l:"E-mail"),de(null!==(n=F.messageFieldLabel)&&void 0!==n?n:"Message"),me(null!==(a=F.sendButtonLabel)&&void 0!==a?a:"Send"),B((0,t.Z)((0,s.Z)({},q),{customFields:F.customFields})))}),[F]),(0,c.useEffect)((function(){H&&U((0,d.$O)(H))}),[H]),(0,c.useEffect)((function(){B((0,t.Z)((0,s.Z)({},q),{idBusiness:Z.Business._id}))}),[Z]),(0,r.jsx)("section",{className:"flex-shrink-0",style:{backgroundColor:H},children:(0,r.jsx)("div",{className:(0,d.AK)("container mx-auto py-12 lg:py-14 xl:py-20"),children:W?(0,r.jsxs)("div",{className:"w-full flex flex-col items-center py-20",children:[(0,r.jsx)("h3",{className:"mb-5",style:{color:J},children:"Message sent! \ud83d\ude4c"}),(0,r.jsx)("p",{className:"text-gray-600",style:{color:J},children:"We'll get in touch with you as soon as possible."})]}):(0,r.jsxs)("div",{className:(0,d.AK)("flex flex-col w-full gap-10 lg:gap-20","left"===$?"lg:!flex-row-reverse":"lg:flex-row"),children:[(0,r.jsxs)("div",{className:"w-full lg:w-1/2 lg:mt-10",children:[E&&(0,r.jsx)("h2",{className:"text-body lg:text-2xl font-medium mb-2",style:(0,s.Z)({color:J},(0,d.j2)(Z)),children:E}),M&&(0,r.jsx)("p",{className:"lg:leading-6",style:{color:J},children:M})]}),(0,r.jsxs)("div",{className:"w-full lg:w-1/2",children:[Y&&(0,r.jsx)("div",{className:"rounded-md bg-red-50 p-4 mb-4",children:(0,r.jsxs)("div",{className:"flex",children:[(0,r.jsx)("div",{className:"flex-shrink-0",children:(0,r.jsx)(v,{className:"h-5 w-5 text-red-400","aria-hidden":"true"})}),(0,r.jsx)("div",{className:"ml-3",children:(0,r.jsx)("h3",{className:"text-sm font-medium text-red-800",children:Y})})]})}),(0,r.jsxs)("form",{onSubmit:function(e){ee(null),e.preventDefault(),L(!0),ve.current.execute()},noValidate:!0,children:[(0,r.jsxs)("div",{className:"flex flex-col lg:flex-row gap-4 mb-4",children:[(0,r.jsxs)("div",{className:"flex-1",children:[(0,r.jsx)("label",{className:"mb-1 text-label",style:{color:J},children:ne}),(0,r.jsx)("input",{className:"input border-none !shadow-none !placeholder-current",type:"text",value:q.name,onChange:function(e){return B((0,t.Z)((0,s.Z)({},q),{name:e.target.value}))},style:fe}),!q.valid&&!q.name&&(0,r.jsx)("div",{className:"text-sm mt-1 text-red-500",children:"Provide a name"})]}),(0,r.jsxs)("div",{className:"flex-1",children:[(0,r.jsx)("label",{className:"mb-1 text-label",style:{color:J},children:te}),(0,r.jsx)("input",{className:"input border-none !shadow-none !placeholder-current",type:"text",value:q.email,onChange:function(e){return B((0,t.Z)((0,s.Z)({},q),{email:e.target.value}))},style:fe}),!q.valid&&(!q.email||!(0,d.oH)(q.email))&&(0,r.jsx)("div",{className:"text-sm mt-1 text-red-500",children:"Provide a valid email"})]})]}),null===F||void 0===F||null===(n=F.fields)||void 0===n?void 0:n.map((function(e,l){return(0,r.jsxs)("div",{className:"mb-4",children:[(0,r.jsx)("label",{className:"mb-1 text-label",style:{color:J},children:e.label}),(0,r.jsx)("input",{className:"input border-none !shadow-none !placeholder-current",type:"text",required:e.required,value:q[e.label.toLowerCase()],onChange:function(l){return function(e,l){var n=(0,d.p$)(q);n[l.label.toLowerCase()]=e.target.value,B(n)}(l,e)},style:fe}),!q.valid&&!q[e.label.toLowerCase()]&&e.required&&(0,r.jsxs)("div",{className:"text-sm mt-1 text-red-500",children:[e.label," is required"]})]},"custom-field-".concat(l))})),(null===q||void 0===q||null===(x=q.customFields)||void 0===x?void 0:x.length)>0&&(0,r.jsx)("div",{className:"grid gap-4 w-full grid-cols-1 lg:grid-cols-2 mb-4",children:null===q||void 0===q||null===(N=q.customFields)||void 0===N?void 0:N.map((function(e,l){var n,a,o=null===(a=null===q||void 0===q||null===(n=q.customFields)||void 0===n?void 0:n.find((function(l){return l.Field===e.Field._id})))||void 0===a?void 0:a.value;switch(e.Field.type){case"text":var c;return(0,r.jsxs)("div",{className:(0,d.AK)(l%2===0&&l===(null===F||void 0===F||null===(c=F.customFields)||void 0===c?void 0:c.length)-1?"col-span-2":""),children:[(0,r.jsx)("label",{className:"mb-1 text-label",style:{color:J},children:e.Field.name}),(0,r.jsx)("input",{className:"input border-none !shadow-none !placeholder-current",name:e.Field.name,value:o||"",onChange:function(l){return be(e.Field._id,l.target.value)},type:"text",style:fe})]},l);case"number":var u;return(0,r.jsxs)("div",{className:(0,d.AK)("w-full",l%2===0&&l===(null===F||void 0===F||null===(u=F.customFields)||void 0===u?void 0:u.length)-1?"col-span-2":""),children:[(0,r.jsx)("label",{className:"mb-1 text-label",style:{color:J},children:e.Field.name}),(0,r.jsx)(h.Z,{value:o||"",onChange:function(l){return be(e.Field._id,l.target.value)},thousandSeparator:!1,allowNegative:!0,decimalScale:0,placeholder:"0",allowLeadingZeros:!1,allowEmptyFormatting:!1,className:"input w-full border-none !shadow-none !placeholder-current",style:fe})]},l);case"money":var m;return(0,r.jsxs)("div",{className:(0,d.AK)("w-full",l%2===0&&l===(null===F||void 0===F||null===(m=F.customFields)||void 0===m?void 0:m.length)-1?"col-span-2":""),children:[(0,r.jsx)("label",{className:"mb-1 text-label",style:{color:J},children:e.Field.name}),(0,r.jsx)(h.Z,{value:o||"",onChange:function(l){return be(e.Field._id,l.target.value)},thousandSeparator:",",decimalSeparator:".",allowNegative:!0,decimalScale:2,prefix:"$",placeholder:"$0",allowLeadingZeros:!1,allowEmptyFormatting:!1,className:"input w-full border-none !shadow-none !placeholder-current",style:fe})]},l);case"date":var v;return(0,r.jsxs)("div",{className:(0,d.AK)("flex flex-col md:min-w-40 w-full",l%2===0&&l===(null===F||void 0===F||null===(v=F.customFields)||void 0===v?void 0:v.length)-1?"col-span-2":""),children:[(0,r.jsx)("label",{className:"mb-1 text-label",style:{color:J},children:e.Field.name}),(0,r.jsx)(j(),{className:"w-full flex-1",selected:o?new Date(o):null,onChange:function(l){return be(e.Field._id,y.ou.fromJSDate(l).startOf("day").toISO())},dateFormat:"MMM dd, yyyy",calendarClassName:"tailwind-calendar",customInput:(0,r.jsx)(b.Z,{className:"border-none !shadow-none !placeholder-current",labelClass:"text-current",hint:y.ou.now().toFormat("DD"),onClear:function(){return be(e.Field._id,null)},style:fe})})]},l);case"checkbox":var x,f;return(0,r.jsxs)("div",{className:(0,d.AK)("flex flex-col md:min-w-40 w-full",l%2===0&&l===(null===F||void 0===F||null===(x=F.customFields)||void 0===x?void 0:x.length)-1?"col-span-2":""),children:[(0,r.jsx)("label",{className:"mb-1 text-label",style:{color:J},children:e.Field.name}),(0,r.jsx)("div",{className:"flex flex-wrap gap-x-6 gap-y-2",children:null===(f=e.Field.options)||void 0===f?void 0:f.map((function(l){return(0,r.jsxs)("label",{className:"inline-flex items-center",children:[(0,r.jsx)("input",{type:"checkbox",className:"mr-1",value:l.id,checked:!!(null===o||void 0===o?void 0:o.includes(l.id)),onChange:function(n){return function(e,l,n){var a=(0,i.Z)(q.customFields),o=null===a||void 0===a?void 0:a.find((function(l){return l.Field===e}));if(o||(o={Field:e,value:[]},a.push(o)),n)o.value.includes(l)||o.value.push(l);else{var r=o.value.indexOf(l);-1!==r&&o.value.splice(r,1)}B((function(e){return(0,t.Z)((0,s.Z)({},e),{customFields:a})}))}(e.Field._id,l.id,n.target.checked)}}),(0,r.jsx)("span",{style:{color:J},children:l.name})]},l.id)}))})]},l);case"dropdown":var N;return(0,r.jsxs)("div",{className:(0,d.AK)("flex flex-col md:min-w-40 w-full",l%2===0&&l===(null===F||void 0===F||null===(N=F.customFields)||void 0===N?void 0:N.length)-1?"col-span-2":""),children:[(0,r.jsx)("label",{className:"mb-1 text-label text-current",style:{color:J},children:e.Field.name}),(0,r.jsx)(p.Z,{className:"w-full",btnClassName:"border-none !shadow-none !placeholder-current",value:o?e.Field.options.find((function(e){return e.id===o})):e.Field.options[0],onChange:function(l){return be(e.Field._id,l.id)},values:e.Field.options,style:fe,iconStyle:{color:J}},l)]},l);case"rating":var w;return(0,r.jsxs)("div",{className:(0,d.AK)("flex flex-col md:min-w-40 w-full",l%2===0&&l===(null===F||void 0===F||null===(w=F.customFields)||void 0===w?void 0:w.length)-1?"col-span-2":""),children:[(0,r.jsx)("label",{className:"mb-1 text-label",style:{color:J},children:e.Field.name}),(0,r.jsx)(g.Z,{className:"flex mt-2",rating:o||0,setRating:function(l){return be(e.Field._id,l)}})]},l)}}))}),(0,r.jsxs)("div",{className:"mb-4",children:[(0,r.jsx)("label",{className:"mb-1 text-label",style:{color:J},children:re}),(0,r.jsx)("textarea",{className:"input border-none !shadow-none !placeholder-current",placeholder:"",rows:"5",value:q.message,onChange:function(e){return B((0,t.Z)((0,s.Z)({},q),{message:e.target.value}))},style:fe}),!q.valid&&!q.message&&(0,r.jsx)("div",{className:"text-sm mt-1 text-red-500",children:"Provide a message"})]}),(0,r.jsxs)("div",{className:"flex flex-col md:flex-row justify-between items-start gap-4",children:[(0,r.jsxs)("div",{className:"text-xs max-w-sm text-gray-500",style:{color:J},children:["This site is protected by reCAPTCHA and the Google",(0,r.jsx)(f(),{href:"https://policies.google.com/privacy",children:(0,r.jsx)("a",{target:"_blank",className:"font-bold",style:{color:J},children:" Privacy Policy"})})," and",(0,r.jsx)(f(),{href:"https://policies.google.com/terms",children:(0,r.jsx)("a",{target:"_blank",className:"font-bold",style:{color:J},children:" Terms of Service"})})," apply."]}),(0,r.jsx)(u.Z,{type:"submit",button:{label:ue},website:Z,loading:_,className:"lg w-36 mt-2 md:mt-0"})]}),(0,r.jsx)(m.Z,{ref:ve,className:"invisible",size:"invisible",badge:"inline",sitekey:S,onChange:he})]})]})]})})})}}}]); -------------------------------------------------------------------------------- /assets/js/175.bbb08e553997fc39.js: -------------------------------------------------------------------------------- 1 | "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[175],{73175:function(l,e,i){i.r(e),i.d(e,{default:function(){return z}});var n=i(14251),o=i(85893),t=i(31996),s=i(67294),a=i(52077),r=i(90387),d=i(41664),c=i.n(d),u=i(72510),v=i(92164),h=i(71029),m=i(85296),f=i(44171),x=i(43180),g=i(10151),p=i(36234),y=i(66909),j=i(49791),b=i(28239),N=i(48192),k=i(94206),w=i(13487),A=i(32713),C=i(65710),Z=i(43751),S=i(3677),F=i(41984),K=i(74007),_=[{id:"facebook",host:"facebook.com"},{id:"twitter",host:"twitter.com"},{id:"linkedin",host:"linkedin.com"},{id:"youtube",host:"youtube.com"},{id:"pinterest",host:"pinterest.com"},{id:"instagram",host:"instagram.com"},{id:"tiktok",host:"tiktok.com"},{id:"thumbtack",host:"thumbtack.com"},{id:"homeadvisor",host:"homeadvisor.com"},{id:"angi",host:"angi.com"},{id:"behance",host:"behance.net"},{id:"dribbble",host:"dribbble.com"}];function z(l){var e,i,d,z,M,P,E,L,T,W,D=l.website,B=(0,t.ac)("(max-width: 1023px)"),I=(0,s.useState)(!1),O=I[0],R=I[1],H=(0,s.useState)("#FFFFFF"),V=H[0],$=H[1],q=(0,s.useState)("#000000"),G=q[0],J=q[1],Q=(0,s.useState)(null),U=Q[0],X=Q[1],Y=(0,r.useRouter)(),ll=null===D||void 0===D?void 0:D.header,el=null===(i=null===(e=D.pages)||void 0===e?void 0:e.filter((function(l){return(!0===l.showOnHeader||void 0===l.showOnHeader)&&null!==l.slug})))||void 0===i?void 0:i.map((function(l){var e={href:"/".concat(l.slug||""),name:l.label,current:Y.asPath==="/".concat(l.slug||""),type:l.type};return"parent"===e.type&&(e.nests=D.pages.filter((function(e){return e.Parent===l._id})).map((function(e){return{href:"/".concat(l.slug,"/").concat(e.slug||""),name:e.label,current:Y.asPath==="/".concat(l.slug,"/").concat(e.slug||"")}})),0===e.nests.length)?null:e})).filter((function(l){return null!==l})),il=function(l,e){var i=e?"w-6 h-6 lg:w-8 lg:h-8":"w-8 h-8";switch(l.type){case"angi":return(0,o.jsx)(h.Z,{className:i,style:{color:G}});case"behance":return(0,o.jsx)(m.Z,{className:i,style:{color:G}});case"dribbble":return(0,o.jsx)(f.Z,{className:i,style:{color:G}});case"facebook":return(0,o.jsx)(x.Z,{className:i,style:{color:G}});case"homeadvisor":return(0,o.jsx)(g.Z,{className:i,style:{color:G}});case"instagram":return(0,o.jsx)(p.Z,{className:i,style:{color:G}});case"linkedin":return(0,o.jsx)(y.Z,{className:i,style:{color:G}});case"pinterest":return(0,o.jsx)(j.Z,{className:i,style:{color:G}});case"tiktok":return(0,o.jsx)(b.Z,{className:i,style:{color:G}});case"thumbtack":return(0,o.jsx)(N.Z,{className:i,style:{color:G}});case"twitter":return(0,o.jsx)(k.Z,{className:i,style:{color:G}});case"youtube":return(0,o.jsx)(w.Z,{className:i,style:{color:G}});case"custom":var n,s;return(0,o.jsx)("div",{className:(0,t.AK)("flex-shrink-0 relative",i),children:(0,o.jsx)("div",{className:"absolute w-full h-full",style:{backgroundColor:G||"#000000",WebkitMaskImage:'url("'.concat(null===l||void 0===l||null===(n=l.icon)||void 0===n?void 0:n.url,'")'),maskImage:'url("'.concat(null===l||void 0===l||null===(s=l.icon)||void 0===s?void 0:s.url,'")'),WebkitMaskPosition:"center",maskPosition:"center",WebkitMaskRepeat:"no-repeat",maskRepeat:"no-repeat",WebkitMaskSize:"contain",maskSize:"contain"}})})}},nl=function(){return(0,o.jsx)("div",{className:(0,t.AK)("hidden lg:flex items-center flex-shrink-0"),children:(0,o.jsx)(a.Z,{className:"xl !text-2xl !py-1.5",button:null===ll||void 0===ll?void 0:ll.button,website:D})})},ol=function(l,e){return(0,o.jsx)("ul",{className:(0,t.AK)("lg:flex items-center gap-x-4 gap-y-2 flex-wrap","full-center"!==l?"justify-end":"",!e&&"hidden"),children:Array.isArray(D.social)&&D.social.map((function(l,i){var n=_.find((function(e){return e.id===l.type})),t=l.link;return"custom"!==l.type&&(t=(t=l.link.replace(/[(http(s)?):\/\/(www\.)?a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\//gi,"").replace(/https?:/g,"").replace(/^\/\/?/g,"")).replace(null===n||void 0===n?void 0:n.host,""),t="https://".concat(null===n||void 0===n?void 0:n.host,"/").concat(t)),(0,o.jsx)("li",{children:(0,o.jsx)(c(),{href:t,children:(0,o.jsx)("a",{target:"_blank",children:il(l,e)})})},"social-icon-header-".concat(i))}))})},tl=function(){var l,e,i,s,a,r,d,u;return(null===ll||void 0===ll?void 0:ll.showLogo)&&"branding"===(null===ll||void 0===ll?void 0:ll.source)&&(null===D||void 0===D?void 0:D.logo)?(0,o.jsx)(c(),{href:"/",children:(0,o.jsxs)("a",{children:[(0,o.jsx)("img",{className:"hidden lg:block transition-all object-contain",src:null===D||void 0===D||null===(l=D.logo)||void 0===l?void 0:l.url,alt:null===ll||void 0===ll?void 0:ll.siteName,style:{height:(null===ll||void 0===ll||null===(e=ll.logoDesktop)||void 0===e?void 0:e.height)+"px"}}),(0,o.jsx)("img",{className:"lg:hidden transition-all object-contain",src:null===D||void 0===D||null===(i=D.logo)||void 0===i?void 0:i.url,alt:null===ll||void 0===ll?void 0:ll.siteName,style:{height:(null===ll||void 0===ll||null===(s=ll.logoMobile)||void 0===s?void 0:s.height)+"px"}})]})}):(null===ll||void 0===ll?void 0:ll.showLogo)&&"upload"===(null===ll||void 0===ll?void 0:ll.source)&&(null===ll||void 0===ll?void 0:ll.customLogo)?(0,o.jsx)(c(),{href:"/",children:(0,o.jsxs)("a",{children:[(0,o.jsx)("img",{className:"hidden lg:block transition-all object-contain",src:null===ll||void 0===ll||null===(a=ll.customLogo)||void 0===a?void 0:a.url,alt:null===ll||void 0===ll?void 0:ll.siteName,style:{height:(null===ll||void 0===ll||null===(r=ll.logoDesktop)||void 0===r?void 0:r.height)+"px"}}),(0,o.jsx)("img",{className:"lg:hidden transition-all object-contain",src:null===ll||void 0===ll||null===(d=ll.customLogo)||void 0===d?void 0:d.url,alt:null===ll||void 0===ll?void 0:ll.siteName,style:{height:(null===ll||void 0===ll||null===(u=ll.logoMobile)||void 0===u?void 0:u.height)+"px"}})]})}):(0,o.jsx)(c(),{href:"/",children:(0,o.jsx)("a",{children:(0,o.jsx)("h1",{className:"text-h6 lg:text-h4 xl:text-h3 font-medium max-w-60 md:max-w-100 truncate",style:(0,n.Z)({color:G},(0,t.j2)(D)),children:null===ll||void 0===ll?void 0:ll.siteName})})})},sl=function(l){var e;if(0===(null===el||void 0===el?void 0:el.length))return(0,o.jsx)(o.Fragment,{});var i=(0,t.h)(V,-10);return i!==G&&i!==V||(i=(0,t.h)(V,10)),(0,o.jsx)("ul",{className:(0,t.AK)("hidden lg:flex items-center flex-wrap gap-x-6","left"===l&&"justify-end","full-center"===l&&"justify-center"),style:{color:G},children:null===(e=null===el||void 0===el?void 0:el.filter((function(l){return"nested"!==l.type})))||void 0===e?void 0:e.map((function(l){var e;return(0,o.jsx)("li",{className:"border-b-2",style:{borderColor:l.current?"".concat(G):"transparent"},children:"parent"===l.type?(0,o.jsx)(K.Z,{buttonClassName:"inline-flex items-center gap-2 py-1.5",itemsContainerClass:"!pl-6 !pr-12",button:(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("span",{className:"text-xl font-light whitespace-nowrap",children:l.name}),(0,o.jsx)(A.Z,{className:"w-4 h-4"})]}),itemsContainerStyle:{backgroundColor:i,color:G},children:null===(e=l.nests)||void 0===e?void 0:e.map((function(l){return(0,o.jsx)(u.v.Item,{children:(0,o.jsx)(c(),{href:l.href,legacyBehavior:!1,className:"block py-2 text-xl font-light whitespace-nowrap border-b-2",style:{borderColor:l.current?"".concat(G):"transparent"},children:l.name})},"page-link-".concat(l.href))}))}):(0,o.jsx)(c(),{href:l.href,children:(0,o.jsx)("a",{className:"block py-1.5 text-xl font-light whitespace-nowrap",children:l.name})})},"page-link-".concat(l.href))}))})};return(0,s.useEffect)((function(){if(ll){var l,e,i;if($(ll.background),null===ll.siteName||void 0===ll.siteName)ll.siteName=null===D||void 0===D||null===(i=D.Business)||void 0===i?void 0:i.name;ll.style||(ll.style="left"),(null===(l=ll.logoDesktop)||void 0===l?void 0:l.height)||(ll.logoDesktop={height:80}),(null===(e=ll.logoMobile)||void 0===e?void 0:e.height)||(ll.logoMobile={height:40})}}),[ll]),(0,s.useEffect)((function(){V&&J((0,t.$O)(V))}),[V]),(0,s.useEffect)((function(){R(!1),X(null)}),[Y,B]),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("header",{className:(0,t.AK)((null===ll||void 0===ll?void 0:ll.sticky)?"sticky top-0 shadow-sm":"",(null===ll||void 0===ll?void 0:ll.sticky)&&!O?"!z-max":""),style:{backgroundColor:V,color:G},children:(0,o.jsx)("div",{className:(0,t.AK)("grid items-center lg:gap-6 xl:gap-10 mx-auto py-6",(null===ll||void 0===ll?void 0:ll.fullWidth)?"px-6 lg:px-12":"container"),style:(W=null===ll||void 0===ll?void 0:ll.style,"center"===W?{gridTemplateColumns:"1fr auto 1fr"}:"full-center"===W?(null===el||void 0===el?void 0:el.length)>6?{gridTemplateColumns:"1fr 4fr 1fr"}:{gridTemplateColumns:"1fr 1fr 1fr"}:{gridTemplateColumns:"auto 1fr 1fr"}),children:"center"===(null===ll||void 0===ll?void 0:ll.style)?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{className:"w-9 lg:w-auto",children:sl(null===ll||void 0===ll?void 0:ll.style)}),(0,o.jsx)("div",{className:"flex justify-center",children:tl()}),(0,o.jsxs)("div",{className:"flex justify-end",children:[(0,o.jsxs)("div",{className:"hidden lg:flex item-center gap-10",children:[(null===ll||void 0===ll?void 0:ll.showSocial)&&ol(null===ll||void 0===ll?void 0:ll.style),(null===ll||void 0===ll?void 0:ll.button)&&nl()]}),(0,o.jsxs)("div",{className:"ml-auto lg:hidden",children:[((null===ll||void 0===ll?void 0:ll.button)||(null===el||void 0===el?void 0:el.length)>0||(null===ll||void 0===ll?void 0:ll.showSocial)&&Array.isArray(null===D||void 0===D?void 0:D.social)&&(null===D||void 0===D||null===(d=D.social)||void 0===d?void 0:d.length)>1)&&(0,o.jsx)("button",{className:"inline-flex items-center justify-center p-2 rounded-md focus:outline-none",style:{color:G},onClick:function(){return R(!0)},children:(0,o.jsx)(C.Z,{className:"block h-5 w-5","aria-hidden":"true"})}),!(null===ll||void 0===ll?void 0:ll.button)&&0===(null===el||void 0===el?void 0:el.length)&&(null===ll||void 0===ll?void 0:ll.showSocial)&&Array.isArray(null===D||void 0===D?void 0:D.social)&&1===(null===D||void 0===D||null===(z=D.social)||void 0===z?void 0:z.length)&&ol(null===ll||void 0===ll?void 0:ll.style,!0)]})]})]}):"full-center"===(null===ll||void 0===ll?void 0:ll.style)?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{className:"w-9 lg:w-auto",children:(null===ll||void 0===ll?void 0:ll.showSocial)&&ol(null===ll||void 0===ll?void 0:ll.style)}),(0,o.jsxs)("div",{className:"flex-1 flex flex-col items-center gap-4",children:[(0,o.jsx)("div",{className:"flex justify-center w-full",children:tl()}),sl(null===ll||void 0===ll?void 0:ll.style)]}),(0,o.jsxs)("div",{className:"flex justify-end",children:[(null===ll||void 0===ll?void 0:ll.button)&&nl(),(0,o.jsxs)("div",{className:"ml-auto lg:hidden",children:[((null===ll||void 0===ll?void 0:ll.button)||(null===el||void 0===el?void 0:el.length)>0||(null===ll||void 0===ll?void 0:ll.showSocial)&&Array.isArray(null===D||void 0===D?void 0:D.social)&&(null===D||void 0===D||null===(M=D.social)||void 0===M?void 0:M.length)>1)&&(0,o.jsx)("button",{className:"inline-flex items-center justify-center p-2 rounded-md focus:outline-none",style:{color:G},onClick:function(){return R(!0)},children:(0,o.jsx)(C.Z,{className:"block h-5 w-5","aria-hidden":"true"})}),!(null===ll||void 0===ll?void 0:ll.button)&&0===(null===el||void 0===el?void 0:el.length)&&(null===ll||void 0===ll?void 0:ll.showSocial)&&Array.isArray(null===D||void 0===D?void 0:D.social)&&1===(null===D||void 0===D||null===(P=D.social)||void 0===P?void 0:P.length)&&ol(null===ll||void 0===ll?void 0:ll.style,!0)]})]})]}):(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{className:"col-span-2 lg:col-span-1",children:tl()}),(0,o.jsxs)("div",{className:"hidden lg:flex item-center justify-end gap-10 lg:col-span-2",children:[sl(null===ll||void 0===ll?void 0:ll.style),(null===ll||void 0===ll?void 0:ll.showSocial)&&ol(null===ll||void 0===ll?void 0:ll.style),(null===ll||void 0===ll?void 0:ll.button)&&nl()]}),(0,o.jsxs)("div",{className:"ml-auto lg:hidden",children:[((null===ll||void 0===ll?void 0:ll.button)||(null===el||void 0===el?void 0:el.length)>0||(null===ll||void 0===ll?void 0:ll.showSocial)&&Array.isArray(null===D||void 0===D?void 0:D.social)&&(null===D||void 0===D||null===(E=D.social)||void 0===E?void 0:E.length)>1)&&(0,o.jsx)("button",{className:"inline-flex items-center justify-center p-2 rounded-md focus:outline-none",style:{color:G},onClick:function(){return R(!0)},children:(0,o.jsx)(C.Z,{className:"block h-5 w-5","aria-hidden":"true"})}),!(null===ll||void 0===ll?void 0:ll.button)&&0===(null===el||void 0===el?void 0:el.length)&&(null===ll||void 0===ll?void 0:ll.showSocial)&&Array.isArray(null===D||void 0===D?void 0:D.social)&&1===(null===D||void 0===D||null===(L=D.social)||void 0===L?void 0:L.length)&&ol(null===ll||void 0===ll?void 0:ll.style,!0)]})]})})}),(0,o.jsx)(v.V,{open:O,onClose:function(){return R(!1)},className:"relative z-50 h-full",children:(0,o.jsx)(v.V.Panel,{className:"fixed inset-0 flex flex-col h-full",style:{backgroundColor:V,color:G},children:(0,o.jsxs)("div",{className:"flex-1 flex flex-col h-full container mx-auto pb-6",children:[(0,o.jsxs)("div",{className:(0,t.AK)("items-center gap-3 py-6","left"!==(null===ll||void 0===ll?void 0:ll.style)?"grid":"flex justify-between"),style:"left"!==(null===ll||void 0===ll?void 0:ll.style)?{gridTemplateColumns:"1fr auto 1fr"}:{},children:[("center"===(null===ll||void 0===ll?void 0:ll.style)||"full-center"===(null===ll||void 0===ll?void 0:ll.style))&&(0,o.jsx)("div",{}),tl(),(0,o.jsx)("div",{className:"ml-auto lg:hidden",children:(0,o.jsx)("button",{className:"inline-flex items-center justify-center p-2 rounded-md focus:outline-none",style:{color:G},onClick:function(){return R(!1)},children:(0,o.jsx)(Z.Z,{className:"block h-5 w-5","aria-hidden":"true"})})})]}),(null===el||void 0===el?void 0:el.filter((function(l){return"nested"!==l.type})).length)>0&&(0,o.jsxs)("ul",{className:(0,t.AK)("flex-1 flex flex-col justify-center gap-4 w-full py-6 overflow-auto","center"===(null===ll||void 0===ll?void 0:ll.style)||"full-center"===(null===ll||void 0===ll?void 0:ll.style)?"text-center":""),style:{color:G},children:[U&&(0,o.jsx)("li",{className:"pb-6",children:(0,o.jsxs)("button",{className:"inline-flex items-center gap-2 text-xl",onClick:function(){return X(null)},children:[(0,o.jsx)(S.Z,{className:"w-4 h-4","aria-hidden":"true"}),(0,o.jsx)("span",{children:"Back"})]})}),!U&&(null===el||void 0===el?void 0:el.filter((function(l){return"nested"!==l.type})).map((function(l){return(0,o.jsx)("li",{className:(0,t.AK)("font-light text-xl py-2 border-b-2"),style:{borderColor:l.current?"".concat(G):"transparent"},children:"parent"===l.type&&l.nests.length>0?(0,o.jsxs)("button",{className:"inline-flex items-center gap-2",onClick:function(){return X(l.nests)},children:[(0,o.jsx)("span",{children:l.name}),(0,o.jsx)(F.Z,{className:"w-4 h-4","aria-hidden":"true"})]}):(0,o.jsx)(c(),{href:l.href,children:(0,o.jsx)("a",{className:"block w-full",children:l.name})})},"page-link-".concat(l.href))}))),null===U||void 0===U?void 0:U.map((function(l){return(0,o.jsx)("li",{className:(0,t.AK)("font-light text-xl py-2 border-b-2"),style:{borderColor:l.current?"".concat(G):"transparent"},children:(0,o.jsx)(c(),{href:l.href,children:(0,o.jsx)("a",{className:"block w-full",children:l.name})})},"page-link-".concat(l.href))}))]}),(0,o.jsxs)("div",{className:(0,t.AK)("flex flex-col max-w-[100vw]","center"===(null===ll||void 0===ll?void 0:ll.style)||"full-center"===(null===ll||void 0===ll?void 0:ll.style)?"items-center":"",(null===el||void 0===el?void 0:el.length)>0?"":"h-full justify-center"),children:[(null===ll||void 0===ll?void 0:ll.showSocial)&&(null===(T=D.social)||void 0===T?void 0:T.length)>0&&(0,o.jsx)("ul",{className:"flex items-center gap-x-4 gap-y-2 flex-wrap py-6",children:Array.isArray(D.social)&&D.social.map((function(l,e){var i=_.find((function(e){return e.id===l.type})),n=l.link;return"custom"!==l.type&&(n=(n=l.link.replace(/[(http(s)?):\/\/(www\.)?a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\//gi,"").replace(/https?:/g,"").replace(/^\/\/?/g,"")).replace(null===i||void 0===i?void 0:i.host,""),n="https://".concat(null===i||void 0===i?void 0:i.host,"/").concat(n)),(0,o.jsx)("li",{children:(0,o.jsx)(c(),{href:n,children:(0,o.jsx)("a",{target:"_blank",children:il(l)})})},"social-icon-header-".concat(e))}))}),(null===ll||void 0===ll?void 0:ll.button)&&(0,o.jsx)("div",{className:"py-6",children:(0,o.jsx)(a.Z,{className:"xl !font-normal !py-1.5",button:ll.button,website:D})})]})]})})})]})}}}]); -------------------------------------------------------------------------------- /assets/js/94.8c0296ce50830005.js: -------------------------------------------------------------------------------- 1 | "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[94],{52077:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(85893),a=n(41664),s=n.n(a),i=n(16494),o=n(31996);function l(e){var t,n,a,l,u,c,d=e.button,f=e.type,v=e.website,m=e.action,p=e.loading,g=e.className,x=(null===v||void 0===v||null===(t=v.button)||void 0===t?void 0:t.background)||(null===v||void 0===v?void 0:v.secondaryColor),y={background:"outline"===(null===v||void 0===v||null===(n=v.button)||void 0===n?void 0:n.style)?"transparent":x,borderRadius:isNaN(null===v||void 0===v||null===(a=v.button)||void 0===a?void 0:a.cornerRadius)?8:v.button.cornerRadius,color:"outline"===(null===v||void 0===v||null===(l=v.button)||void 0===l?void 0:l.style)?x:(0,o.$O)(x),border:"2px solid ".concat(x)};return m&&"function"===typeof m||"submit"===f?(0,r.jsx)("button",{type:"submit"===f?"submit":"button",onClick:m,className:(0,o.AK)("button primary",g),style:y,disabled:p,children:p?(0,r.jsx)(i.Z,{}):d.label}):(0,r.jsx)(s(),{href:function(e){if(e){if("email"===e.type)return"mailto:"+e.link;if("phone"===e.type)return"tel:"+e.link;if("page"===e.type){var t,n=null===v||void 0===v||null===(t=v.pages)||void 0===t?void 0:t.find((function(t){return t._id===e.page}));return(null===n||void 0===n?void 0:n.slug)||"/"}var r,a=null===(r=e.link)||void 0===r?void 0:r.replace(/https?:\/\//gi,"");return a&&"#"!==a?"https://"+a:"#"}return"/"}(d),children:(0,r.jsx)("a",{className:(0,o.AK)("button primary whitespace-nowrap",g),target:!0===d.newPage?"_blank":(null===v||void 0===v||null===(u=v.button)||void 0===u?void 0:u.target)?null===v||void 0===v||null===(c=v.button)||void 0===c?void 0:c.target:"_self",style:y,children:d.label})})}},74007:function(e,t,n){n.d(t,{Z:function(){return u}});var r=n(85893),a=n(67294),s=n(72510),i=n(44080),o=n(31996),l=n(40944);function u(e){var t=e.className,n=e.icon,u=e.iconClassName,c=e.button,d=e.buttonClassName,f=e.openClassName,v=e.iconOpenClassName,m=e.children,p=e.inline,g=e.itemsContainerClass,x=e.disabled,y=e.itemsContainerStyle,b=e.openUp,h=void 0!==b&&b;return(0,r.jsx)(s.v,{as:"div",className:(0,o.AK)("relative inline-block text-left",t),onClick:function(e){return e.stopPropagation()},children:function(e){var t=e.open;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s.v.Button,{className:(0,o.AK)(d,t?f:"","cursor-pointer z-5 focus:outline-none"),disabled:x,onClick:function(e){return e.stopPropagation()},children:c||(0,r.jsx)(l.Z,{icon:n||"DotsVerticalIcon",className:(0,o.AK)(u,"h-5 w-5",t?v||"text-indigo-500":"text-gray-500")})}),(0,r.jsx)(i.u,{show:t,as:a.Fragment,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:(0,r.jsx)(s.v.Items,{className:(0,o.AK)(g,"z-100 left-0 max-h-60 py-3 px-6 rounded-lg bg-white focus:outline-none overflow-y-auto space-y-2 shadow-lg",p?"static":"absolute",h?"bottom-full origin-bottom-left":"top-full origin-top-left"),style:y,children:m})})]})}})}},40944:function(e,t,n){var r=n(6453),a=n(85893),s=n(83282);t.Z=function(e){var t=(0,r.Z)({},s)[e.icon];return t?(0,a.jsx)(t,{className:e.className,onClick:e.onClick,"aria-hidden":"true"}):"<>"}},16494:function(e,t,n){n.d(t,{Z:function(){return s}});var r=n(85893),a=n(31996);function s(e){var t=e.text,n=e.className;switch(e.variant){case"form":return(0,r.jsx)("div",{className:"w-full max-w-screen-sm my-8",children:(0,r.jsxs)("div",{className:"animate-pulse flex space-y-8 flex-col",children:[(0,r.jsxs)("div",{className:"space-y-3",children:[(0,r.jsx)("div",{className:"h-4 bg-gray-100 rounded w-1/2"}),(0,r.jsx)("div",{className:"h-9 bg-gray-100 rounded"}),(0,r.jsx)("div",{className:"h-2 bg-gray-100 rounded w-5/6"})]}),(0,r.jsx)("hr",{}),(0,r.jsxs)("div",{className:"space-y-3",children:[(0,r.jsx)("div",{className:"h-4 bg-gray-100 rounded w-1/4"}),(0,r.jsx)("div",{className:"h-9 bg-gray-100 rounded"}),(0,r.jsx)("div",{className:"h-2 bg-gray-100 rounded w-1/2"})]}),(0,r.jsx)("hr",{}),(0,r.jsxs)("div",{className:"space-y-3",children:[(0,r.jsx)("div",{className:"h-4 bg-gray-100 rounded w-1/4"}),(0,r.jsx)("div",{className:"h-9 bg-gray-100 rounded"}),(0,r.jsx)("div",{className:"h-2 bg-gray-100 rounded w-1/2"})]}),(0,r.jsx)("hr",{}),(0,r.jsxs)("div",{className:"space-y-3",children:[(0,r.jsx)("div",{className:"h-4 bg-gray-100 rounded w-1/6"}),(0,r.jsx)("div",{className:"h-9 bg-gray-100 rounded"}),(0,r.jsx)("div",{className:"h-2 bg-gray-100 rounded w-3/4"})]}),(0,r.jsx)("div",{className:"h-10 bg-gray-200 rounded w-1/4 ml-auto mt-4"})]})});case"table":return(0,r.jsx)("div",{className:"w-full my-8",children:(0,r.jsxs)("div",{className:"animate-pulse flex space-y-2 flex-col",children:[(0,r.jsxs)("div",{className:"space-x-2 flex",children:[(0,r.jsx)("div",{className:"h-9 bg-gray-200 rounded w-full"}),(0,r.jsx)("div",{className:"h-9 bg-gray-200 rounded w-full"}),(0,r.jsx)("div",{className:"h-9 bg-gray-200 rounded w-full"}),(0,r.jsx)("div",{className:"h-9 bg-gray-200 rounded w-full"}),(0,r.jsx)("div",{className:"h-9 bg-gray-200 rounded w-full"}),(0,r.jsx)("div",{className:"h-9 bg-gray-200 rounded w-full"})]}),[1,2,3,4,5,6].map((function(e){return(0,r.jsxs)("div",{className:"space-x-2 flex",children:[(0,r.jsx)("div",{className:"h-9 bg-gray-100 rounded w-full"}),(0,r.jsx)("div",{className:"h-9 bg-gray-100 rounded w-full"}),(0,r.jsx)("div",{className:"h-9 bg-gray-100 rounded w-full"}),(0,r.jsx)("div",{className:"h-9 bg-gray-100 rounded w-full"}),(0,r.jsx)("div",{className:"h-9 bg-gray-100 rounded w-full"}),(0,r.jsx)("div",{className:"h-9 bg-gray-100 rounded w-full"})]},e)}))]})});default:return(0,r.jsxs)("div",{className:(0,a.AK)("inline-flex items-center",n),children:[(0,r.jsxs)("svg",{className:(0,a.AK)("animate-spin ml-1 mr-3 h-4 w-4",n&&"text-indigo-600"),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[(0,r.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,r.jsx)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),t||""===t?t:"Loading..."]})}}},72510:function(e,t,n){n.d(t,{v:function(){return K}});var r,a,s=n(67294),i=n(32984),o=n(12351),l=n(9362),u=n(94192),c=n(16723),d=n(23784),f=n(19946),v=n(61363),m=n(11497),p=n(64103),g=n(84575),x=n(39650),y=n(31591),b=n(16567),h=n(14157),N=n(51074),I=n(73781),w=n(40476),R=((a=R||{})[a.Open=0]="Open",a[a.Closed=1]="Closed",a),j=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(j||{}),T=((r=T||{})[r.OpenMenu=0]="OpenMenu",r[r.CloseMenu=1]="CloseMenu",r[r.GoToItem=2]="GoToItem",r[r.Search=3]="Search",r[r.ClearSearch=4]="ClearSearch",r[r.RegisterItem=5]="RegisterItem",r[r.UnregisterItem=6]="UnregisterItem",r);function k(e,t=(e=>e)){let n=null!==e.activeItemIndex?e.items[e.activeItemIndex]:null,r=(0,g.z2)(t(e.items.slice()),(e=>e.dataRef.current.domRef.current)),a=n?r.indexOf(n):null;return-1===a&&(a=null),{items:r,activeItemIndex:a}}let S={1:e=>1===e.menuState?e:{...e,activeItemIndex:null,menuState:1},0:e=>0===e.menuState?e:{...e,menuState:0},2:(e,t)=>{var n;let r=k(e),a=(0,m.d)(t,{resolveItems:()=>r.items,resolveActiveIndex:()=>r.activeItemIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled});return{...e,...r,searchQuery:"",activeItemIndex:a,activationTrigger:null!=(n=t.trigger)?n:1}},3:(e,t)=>{let n=""!==e.searchQuery?0:1,r=e.searchQuery+t.value.toLowerCase(),a=(null!==e.activeItemIndex?e.items.slice(e.activeItemIndex+n).concat(e.items.slice(0,e.activeItemIndex+n)):e.items).find((e=>{var t;return(null==(t=e.dataRef.current.textValue)?void 0:t.startsWith(r))&&!e.dataRef.current.disabled})),s=a?e.items.indexOf(a):-1;return-1===s||s===e.activeItemIndex?{...e,searchQuery:r}:{...e,searchQuery:r,activeItemIndex:s,activationTrigger:1}},4:e=>""===e.searchQuery?e:{...e,searchQuery:"",searchActiveItemIndex:null},5:(e,t)=>{let n=k(e,(e=>[...e,{id:t.id,dataRef:t.dataRef}]));return{...e,...n}},6:(e,t)=>{let n=k(e,(e=>{let n=e.findIndex((e=>e.id===t.id));return-1!==n&&e.splice(n,1),e}));return{...e,...n,activationTrigger:1}}},C=(0,s.createContext)(null);function P(e){let t=(0,s.useContext)(C);if(null===t){let t=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,P),t}return t}function M(e,t){return(0,i.E)(t.type,S,e,t)}C.displayName="MenuContext";let E=s.Fragment;let D=o.AN.RenderStrategy|o.AN.Static;let A=s.Fragment;let F=(0,o.yV)((function(e,t){let n=(0,s.useReducer)(M,{menuState:1,buttonRef:(0,s.createRef)(),itemsRef:(0,s.createRef)(),items:[],searchQuery:"",activeItemIndex:null,activationTrigger:1}),[{menuState:r,itemsRef:a,buttonRef:l},u]=n,c=(0,d.T)(t);(0,x.O)([l,a],((e,t)=>{var n;u({type:1}),(0,g.sP)(t,g.tJ.Loose)||(e.preventDefault(),null==(n=l.current)||n.focus())}),0===r);let f=(0,I.z)((()=>{u({type:1})})),v=(0,s.useMemo)((()=>({open:0===r,close:f})),[r,f]),m=e,p={ref:c};return s.createElement(C.Provider,{value:n},s.createElement(b.up,{value:(0,i.E)(r,{0:b.ZM.Open,1:b.ZM.Closed})},(0,o.sY)({ourProps:p,theirProps:m,slot:v,defaultTag:E,name:"Menu"})))})),O=(0,o.yV)((function(e,t){var n;let r=(0,f.M)(),{id:a=`headlessui-menu-button-${r}`,...i}=e,[l,c]=P("Menu.Button"),g=(0,d.T)(l.buttonRef,t),x=(0,u.G)(),y=(0,I.z)((e=>{switch(e.key){case v.R.Space:case v.R.Enter:case v.R.ArrowDown:e.preventDefault(),e.stopPropagation(),c({type:0}),x.nextFrame((()=>c({type:2,focus:m.T.First})));break;case v.R.ArrowUp:e.preventDefault(),e.stopPropagation(),c({type:0}),x.nextFrame((()=>c({type:2,focus:m.T.Last})))}})),b=(0,I.z)((e=>{if(e.key===v.R.Space)e.preventDefault()})),N=(0,I.z)((t=>{if((0,p.P)(t.currentTarget))return t.preventDefault();e.disabled||(0===l.menuState?(c({type:1}),x.nextFrame((()=>{var e;return null==(e=l.buttonRef.current)?void 0:e.focus({preventScroll:!0})}))):(t.preventDefault(),c({type:0})))})),w=(0,s.useMemo)((()=>({open:0===l.menuState})),[l]),R={ref:g,id:a,type:(0,h.f)(e,l.buttonRef),"aria-haspopup":"menu","aria-controls":null==(n=l.itemsRef.current)?void 0:n.id,"aria-expanded":e.disabled?void 0:0===l.menuState,onKeyDown:y,onKeyUp:b,onClick:N};return(0,o.sY)({ourProps:R,theirProps:i,slot:w,defaultTag:"button",name:"Menu.Button"})})),z=(0,o.yV)((function(e,t){var n,r;let a=(0,f.M)(),{id:i=`headlessui-menu-items-${a}`,...c}=e,[p,x]=P("Menu.Items"),h=(0,d.T)(p.itemsRef,t),w=(0,N.i)(p.itemsRef),R=(0,u.G)(),j=(0,b.oJ)(),T=null!==j?(j&b.ZM.Open)===b.ZM.Open:0===p.menuState;(0,s.useEffect)((()=>{let e=p.itemsRef.current;e&&0===p.menuState&&e!==(null==w?void 0:w.activeElement)&&e.focus({preventScroll:!0})}),[p.menuState,p.itemsRef,w]),(0,y.B)({container:p.itemsRef.current,enabled:0===p.menuState,accept:e=>"menuitem"===e.getAttribute("role")?NodeFilter.FILTER_REJECT:e.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute("role","none")}});let k=(0,I.z)((e=>{var t,n;switch(R.dispose(),e.key){case v.R.Space:if(""!==p.searchQuery)return e.preventDefault(),e.stopPropagation(),x({type:3,value:e.key});case v.R.Enter:if(e.preventDefault(),e.stopPropagation(),x({type:1}),null!==p.activeItemIndex){let{dataRef:e}=p.items[p.activeItemIndex];null==(n=null==(t=e.current)?void 0:t.domRef.current)||n.click()}(0,g.wI)(p.buttonRef.current);break;case v.R.ArrowDown:return e.preventDefault(),e.stopPropagation(),x({type:2,focus:m.T.Next});case v.R.ArrowUp:return e.preventDefault(),e.stopPropagation(),x({type:2,focus:m.T.Previous});case v.R.Home:case v.R.PageUp:return e.preventDefault(),e.stopPropagation(),x({type:2,focus:m.T.First});case v.R.End:case v.R.PageDown:return e.preventDefault(),e.stopPropagation(),x({type:2,focus:m.T.Last});case v.R.Escape:e.preventDefault(),e.stopPropagation(),x({type:1}),(0,l.k)().nextFrame((()=>{var e;return null==(e=p.buttonRef.current)?void 0:e.focus({preventScroll:!0})}));break;case v.R.Tab:e.preventDefault(),e.stopPropagation(),x({type:1}),(0,l.k)().nextFrame((()=>{(0,g.EO)(p.buttonRef.current,e.shiftKey?g.TO.Previous:g.TO.Next)}));break;default:1===e.key.length&&(x({type:3,value:e.key}),R.setTimeout((()=>x({type:4})),350))}})),S=(0,I.z)((e=>{if(e.key===v.R.Space)e.preventDefault()})),C=(0,s.useMemo)((()=>({open:0===p.menuState})),[p]),M={"aria-activedescendant":null===p.activeItemIndex||null==(n=p.items[p.activeItemIndex])?void 0:n.id,"aria-labelledby":null==(r=p.buttonRef.current)?void 0:r.id,id:i,onKeyDown:k,onKeyUp:S,role:"menu",tabIndex:0,ref:h};return(0,o.sY)({ourProps:M,theirProps:c,slot:C,defaultTag:"div",features:D,visible:T,name:"Menu.Items"})})),L=(0,o.yV)((function(e,t){let n=(0,f.M)(),{id:r=`headlessui-menu-item-${n}`,disabled:a=!1,...i}=e,[u,v]=P("Menu.Item"),p=null!==u.activeItemIndex&&u.items[u.activeItemIndex].id===r,x=(0,s.useRef)(null),y=(0,d.T)(t,x);(0,c.e)((()=>{if(0!==u.menuState||!p||0===u.activationTrigger)return;let e=(0,l.k)();return e.requestAnimationFrame((()=>{var e,t;null==(t=null==(e=x.current)?void 0:e.scrollIntoView)||t.call(e,{block:"nearest"})})),e.dispose}),[x,p,u.menuState,u.activationTrigger,u.activeItemIndex]);let b=(0,s.useRef)({disabled:a,domRef:x});(0,c.e)((()=>{b.current.disabled=a}),[b,a]),(0,c.e)((()=>{var e,t;b.current.textValue=null==(t=null==(e=x.current)?void 0:e.textContent)?void 0:t.toLowerCase()}),[b,x]),(0,c.e)((()=>(v({type:5,id:r,dataRef:b}),()=>v({type:6,id:r}))),[b,r]);let h=(0,I.z)((()=>{v({type:1})})),N=(0,I.z)((e=>{if(a)return e.preventDefault();v({type:1}),(0,g.wI)(u.buttonRef.current)})),R=(0,I.z)((()=>{if(a)return v({type:2,focus:m.T.Nothing});v({type:2,focus:m.T.Specific,id:r})})),j=(0,w.g)(),T=(0,I.z)((e=>j.update(e))),k=(0,I.z)((e=>{j.wasMoved(e)&&(a||p||v({type:2,focus:m.T.Specific,id:r,trigger:0}))})),S=(0,I.z)((e=>{j.wasMoved(e)&&(a||p&&v({type:2,focus:m.T.Nothing}))})),C=(0,s.useMemo)((()=>({active:p,disabled:a,close:h})),[p,a,h]);return(0,o.sY)({ourProps:{id:r,ref:y,role:"menuitem",tabIndex:!0===a?void 0:-1,"aria-disabled":!0===a||void 0,disabled:void 0,onClick:N,onFocus:R,onPointerEnter:T,onMouseEnter:T,onPointerMove:k,onMouseMove:k,onPointerLeave:S,onMouseLeave:S},theirProps:i,slot:C,defaultTag:A,name:"Menu.Item"})})),K=Object.assign(F,{Button:O,Items:z,Item:L})},14157:function(e,t,n){n.d(t,{f:function(){return i}});var r=n(67294),a=n(16723);function s(e){var t;if(e.type)return e.type;let n=null!=(t=e.as)?t:"button";return"string"==typeof n&&"button"===n.toLowerCase()?"button":void 0}function i(e,t){let[n,i]=(0,r.useState)((()=>s(e)));return(0,a.e)((()=>{i(s(e))}),[e.type,e.as]),(0,a.e)((()=>{n||t.current&&t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&i("button")}),[n,t]),n}},40476:function(e,t,n){n.d(t,{g:function(){return s}});var r=n(67294);function a(e){return[e.screenX,e.screenY]}function s(){let e=(0,r.useRef)([-1,-1]);return{wasMoved(t){let n=a(t);return(e.current[0]!==n[0]||e.current[1]!==n[1])&&(e.current=n,!0)},update(t){e.current=a(t)}}}},31591:function(e,t,n){n.d(t,{B:function(){return i}});var r=n(67294),a=n(16723),s=n(15466);function i({container:e,accept:t,walk:n,enabled:i=!0}){let o=(0,r.useRef)(t),l=(0,r.useRef)(n);(0,r.useEffect)((()=>{o.current=t,l.current=n}),[t,n]),(0,a.e)((()=>{if(!e||!i)return;let t=(0,s.r)(e);if(!t)return;let n=o.current,r=l.current,a=Object.assign((e=>n(e)),{acceptNode:n}),u=t.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,a,!1);for(;u.nextNode();)r(u.currentNode)}),[e,i,o,l])}},11497:function(e,t,n){n.d(t,{T:function(){return a},d:function(){return s}});var r,a=((r=a||{})[r.First=0]="First",r[r.Previous=1]="Previous",r[r.Next=2]="Next",r[r.Last=3]="Last",r[r.Specific=4]="Specific",r[r.Nothing=5]="Nothing",r);function s(e,t){let n=t.resolveItems();if(n.length<=0)return null;let r=t.resolveActiveIndex(),a=null!=r?r:-1,s=(()=>{switch(e.focus){case 0:return n.findIndex((e=>!t.resolveDisabled(e)));case 1:{let e=n.slice().reverse().findIndex(((e,n,r)=>!(-1!==a&&r.length-n-1>=a)&&!t.resolveDisabled(e)));return-1===e?e:n.length-1-e}case 2:return n.findIndex(((e,n)=>!(n<=a)&&!t.resolveDisabled(e)));case 3:{let e=n.slice().reverse().findIndex((e=>!t.resolveDisabled(e)));return-1===e?e:n.length-1-e}case 4:return n.findIndex((n=>t.resolveId(n)===e.id));case 5:return null;default:!function(e){throw new Error("Unexpected object: "+e)}(e)}})();return-1===s?r:s}}}]); -------------------------------------------------------------------------------- /assets/js/165.46ec08849cec3a31.js: -------------------------------------------------------------------------------- 1 | "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[165],{165:function(l,e,s){s.r(e),s.d(e,{default:function(){return S}});var i=s(14251),t=s(85893),o=s(31996),n=s(67294),a=s(41664),c=s.n(a),d=s(90387),r=s(52077),u=s(90434),v=s(41984),h=s(71029),x=s(85296),g=s(44171),m=s(43180),f=s(10151),p=s(36234),j=s(66909),b=s(49791),y=s(28239),N=s(48192),w=s(94206),k=s(13487),F=s(43751),Z=s(72510),D=s(92164),A=s(74007),C=[{id:"facebook",host:"facebook.com"},{id:"twitter",host:"twitter.com"},{id:"linkedin",host:"linkedin.com"},{id:"youtube",host:"youtube.com"},{id:"pinterest",host:"pinterest.com"},{id:"instagram",host:"instagram.com"},{id:"tiktok",host:"tiktok.com"},{id:"thumbtack",host:"thumbtack.com"},{id:"homeadvisor",host:"homeadvisor.com"},{id:"angi",host:"angi.com"},{id:"behance",host:"behance.net"},{id:"dribbble",host:"dribbble.com"}];function S(l){var e,s,a=l.website,S=(l.office,(0,n.useState)(!1)),L=S[0],K=S[1],M=(0,n.useState)("#FFFFFF"),_=M[0],E=M[1],P=(0,n.useState)("#111827"),z=P[0],W=P[1],I=(0,n.useState)(""),R=I[0],O=I[1],B=(0,n.useState)(null),U=B[0],V=B[1],T=(0,d.useRouter)(),$=null===a||void 0===a?void 0:a.footer,q=null===a||void 0===a?void 0:a.header,G=null===(s=null===(e=a.pages)||void 0===e?void 0:e.filter((function(l){return!0===l.showOnFooter||void 0===l.showOnFooter})))||void 0===s?void 0:s.map((function(l){var e={href:"/".concat(l.slug||""),name:l.label,current:T.asPath==="/".concat(l.slug||""),type:l.type};return"parent"===e.type&&(e.nests=a.pages.filter((function(e){return e.Parent===l._id})).map((function(e){return{href:"/".concat(l.slug,"/").concat(e.slug||""),name:e.label,current:T.asPath==="/".concat(l.slug,"/").concat(e.slug||"")}})),0===e.nests.length)?null:e})).filter((function(l){return null!==l})),H=function(){var l,e,s,n,c,d,r,u;return $.showLogo&&"branding"===$.source&&(null===a||void 0===a?void 0:a.logo)?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("img",{className:"hidden lg:block transition-all object-contain",src:null===a||void 0===a||null===(l=a.logo)||void 0===l?void 0:l.url,alt:null===$||void 0===$?void 0:$.businessName,style:{height:(null===$||void 0===$||null===(e=$.logoDesktop)||void 0===e?void 0:e.height)+"px"}}),(0,t.jsx)("img",{className:"lg:hidden transition-all object-contain",src:null===a||void 0===a||null===(s=a.logo)||void 0===s?void 0:s.url,alt:null===$||void 0===$?void 0:$.businessName,style:{height:(null===$||void 0===$||null===(n=$.logoMobile)||void 0===n?void 0:n.height)+"px"}})]}):$.showLogo&&"upload"===$.source&&(null===$||void 0===$?void 0:$.customLogo)?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("img",{className:"hidden lg:block transition-all object-contain",src:null===$||void 0===$||null===(c=$.customLogo)||void 0===c?void 0:c.url,alt:null===$||void 0===$?void 0:$.businessName,style:{height:(null===$||void 0===$||null===(d=$.logoDesktop)||void 0===d?void 0:d.height)+"px"}}),(0,t.jsx)("img",{className:"lg:hidden transition-all object-contain text-2xl",src:null===$||void 0===$||null===(r=$.customLogo)||void 0===r?void 0:r.url,alt:null===$||void 0===$?void 0:$.businessName,style:{height:(null===$||void 0===$||null===(u=$.logoMobile)||void 0===u?void 0:u.height)+"px"}})]}):(0,t.jsx)("h3",{className:(0,o.AK)("whitespace-nowrap text-xl lg:text-2xl","simple-right"!==(null===$||void 0===$?void 0:$.style)&&"simple-center"!==(null===$||void 0===$?void 0:$.style)&&"xl:text-h3"),style:(0,i.Z)({color:z},(0,o.j2)(a)),children:null===$||void 0===$?void 0:$.businessName})},J=function(){if(0===(null===G||void 0===G?void 0:G.length))return(0,t.jsx)(t.Fragment,{});var l=(0,o.h)(_,-10);return l!==z&&l!==_||(l=(0,o.h)(_,10)),(0,t.jsx)("ul",{className:(0,o.AK)("flex flex-col lg:flex-row items-start lg:items-center flex-wrap gap-6","stacked-right"===(null===$||void 0===$?void 0:$.style)&&"justify-end items-end",("stacked-center"===(null===$||void 0===$?void 0:$.style)||"simple-center"===(null===$||void 0===$?void 0:$.style))&&"justify-center items-center"),style:{color:z},children:null===G||void 0===G?void 0:G.filter((function(l){return"nested"!==l.type})).map((function(e){var s;return(0,t.jsx)("li",{className:(0,o.AK)("border-b-2"),style:{borderColor:e.current?"".concat(z):"transparent"},children:"parent"===e.type?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(A.Z,{className:"!hidden lg:!inline-block",openUp:!0,buttonClassName:"inline-flex items-center gap-2 py-1.5",itemsContainerClass:"!pl-6 !pr-12",button:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"font-light whitespace-nowrap",children:e.name}),(0,t.jsx)(u.Z,{className:"w-4 h-4"})]}),itemsContainerStyle:{backgroundColor:l,color:z},children:null===(s=e.nests)||void 0===s?void 0:s.map((function(l){return(0,t.jsx)(Z.v.Item,{children:(0,t.jsx)(c(),{href:l.href,legacyBehavior:!1,className:"block py-2 font-light whitespace-nowrap border-b-2",style:{borderColor:l.current?"".concat(z):"transparent"},children:l.name})},"page-link-".concat(l.href))}))}),(0,t.jsxs)("button",{className:"inline-flex lg:hidden items-center gap-2",onClick:function(){K(!0),V(e.nests)},children:[(0,t.jsx)("span",{children:e.name}),(0,t.jsx)(v.Z,{className:"w-4 h-4","aria-hidden":"true"})]})]}):(0,t.jsx)(c(),{href:e.href,children:(0,t.jsx)("a",{className:"block py-1.5 font-light",children:e.name})})},"page-link-".concat(e.href))}))})},Q=function(){return(0,t.jsx)("ul",{className:(0,o.AK)("flex items-center gap-x-4 gap-y-2 flex-wrap","stacked-right"===(null===$||void 0===$?void 0:$.style)&&"justify-end",("stacked-center"===(null===$||void 0===$?void 0:$.style)||"simple-center"===(null===$||void 0===$?void 0:$.style))&&"justify-center"),children:Array.isArray(a.social)&&a.social.map((function(l,e){var s=C.find((function(e){return e.id===l.type})),i=l.link;return"custom"!==l.type&&(i=(i=l.link.replace(/[(http(s)?):\/\/(www\.)?a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\//gi,"").replace(/https?:/g,"").replace(/^\/\/?/g,"")).replace(null===s||void 0===s?void 0:s.host,""),i="https://".concat(null===s||void 0===s?void 0:s.host,"/").concat(i)),(0,t.jsx)("li",{children:(0,t.jsx)(c(),{href:i,children:(0,t.jsx)("a",{target:"_blank",children:Y(l)})})},"social-icon-header-".concat(e))}))})},X=function(){return!1===$.madeWithDurable?(0,t.jsx)(t.Fragment,{}):(0,t.jsxs)("p",{className:(0,o.AK)("text-body lg:text-right whitespace-nowrap",("stacked-center"===(null===$||void 0===$?void 0:$.style)||"simple-center"===(null===$||void 0===$?void 0:$.style))&&"!text-center","stacked-left"===(null===$||void 0===$?void 0:$.style)&&"!text-left"),children:[(0,t.jsx)("span",{children:"Made with\xa0"}),(0,t.jsx)(c(),{href:"https://durable.co?referrer=".concat(encodeURIComponent(R)),children:(0,t.jsx)("a",{target:"_blank",className:"underline",style:{color:z},children:"Durable"})})]})},Y=function(l){var e="w-8 h-8";switch(l.type){case"angi":return(0,t.jsx)(h.Z,{className:e,style:{color:z}});case"behance":return(0,t.jsx)(x.Z,{className:e,style:{color:z}});case"dribbble":return(0,t.jsx)(g.Z,{className:e,style:{color:z}});case"facebook":return(0,t.jsx)(m.Z,{className:e,style:{color:z}});case"homeadvisor":return(0,t.jsx)(f.Z,{className:e,style:{color:z}});case"instagram":return(0,t.jsx)(p.Z,{className:e,style:{color:z}});case"linkedin":return(0,t.jsx)(j.Z,{className:e,style:{color:z}});case"pinterest":return(0,t.jsx)(b.Z,{className:e,style:{color:z}});case"tiktok":return(0,t.jsx)(y.Z,{className:e,style:{color:z}});case"thumbtack":return(0,t.jsx)(N.Z,{className:e,style:{color:z}});case"twitter":return(0,t.jsx)(w.Z,{className:e,style:{color:z}});case"youtube":return(0,t.jsx)(k.Z,{className:e,style:{color:z}});case"custom":var s,i;return(0,t.jsx)("div",{className:(0,o.AK)("flex-shrink-0 relative",e),children:(0,t.jsx)("div",{className:"absolute w-full h-full",style:{backgroundColor:z||"#000000",WebkitMaskImage:'url("'.concat(null===l||void 0===l||null===(s=l.icon)||void 0===s?void 0:s.url,'")'),maskImage:'url("'.concat(null===l||void 0===l||null===(i=l.icon)||void 0===i?void 0:i.url,'")'),WebkitMaskPosition:"center",maskPosition:"center",WebkitMaskRepeat:"no-repeat",maskRepeat:"no-repeat",WebkitMaskSize:"contain",maskSize:"contain"}})})}},ll=function(){K(!1),V(null)};return(0,n.useEffect)((function(){if($){var l;if(E($.background||"#FFFFFF"),$.showName&&(null===$.businessName||void 0===$.businessName))$.businessName=null===a||void 0===a||null===(l=a.Business)||void 0===l?void 0:l.name;null!==$.businessAddress&&void 0!==$.businessAddress||($.businessAddress="")}}),[$]),(0,n.useEffect)((function(){_&&W((0,o.$O)(_))}),[_]),(0,n.useEffect)((function(){T&&ll()}),[T]),(0,n.useEffect)((function(){O(null===location||void 0===location?void 0:location.origin)}),[]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("footer",{className:"flex-1",style:{backgroundColor:_,color:z},children:(0,t.jsx)("div",{className:(0,o.AK)("flex flex-col lg:flex-row gap-12 container mx-auto py-12 lg:py-14 xl:py-20","stacked-right"===(null===$||void 0===$?void 0:$.style)&&"!flex-col justify-end items-end text-right",("stacked-center"===(null===$||void 0===$?void 0:$.style)||"simple-center"===(null===$||void 0===$?void 0:$.style))&&"!flex-col justify-center text-center","stacked-left"===(null===$||void 0===$?void 0:$.style)&&"!flex-col items-start text-left"),children:"split-left"===(null===$||void 0===$?void 0:$.style)?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex-1 flex flex-col items-start gap-12 lg:gap-6",children:[H(),(0,t.jsxs)("div",{className:"flex flex-col lg:flex-row items-start gap-12 lg:gap-14 w-full lg:w-auto max-w-[100vw] lg:max-w-none",children:[J(),$.showSocial&&Q(),(null===$||void 0===$?void 0:$.button)&&(0,t.jsx)(r.Z,{className:"lg !py-2",button:$.button,website:a})]})]}),(0,t.jsxs)("div",{className:"w-full lg:w-auto lg:max-w-[35%] flex flex-col gap-6",children:[!!$.additionalDetails&&(0,t.jsx)("div",{className:"lg:text-right",style:{color:z},children:null===$||void 0===$?void 0:$.additionalDetails}),X()]})]}):"stacked-right"===$.style?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex flex-col items-end gap-6",children:[H(),!!$.additionalDetails&&(0,t.jsx)("div",{style:{color:z},children:null===$||void 0===$?void 0:$.additionalDetails})]}),(0,t.jsxs)("div",{className:"flex flex-col justify-end gap-12 lg:gap-14",children:[J(),$.showSocial&&Q(),(null===$||void 0===$?void 0:$.button)&&(0,t.jsx)("div",{children:(0,t.jsx)(r.Z,{className:"lg !py-2",button:$.button,website:a})})]}),X()]}):"stacked-center"===$.style?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex flex-col items-center gap-6",children:[H(),!!$.additionalDetails&&(0,t.jsx)("div",{style:{color:z},children:null===$||void 0===$?void 0:$.additionalDetails})]}),(0,t.jsxs)("div",{className:"flex flex-col justify-center gap-12 lg:gap-14",children:[J(),$.showSocial&&Q(),(null===$||void 0===$?void 0:$.button)&&(0,t.jsx)("div",{children:(0,t.jsx)(r.Z,{className:"lg !py-2",button:$.button,website:a})})]}),X()]}):"stacked-left"===$.style?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex flex-col items-start gap-6",children:[H(),!!$.additionalDetails&&(0,t.jsx)("div",{style:{color:z},children:null===$||void 0===$?void 0:$.additionalDetails})]}),(0,t.jsxs)("div",{className:"flex flex-col items-start gap-12 lg:gap-14",children:[J(),$.showSocial&&Q(),(null===$||void 0===$?void 0:$.button)&&(0,t.jsx)("div",{children:(0,t.jsx)(r.Z,{className:"lg !py-2",button:$.button,website:a})})]}),X()]}):"simple-right"===$.style?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:(0,o.AK)("flex flex-col lg:flex-row items-start lg:items-center gap-6",(null===$||void 0===$?void 0:$.showLogo)?"lg:gap-10":"lg:gap-2"),children:[H(),!!$.additionalDetails&&(0,t.jsxs)(t.Fragment,{children:[!(null===$||void 0===$?void 0:$.showLogo)&&(0,t.jsx)("span",{className:"hidden lg:inline-block",children:"\xb7"}),(0,t.jsx)("div",{className:"text-body",style:{color:z},children:null===$||void 0===$?void 0:$.additionalDetails})]})]}),(0,t.jsxs)("div",{className:"flex-1 w-full flex flex-col lg:flex-row lg:items-center gap-12 lg:gap-14 justify-end",children:[(0,t.jsxs)("div",{className:"flex flex-col lg:flex-row items-start lg:items-center lg:justify-end gap-12 lg:gap-14 w-full lg:w-auto max-w-[100vw]",children:[J(),$.showSocial&&Q(),(null===$||void 0===$?void 0:$.button)&&(0,t.jsx)(r.Z,{className:"lg !py-2",button:$.button,website:a})]}),X()]})]}):"simple-center"===$.style?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:(0,o.AK)("flex flex-col justify-center lg:items-center gap-6",(null===$||void 0===$?void 0:$.showLogo)?"lg:gap-6":"lg:flex-row lg:gap-2"),children:[H(),!!$.additionalDetails&&(0,t.jsxs)(t.Fragment,{children:[!(null===$||void 0===$?void 0:$.showLogo)&&(0,t.jsx)("span",{className:"hidden lg:inline-block",children:"\xb7"}),(0,t.jsx)("div",{className:"text-body",style:{color:z},children:null===$||void 0===$?void 0:$.additionalDetails})]})]}),(0,t.jsxs)("div",{className:"flex-1 w-full flex flex-col lg:flex-row lg:items-center justify-center gap-12 lg:gap-14",children:[(0,t.jsxs)("div",{className:"flex flex-col lg:flex-row items-center gap-12 lg:gap-14 w-full lg:w-auto max-w-[100vw]",children:[J(),$.showSocial&&Q(),(null===$||void 0===$?void 0:$.button)&&(0,t.jsx)(r.Z,{className:"lg !py-2",button:$.button,website:a})]}),X()]})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex flex-col items-start gap-6 w-full lg:w-auto lg:max-w-[35%]",children:[H(),!!(null===$||void 0===$?void 0:$.additionalDetails)&&(0,t.jsx)("div",{style:{color:z},children:null===$||void 0===$?void 0:$.additionalDetails})]}),(0,t.jsxs)("div",{className:"flex-1 w-full flex flex-col gap-12 lg:gap-6 justify-end",children:[(0,t.jsxs)("div",{className:"flex flex-col lg:flex-row items-start lg:justify-end gap-12 lg:gap-14 w-full lg:w-auto max-w-[100vw]",children:[J(),$.showSocial&&Q(),(null===$||void 0===$?void 0:$.button)&&(0,t.jsx)(r.Z,{className:"lg !py-2",button:$.button,website:a})]}),X()]})]})})}),(0,t.jsx)(D.V,{open:L,onClose:ll,className:"relative z-50 h-full",children:(0,t.jsx)(D.V.Panel,{className:"fixed inset-0 flex flex-col h-full",style:{backgroundColor:_,color:z},children:(0,t.jsxs)("div",{className:"flex-1 flex flex-col h-full container mx-auto pb-6",children:[(0,t.jsxs)("div",{className:(0,o.AK)("items-center gap-3 py-6","left"!==(null===q||void 0===q?void 0:q.style)?"grid":"flex justify-between"),style:"left"!==(null===q||void 0===q?void 0:q.style)?{gridTemplateColumns:"1fr auto 1fr"}:{},children:[("center"===(null===q||void 0===q?void 0:q.style)||"full-center"===(null===q||void 0===q?void 0:q.style))&&(0,t.jsx)("div",{}),function(){var l,e,s,n,d,r,u,v;return(null===q||void 0===q?void 0:q.showLogo)&&"branding"===(null===q||void 0===q?void 0:q.source)&&(null===a||void 0===a?void 0:a.logo)?(0,t.jsx)(c(),{href:"/",children:(0,t.jsxs)("a",{children:[(0,t.jsx)("img",{className:"hidden lg:block transition-all object-contain",src:null===a||void 0===a||null===(l=a.logo)||void 0===l?void 0:l.url,alt:null===q||void 0===q?void 0:q.siteName,style:{height:(null===q||void 0===q||null===(e=q.logoDesktop)||void 0===e?void 0:e.height)+"px"}}),(0,t.jsx)("img",{className:"lg:hidden transition-all object-contain",src:null===a||void 0===a||null===(s=a.logo)||void 0===s?void 0:s.url,alt:null===q||void 0===q?void 0:q.siteName,style:{height:(null===q||void 0===q||null===(n=q.logoMobile)||void 0===n?void 0:n.height)+"px"}})]})}):(null===q||void 0===q?void 0:q.showLogo)&&"upload"===(null===q||void 0===q?void 0:q.source)&&(null===q||void 0===q?void 0:q.customLogo)?(0,t.jsx)(c(),{href:"/",children:(0,t.jsxs)("a",{children:[(0,t.jsx)("img",{className:"hidden lg:block transition-all object-contain",src:null===q||void 0===q||null===(d=q.customLogo)||void 0===d?void 0:d.url,alt:null===q||void 0===q?void 0:q.siteName,style:{height:(null===q||void 0===q||null===(r=q.logoDesktop)||void 0===r?void 0:r.height)+"px"}}),(0,t.jsx)("img",{className:"lg:hidden transition-all object-contain",src:null===q||void 0===q||null===(u=q.customLogo)||void 0===u?void 0:u.url,alt:null===q||void 0===q?void 0:q.siteName,style:{height:(null===q||void 0===q||null===(v=q.logoMobile)||void 0===v?void 0:v.height)+"px"}})]})}):(0,t.jsx)(c(),{href:"/",children:(0,t.jsx)("a",{children:(0,t.jsx)("h1",{className:"text-h6 lg:text-h4 xl:text-h3 font-medium max-w-60 md:max-w-100 truncate",style:(0,i.Z)({color:z},(0,o.j2)(a)),children:null===q||void 0===q?void 0:q.siteName})})})}(),(0,t.jsx)("div",{className:"ml-auto lg:hidden",children:(0,t.jsx)("button",{className:"inline-flex items-center justify-center p-2 rounded-md focus:outline-none",style:{color:z},onClick:ll,children:(0,t.jsx)(F.Z,{className:"block h-5 w-5","aria-hidden":"true"})})})]}),(0,t.jsx)("ul",{className:(0,o.AK)("flex-1 flex flex-col justify-center gap-4 w-full py-6 overflow-auto","center"===(null===$||void 0===$?void 0:$.style)||"full-center"===(null===$||void 0===$?void 0:$.style)?"text-center":""),style:{color:z},children:null===U||void 0===U?void 0:U.map((function(l){return(0,t.jsx)("li",{className:(0,o.AK)("font-light text-xl py-2 border-b-2"),style:{borderColor:l.current?"".concat(z):"transparent"},children:(0,t.jsx)(c(),{href:l.href,children:(0,t.jsx)("a",{className:"block w-full",children:l.name})})},"page-link-".concat(l.href))}))})]})})})]})}}}]); -------------------------------------------------------------------------------- /assets/js/164.2a2b52136da2fb75.js: -------------------------------------------------------------------------------- 1 | "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[164],{92164:function(e,t,n){n.d(t,{V:function(){return ke}});var r=n(67294),o=n.t(r,2),l=n(32984),a=n(12351),u=n(23784),i=n(61363),c=n(64103),s=n(19946),d=n(82180),f=n(46045),p=n(84575),m=n(73781),v=n(3855);var g=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(g||{});function h(){let e=(0,r.useRef)(0);return function(e,t,n){let o=(0,v.E)(t);(0,r.useEffect)((()=>{function t(e){o.current(e)}return window.addEventListener(e,t,n),()=>window.removeEventListener(e,t,n)}),[e,n])}("keydown",(t=>{"Tab"===t.key&&(e.current=t.shiftKey?1:0)}),!0),e}var E=n(14879),w=n(51074);function b(e,t,n,o){let l=(0,v.E)(n);(0,r.useEffect)((()=>{function n(e){l.current(e)}return(e=null!=e?e:window).addEventListener(t,n,o),()=>e.removeEventListener(t,n,o)}),[e,t,o])}var y=n(81021),T=n(96599),C=n(94192);function P(e){if(!e)return new Set;if("function"==typeof e)return new Set(e());let t=new Set;for(let n of e.current)n.current instanceof HTMLElement&&t.add(n.current);return t}var L=(e=>(e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.All=30]="All",e))(L||{});let S=(0,a.yV)((function(e,t){let n=(0,r.useRef)(null),o=(0,u.T)(n,t),{initialFocus:i,containers:c,features:s=30,...v}=e;(0,d.H)()||(s=1);let L=(0,w.i)(n);!function({ownerDocument:e},t){let n=function(e=!0){let t=(0,r.useRef)(D.slice());return(0,T.q)((([e],[n])=>{!0===n&&!1===e&&(0,y.Y)((()=>{t.current.splice(0)})),!1===n&&!0===e&&(t.current=D.slice())}),[e,D,t]),(0,m.z)((()=>{var e;return null!=(e=t.current.find((e=>null!=e&&e.isConnected)))?e:null}))}(t);(0,T.q)((()=>{t||(null==e?void 0:e.activeElement)===(null==e?void 0:e.body)&&(0,p.C5)(n())}),[t]);let o=(0,r.useRef)(!1);(0,r.useEffect)((()=>(o.current=!1,()=>{o.current=!0,(0,y.Y)((()=>{o.current&&(0,p.C5)(n())}))})),[])}({ownerDocument:L},Boolean(16&s));let S=function({ownerDocument:e,container:t,initialFocus:n},o){let l=(0,r.useRef)(null),a=(0,E.t)();return(0,T.q)((()=>{if(!o)return;let r=t.current;r&&(0,y.Y)((()=>{if(!a.current)return;let t=null==e?void 0:e.activeElement;if(null!=n&&n.current){if((null==n?void 0:n.current)===t)return void(l.current=t)}else if(r.contains(t))return void(l.current=t);null!=n&&n.current?(0,p.C5)(n.current):(0,p.jA)(r,p.TO.First)===p.fE.Error&&console.warn("There are no focusable elements inside the "),l.current=null==e?void 0:e.activeElement}))}),[o]),l}({ownerDocument:L,container:n,initialFocus:i},Boolean(2&s));!function({ownerDocument:e,container:t,containers:n,previousActiveElement:r},o){let l=(0,E.t)();b(null==e?void 0:e.defaultView,"focus",(e=>{if(!o||!l.current)return;let a=P(n);t.current instanceof HTMLElement&&a.add(t.current);let u=r.current;if(!u)return;let i=e.target;i&&i instanceof HTMLElement?k(a,i)?(r.current=i,(0,p.C5)(i)):(e.preventDefault(),e.stopPropagation(),(0,p.C5)(u)):(0,p.C5)(r.current)}),!0)}({ownerDocument:L,container:n,containers:c,previousActiveElement:S},Boolean(8&s));let R=h(),O=(0,m.z)((e=>{let t=n.current;t&&(0,l.E)(R.current,{[g.Forwards]:()=>{(0,p.jA)(t,p.TO.First,{skipElements:[e.relatedTarget]})},[g.Backwards]:()=>{(0,p.jA)(t,p.TO.Last,{skipElements:[e.relatedTarget]})}})})),M=(0,C.G)(),A=(0,r.useRef)(!1),F={ref:o,onKeyDown(e){"Tab"==e.key&&(A.current=!0,M.requestAnimationFrame((()=>{A.current=!1})))},onBlur(e){let t=P(c);n.current instanceof HTMLElement&&t.add(n.current);let r=e.relatedTarget;r instanceof HTMLElement&&"true"!==r.dataset.headlessuiFocusGuard&&(k(t,r)||(A.current?(0,p.jA)(n.current,(0,l.E)(R.current,{[g.Forwards]:()=>p.TO.Next,[g.Backwards]:()=>p.TO.Previous})|p.TO.WrapAround,{relativeTo:e.target}):e.target instanceof HTMLElement&&(0,p.C5)(e.target)))}};return r.createElement(r.Fragment,null,Boolean(4&s)&&r.createElement(f._,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:O,features:f.A.Focusable}),(0,a.sY)({ourProps:F,theirProps:v,defaultTag:"div",name:"FocusTrap"}),Boolean(4&s)&&r.createElement(f._,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:O,features:f.A.Focusable}))})),R=Object.assign(S,{features:L}),D=[];if("undefined"!=typeof window&&"undefined"!=typeof document){let e=function(e){e.target instanceof HTMLElement&&e.target!==document.body&&D[0]!==e.target&&(D.unshift(e.target),D=D.filter((e=>null!=e&&e.isConnected)),D.splice(10))};window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})}function k(e,t){for(let n of e)if(n.contains(t))return!0;return!1}var O=n(73935),M=n(16723);let A=(0,r.createContext)(!1);function F(){return(0,r.useContext)(A)}function Y(e){return r.createElement(A.Provider,{value:e.force},e.children)}var x=n(77896);let H=r.Fragment;let V=r.Fragment,B=(0,r.createContext)(null);let N=(0,a.yV)((function(e,t){let n=e,o=(0,r.useRef)(null),l=(0,u.T)((0,u.h)((e=>{o.current=e})),t),i=(0,w.i)(o),c=function(e){let t=F(),n=(0,r.useContext)(B),o=(0,w.i)(e),[l,a]=(0,r.useState)((()=>{if(!t&&null!==n||x.O.isServer)return null;let e=null==o?void 0:o.getElementById("headlessui-portal-root");if(e)return e;if(null===o)return null;let r=o.createElement("div");return r.setAttribute("id","headlessui-portal-root"),o.body.appendChild(r)}));return(0,r.useEffect)((()=>{null!==l&&(null!=o&&o.body.contains(l)||null==o||o.body.appendChild(l))}),[l,o]),(0,r.useEffect)((()=>{t||null!==n&&a(n.current)}),[n,a,t]),l}(o),[s]=(0,r.useState)((()=>{var e;return x.O.isServer?null:null!=(e=null==i?void 0:i.createElement("div"))?e:null})),f=(0,d.H)(),p=(0,r.useRef)(!1);return(0,M.e)((()=>{if(p.current=!1,c&&s)return c.contains(s)||(s.setAttribute("data-headlessui-portal",""),c.appendChild(s)),()=>{p.current=!0,(0,y.Y)((()=>{var e;p.current&&(!c||!s||(s instanceof Node&&c.contains(s)&&c.removeChild(s),c.childNodes.length<=0&&(null==(e=c.parentElement)||e.removeChild(c))))}))}}),[c,s]),f&&c&&s?(0,O.createPortal)((0,a.sY)({ourProps:{ref:l},theirProps:n,defaultTag:H,name:"Portal"}),s):null})),I=(0,a.yV)((function(e,t){let{target:n,...o}=e,l={ref:(0,u.T)(t)};return r.createElement(B.Provider,{value:n},(0,a.sY)({ourProps:l,theirProps:o,defaultTag:V,name:"Popover.Group"}))})),_=Object.assign(N,{Group:I}),j=(0,r.createContext)(null);function z(){let e=(0,r.useContext)(j);if(null===e){let e=new Error("You used a component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,z),e}return e}function $(){let[e,t]=(0,r.useState)([]);return[e.length>0?e.join(" "):void 0,(0,r.useMemo)((()=>function(e){let n=(0,m.z)((e=>(t((t=>[...t,e])),()=>t((t=>{let n=t.slice(),r=n.indexOf(e);return-1!==r&&n.splice(r,1),n}))))),o=(0,r.useMemo)((()=>({register:n,slot:e.slot,name:e.name,props:e.props})),[n,e.slot,e.name,e.props]);return r.createElement(j.Provider,{value:o},e.children)}),[t])]}let W=(0,a.yV)((function(e,t){let n=(0,s.M)(),{id:r=`headlessui-description-${n}`,...o}=e,l=z(),i=(0,u.T)(t);(0,M.e)((()=>l.register(r)),[r,l.register]);let c={ref:i,...l.props,id:r};return(0,a.sY)({ourProps:c,theirProps:o,slot:l.slot||{},defaultTag:"p",name:l.name||"Description"})})),q=Object.assign(W,{});var G=n(16567);let U=(0,r.createContext)((()=>{}));U.displayName="StackContext";var Z=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(Z||{});function K({children:e,onUpdate:t,type:n,element:o,enabled:l}){let a=(0,r.useContext)(U),u=(0,m.z)(((...e)=>{null==t||t(...e),a(...e)}));return(0,M.e)((()=>{let e=void 0===l||!0===l;return e&&u(0,n,o),()=>{e&&u(1,n,o)}}),[u,n,o,l]),r.createElement(U.Provider,{value:u},e)}var J=n(39650);const Q="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},{useState:X,useEffect:ee,useLayoutEffect:te,useDebugValue:ne}=o;function re(e){const t=e.getSnapshot,n=e.value;try{const e=t();return!Q(n,e)}catch{return!0}}const oe=!("undefined"!=typeof window&&"undefined"!=typeof window.document&&"undefined"!=typeof window.document.createElement)?function(e,t,n){return t()}:function(e,t,n){const r=t(),[{inst:o},l]=X({inst:{value:r,getSnapshot:t}});return te((()=>{o.value=r,o.getSnapshot=t,re(o)&&l({inst:o})}),[e,r,t]),ee((()=>(re(o)&&l({inst:o}),e((()=>{re(o)&&l({inst:o})})))),[e]),ne(r),r},le=oe;var ae=n(9362);function ue(){let e;return{before({doc:t}){var n;let r=t.documentElement;e=(null!=(n=t.defaultView)?n:window).innerWidth-r.clientWidth},after({doc:t,d:n}){let r=t.documentElement,o=r.clientWidth-r.offsetWidth,l=e-o;n.style(r,"paddingRight",`${l}px`)}}}var ie=n(78657);function ce(){if(!(0,ie.gn)())return{};let e;return{before(){e=window.pageYOffset},after({doc:t,d:n,meta:r}){function o(e){return r.containers.flatMap((e=>e())).some((t=>t.contains(e)))}n.style(t.body,"marginTop",`-${e}px`),window.scrollTo(0,0);let l=null;n.addEventListener(t,"click",(e=>{if(e.target instanceof HTMLElement)try{let n=e.target.closest("a");if(!n)return;let{hash:r}=new URL(n.href),a=t.querySelector(r);a&&!o(a)&&(l=a)}catch{}}),!0),n.addEventListener(t,"touchmove",(e=>{e.target instanceof HTMLElement&&!o(e.target)&&e.preventDefault()}),{passive:!1}),n.add((()=>{window.scrollTo(0,window.pageYOffset+e),l&&l.isConnected&&(l.scrollIntoView({block:"nearest"}),l=null)}))}}}function se(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let de=function(e,t){let n=e(),r=new Set;return{getSnapshot:()=>n,subscribe:e=>(r.add(e),()=>r.delete(e)),dispatch(e,...o){let l=t[e].call(n,...o);l&&(n=l,r.forEach((e=>e())))}}}((()=>new Map),{PUSH(e,t){var n;let r=null!=(n=this.get(e))?n:{doc:e,count:0,d:(0,ae.k)(),meta:new Set};return r.count++,r.meta.add(t),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:n}){let r={doc:e,d:t,meta:se(n)},o=[ce(),ue(),{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}];o.forEach((({before:e})=>null==e?void 0:e(r))),o.forEach((({after:e})=>null==e?void 0:e(r)))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});function fe(e,t,n){let r=function(e){return le(e.subscribe,e.getSnapshot,e.getSnapshot)}(de),o=e?r.get(e):void 0,l=!!o&&o.count>0;return(0,M.e)((()=>{if(e&&t)return de.dispatch("PUSH",e,n),()=>de.dispatch("POP",e,n)}),[t,e]),l}de.subscribe((()=>{let e=de.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let e="hidden"===t.get(n.doc),r=0!==n.count;(r&&!e||!r&&e)&&de.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),0===n.count&&de.dispatch("TEARDOWN",n)}}));let pe=new Map,me=new Map;function ve(e,t=!0){(0,M.e)((()=>{var n;if(!t)return;let r="function"==typeof e?e():e.current;if(!r)return;let o=null!=(n=me.get(r))?n:0;return me.set(r,o+1),0!==o||(pe.set(r,{"aria-hidden":r.getAttribute("aria-hidden"),inert:r.inert}),r.setAttribute("aria-hidden","true"),r.inert=!0),function(){var e;if(!r)return;let t=null!=(e=me.get(r))?e:1;if(1===t?me.delete(r):me.set(r,t-1),1!==t)return;let n=pe.get(r);n&&(null===n["aria-hidden"]?r.removeAttribute("aria-hidden"):r.setAttribute("aria-hidden",n["aria-hidden"]),r.inert=n.inert,pe.delete(r))}}),[e,t])}var ge,he=((ge=he||{})[ge.Open=0]="Open",ge[ge.Closed=1]="Closed",ge),Ee=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(Ee||{});let we={0:(e,t)=>e.titleId===t.id?e:{...e,titleId:t.id}},be=(0,r.createContext)(null);function ye(e){let t=(0,r.useContext)(be);if(null===t){let t=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,ye),t}return t}function Te(e,t){return(0,l.E)(t.type,we,e,t)}be.displayName="DialogContext";let Ce=a.AN.RenderStrategy|a.AN.Static;let Pe=(0,a.yV)((function(e,t){let n=(0,s.M)(),{id:o=`headlessui-dialog-${n}`,open:c,onClose:p,initialFocus:v,__demoMode:g=!1,...h}=e,[E,y]=(0,r.useState)(0),T=(0,G.oJ)();void 0===c&&null!==T&&(c=(T&G.ZM.Open)===G.ZM.Open);let C=(0,r.useRef)(null),P=(0,u.T)(C,t),L=(0,r.useRef)(null),S=(0,w.i)(C),D=e.hasOwnProperty("open")||null!==T,k=e.hasOwnProperty("onClose");if(!D&&!k)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!D)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!k)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if("boolean"!=typeof c)throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${c}`);if("function"!=typeof p)throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${p}`);let O=c?0:1,[M,A]=(0,r.useReducer)(Te,{titleId:null,descriptionId:null,panelRef:(0,r.createRef)()}),F=(0,m.z)((()=>p(!1))),x=(0,m.z)((e=>A({type:0,id:e}))),H=!!(0,d.H)()&&(!g&&0===O),V=E>1,B=null!==(0,r.useContext)(be),N=V?"parent":"leaf",I=null!==T&&(T&G.ZM.Closing)===G.ZM.Closing,j=!B&&!I&&H,z=(0,r.useCallback)((()=>{var e,t;return null!=(t=Array.from(null!=(e=null==S?void 0:S.querySelectorAll("body > *"))?e:[]).find((e=>"headlessui-portal-root"!==e.id&&(e.contains(L.current)&&e instanceof HTMLElement))))?t:null}),[L]);ve(z,j);let W=!!V||H,q=(0,r.useCallback)((()=>{var e,t;return null!=(t=Array.from(null!=(e=null==S?void 0:S.querySelectorAll("[data-headlessui-portal]"))?e:[]).find((e=>e.contains(L.current)&&e instanceof HTMLElement)))?t:null}),[L]);ve(q,W);let U=(0,m.z)((()=>{var e,t;return[...Array.from(null!=(e=null==S?void 0:S.querySelectorAll("html > *, body > *, [data-headlessui-portal]"))?e:[]).filter((e=>!(e===document.body||e===document.head||!(e instanceof HTMLElement)||e.contains(L.current)||M.panelRef.current&&e.contains(M.panelRef.current)))),null!=(t=M.panelRef.current)?t:C.current]})),Q=!(!H||V);(0,J.O)((()=>U()),F,Q);let X=!(V||0!==O);b(null==S?void 0:S.defaultView,"keydown",(e=>{X&&(e.defaultPrevented||e.key===i.R.Escape&&(e.preventDefault(),e.stopPropagation(),F()))})),function(e,t,n=(()=>[document.body])){fe(e,t,(e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],n]}}))}(S,!(I||0!==O||B),U),(0,r.useEffect)((()=>{if(0!==O||!C.current)return;let e=new ResizeObserver((e=>{for(let t of e){let e=t.target.getBoundingClientRect();0===e.x&&0===e.y&&0===e.width&&0===e.height&&F()}}));return e.observe(C.current),()=>e.disconnect()}),[O,C,F]);let[ee,te]=$(),ne=(0,r.useMemo)((()=>[{dialogState:O,close:F,setTitleId:x},M]),[O,M,F,x]),re=(0,r.useMemo)((()=>({open:0===O})),[O]),oe={ref:P,id:o,role:"dialog","aria-modal":0===O||void 0,"aria-labelledby":M.titleId,"aria-describedby":ee};return r.createElement(K,{type:"Dialog",enabled:0===O,element:C,onUpdate:(0,m.z)(((e,t)=>{"Dialog"===t&&(0,l.E)(e,{[Z.Add]:()=>y((e=>e+1)),[Z.Remove]:()=>y((e=>e-1))})}))},r.createElement(Y,{force:!0},r.createElement(_,null,r.createElement(be.Provider,{value:ne},r.createElement(_.Group,{target:C},r.createElement(Y,{force:!1},r.createElement(te,{slot:re,name:"Dialog.Description"},r.createElement(R,{initialFocus:v,containers:U,features:H?(0,l.E)(N,{parent:R.features.RestoreFocus,leaf:R.features.All&~R.features.FocusLock}):R.features.None},(0,a.sY)({ourProps:oe,theirProps:h,slot:re,defaultTag:"div",features:Ce,visible:0===O,name:"Dialog"})))))))),r.createElement(f._,{features:f.A.Hidden,ref:L}))})),Le=(0,a.yV)((function(e,t){let n=(0,s.M)(),{id:o=`headlessui-dialog-backdrop-${n}`,...l}=e,[{dialogState:i},c]=ye("Dialog.Backdrop"),d=(0,u.T)(t);(0,r.useEffect)((()=>{if(null===c.panelRef.current)throw new Error("A component is being used, but a component is missing.")}),[c.panelRef]);let f=(0,r.useMemo)((()=>({open:0===i})),[i]);return r.createElement(Y,{force:!0},r.createElement(_,null,(0,a.sY)({ourProps:{ref:d,id:o,"aria-hidden":!0},theirProps:l,slot:f,defaultTag:"div",name:"Dialog.Backdrop"})))})),Se=(0,a.yV)((function(e,t){let n=(0,s.M)(),{id:o=`headlessui-dialog-panel-${n}`,...l}=e,[{dialogState:i},c]=ye("Dialog.Panel"),d=(0,u.T)(t,c.panelRef),f=(0,r.useMemo)((()=>({open:0===i})),[i]),p=(0,m.z)((e=>{e.stopPropagation()}));return(0,a.sY)({ourProps:{ref:d,id:o,onClick:p},theirProps:l,slot:f,defaultTag:"div",name:"Dialog.Panel"})})),Re=(0,a.yV)((function(e,t){let n=(0,s.M)(),{id:o=`headlessui-dialog-overlay-${n}`,...l}=e,[{dialogState:i,close:d}]=ye("Dialog.Overlay"),f=(0,u.T)(t),p=(0,m.z)((e=>{if(e.target===e.currentTarget){if((0,c.P)(e.currentTarget))return e.preventDefault();e.preventDefault(),e.stopPropagation(),d()}})),v=(0,r.useMemo)((()=>({open:0===i})),[i]);return(0,a.sY)({ourProps:{ref:f,id:o,"aria-hidden":!0,onClick:p},theirProps:l,slot:v,defaultTag:"div",name:"Dialog.Overlay"})})),De=(0,a.yV)((function(e,t){let n=(0,s.M)(),{id:o=`headlessui-dialog-title-${n}`,...l}=e,[{dialogState:i,setTitleId:c}]=ye("Dialog.Title"),d=(0,u.T)(t);(0,r.useEffect)((()=>(c(o),()=>c(null))),[o,c]);let f=(0,r.useMemo)((()=>({open:0===i})),[i]);return(0,a.sY)({ourProps:{ref:d,id:o},theirProps:l,slot:f,defaultTag:"h2",name:"Dialog.Title"})})),ke=Object.assign(Pe,{Backdrop:Le,Panel:Se,Overlay:Re,Title:De,Description:q})},51074:function(e,t,n){n.d(t,{i:function(){return l}});var r=n(67294),o=n(15466);function l(...e){return(0,r.useMemo)((()=>(0,o.r)(...e)),[...e])}}}]); -------------------------------------------------------------------------------- /assets/js/693-0c2a7d539143ac5b.js: -------------------------------------------------------------------------------- 1 | "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[693],{61363:function(e,t,n){n.d(t,{R:function(){return i}});var r,i=((r=i||{}).Space=" ",r.Enter="Enter",r.Escape="Escape",r.Backspace="Backspace",r.Delete="Delete",r.ArrowLeft="ArrowLeft",r.ArrowUp="ArrowUp",r.ArrowRight="ArrowRight",r.ArrowDown="ArrowDown",r.Home="Home",r.End="End",r.PageUp="PageUp",r.PageDown="PageDown",r.Tab="Tab",r)},44080:function(e,t,n){n.d(t,{u:function(){return j}});var r=n(67294),i=n(12351),u=n(16567),o=n(32984),l=n(14879),a=n(16723),s=n(3855),c=n(82180),f=n(23784);var d=n(9362);function m(e,...t){e&&t.length>0&&e.classList.add(...t)}function v(e,...t){e&&t.length>0&&e.classList.remove(...t)}function p(e,t,n,r){let i=n?"enter":"leave",u=(0,d.k)(),l=void 0!==r?function(e){let t={called:!1};return(...n)=>{if(!t.called)return t.called=!0,e(...n)}}(r):()=>{};"enter"===i&&(e.removeAttribute("hidden"),e.style.display="");let a=(0,o.E)(i,{enter:()=>t.enter,leave:()=>t.leave}),s=(0,o.E)(i,{enter:()=>t.enterTo,leave:()=>t.leaveTo}),c=(0,o.E)(i,{enter:()=>t.enterFrom,leave:()=>t.leaveFrom});return v(e,...t.enter,...t.enterTo,...t.enterFrom,...t.leave,...t.leaveFrom,...t.leaveTo,...t.entered),m(e,...a,...c),u.nextFrame((()=>{v(e,...c),m(e,...s),function(e,t){let n=(0,d.k)();if(!e)return n.dispose;let{transitionDuration:r,transitionDelay:i}=getComputedStyle(e),[u,o]=[r,i].map((e=>{let[t=0]=e.split(",").filter(Boolean).map((e=>e.includes("ms")?parseFloat(e):1e3*parseFloat(e))).sort(((e,t)=>t-e));return t})),l=u+o;if(0!==l){n.group((n=>{n.setTimeout((()=>{t(),n.dispose()}),l),n.addEventListener(e,"transitionrun",(e=>{e.target===e.currentTarget&&n.dispose()}))}));let r=n.addEventListener(e,"transitionend",(e=>{e.target===e.currentTarget&&(t(),r())}))}else t();n.add((()=>t())),n.dispose}(e,(()=>(v(e,...a),m(e,...t.entered),l())))})),u.dispose}var h=n(94192);function g({container:e,direction:t,classes:n,onStart:r,onStop:i}){let u=(0,l.t)(),o=(0,h.G)(),c=(0,s.E)(t);(0,a.e)((()=>{let t=(0,d.k)();o.add(t.dispose);let l=e.current;if(l&&"idle"!==c.current&&u.current)return t.dispose(),r.current(c.current),t.add(p(l,n.current,"enter"===c.current,(()=>{t.dispose(),i.current(c.current)}))),t.dispose}),[t])}var E=n(73781),b=n(44067),w=n(77896);function y(e=""){return e.split(" ").filter((e=>e.trim().length>1))}let F=(0,r.createContext)(null);F.displayName="TransitionContext";var O,T=((O=T||{}).Visible="visible",O.Hidden="hidden",O);let S=(0,r.createContext)(null);function A(e){return"children"in e?A(e.children):e.current.filter((({el:e})=>null!==e.current)).filter((({state:e})=>"visible"===e)).length>0}function N(e,t){let n=(0,s.E)(e),u=(0,r.useRef)([]),a=(0,l.t)(),c=(0,h.G)(),f=(0,E.z)(((e,t=i.l4.Hidden)=>{let r=u.current.findIndex((({el:t})=>t===e));-1!==r&&((0,o.E)(t,{[i.l4.Unmount](){u.current.splice(r,1)},[i.l4.Hidden](){u.current[r].state="hidden"}}),c.microTask((()=>{var e;!A(u)&&a.current&&(null==(e=n.current)||e.call(n))})))})),d=(0,E.z)((e=>{let t=u.current.find((({el:t})=>t===e));return t?"visible"!==t.state&&(t.state="visible"):u.current.push({el:e,state:"visible"}),()=>f(e,i.l4.Unmount)})),m=(0,r.useRef)([]),v=(0,r.useRef)(Promise.resolve()),p=(0,r.useRef)({enter:[],leave:[],idle:[]}),g=(0,E.z)(((e,n,r)=>{m.current.splice(0),t&&(t.chains.current[n]=t.chains.current[n].filter((([t])=>t!==e))),null==t||t.chains.current[n].push([e,new Promise((e=>{m.current.push(e)}))]),null==t||t.chains.current[n].push([e,new Promise((e=>{Promise.all(p.current[n].map((([e,t])=>t))).then((()=>e()))}))]),"enter"===n?v.current=v.current.then((()=>null==t?void 0:t.wait.current)).then((()=>r(n))):r(n)})),b=(0,E.z)(((e,t,n)=>{Promise.all(p.current[t].splice(0).map((([e,t])=>t))).then((()=>{var e;null==(e=m.current.shift())||e()})).then((()=>n(t)))}));return(0,r.useMemo)((()=>({children:u,register:d,unregister:f,onStart:g,onStop:b,wait:v,chains:p})),[d,f,u,g,b,p,v])}function P(){}S.displayName="NestingContext";let x=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function C(e){var t;let n={};for(let r of x)n[r]=null!=(t=e[r])?t:P;return n}let L=i.AN.RenderStrategy;let R=(0,i.yV)((function(e,t){let{show:n,appear:o=!1,unmount:l,...s}=e,d=(0,r.useRef)(null),m=(0,f.T)(d,t);(0,c.H)();let v=(0,u.oJ)();if(void 0===n&&null!==v&&(n=(v&u.ZM.Open)===u.ZM.Open),![!0,!1].includes(n))throw new Error("A is used but it is missing a `show={true | false}` prop.");let[p,h]=(0,r.useState)(n?"visible":"hidden"),g=N((()=>{h("hidden")})),[E,b]=(0,r.useState)(!0),w=(0,r.useRef)([n]);(0,a.e)((()=>{!1!==E&&w.current[w.current.length-1]!==n&&(w.current.push(n),b(!1))}),[w,n]);let y=(0,r.useMemo)((()=>({show:n,appear:o,initial:E})),[n,o,E]);(0,r.useEffect)((()=>{if(n)h("visible");else if(A(g)){let e=d.current;if(!e)return;let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&h("hidden")}else h("hidden")}),[n,g]);let O={unmount:l};return r.createElement(S.Provider,{value:g},r.createElement(F.Provider,{value:y},(0,i.sY)({ourProps:{...O,as:r.Fragment,children:r.createElement(M,{ref:m,...O,...s})},theirProps:{},defaultTag:r.Fragment,features:L,visible:"visible"===p,name:"Transition"})))})),M=(0,i.yV)((function(e,t){let{beforeEnter:n,afterEnter:l,beforeLeave:a,afterLeave:d,enter:m,enterFrom:v,enterTo:p,entered:h,leave:O,leaveFrom:T,leaveTo:P,...x}=e,R=(0,r.useRef)(null),M=(0,f.T)(R,t),k=x.unmount?i.l4.Unmount:i.l4.Hidden,{show:j,appear:H,initial:I}=function(){let e=(0,r.useContext)(F);if(null===e)throw new Error("A is used but it is missing a parent or .");return e}(),[D,U]=(0,r.useState)(j?"visible":"hidden"),_=function(){let e=(0,r.useContext)(S);if(null===e)throw new Error("A is used but it is missing a parent or .");return e}(),{register:q,unregister:z}=_,Z=(0,r.useRef)(null);(0,r.useEffect)((()=>q(R)),[q,R]),(0,r.useEffect)((()=>{if(k===i.l4.Hidden&&R.current)return j&&"visible"!==D?void U("visible"):(0,o.E)(D,{hidden:()=>z(R),visible:()=>q(R)})}),[D,R,q,z,j,k]);let V=(0,s.E)({enter:y(m),enterFrom:y(v),enterTo:y(p),entered:y(h),leave:y(O),leaveFrom:y(T),leaveTo:y(P)}),G=function(e){let t=(0,r.useRef)(C(e));return(0,r.useEffect)((()=>{t.current=C(e)}),[e]),t}({beforeEnter:n,afterEnter:l,beforeLeave:a,afterLeave:d}),Y=(0,c.H)();(0,r.useEffect)((()=>{if(Y&&"visible"===D&&null===R.current)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}),[R,D,Y]);let $=I&&!H,B=!Y||$||Z.current===j?"idle":j?"enter":"leave",J=function(e=0){let[t,n]=(0,r.useState)(e),i=(0,r.useCallback)((e=>n((t=>t|e))),[t]),u=(0,r.useCallback)((e=>Boolean(t&e)),[t]),o=(0,r.useCallback)((e=>n((t=>t&~e))),[n]),l=(0,r.useCallback)((e=>n((t=>t^e))),[n]);return{flags:t,addFlag:i,hasFlag:u,removeFlag:o,toggleFlag:l}}(0),W=(0,E.z)((e=>(0,o.E)(e,{enter:()=>{J.addFlag(u.ZM.Opening),G.current.beforeEnter()},leave:()=>{J.addFlag(u.ZM.Closing),G.current.beforeLeave()},idle:()=>{}}))),X=(0,E.z)((e=>(0,o.E)(e,{enter:()=>{J.removeFlag(u.ZM.Opening),G.current.afterEnter()},leave:()=>{J.removeFlag(u.ZM.Closing),G.current.afterLeave()},idle:()=>{}}))),K=N((()=>{U("hidden"),z(R)}),_);g({container:R,classes:V,direction:B,onStart:(0,s.E)((e=>{K.onStart(R,e,W)})),onStop:(0,s.E)((e=>{K.onStop(R,e,X),"leave"===e&&!A(K)&&(U("hidden"),z(R))}))}),(0,r.useEffect)((()=>{$&&(k===i.l4.Hidden?Z.current=null:Z.current=j)}),[j,$,D]);let Q=x,ee={ref:M};return H&&j&&w.O.isServer&&(Q={...Q,className:(0,b.A)(x.className,...V.current.enter,...V.current.enterFrom)}),r.createElement(S.Provider,{value:K},r.createElement(u.up,{value:(0,o.E)(D,{visible:u.ZM.Open,hidden:u.ZM.Closed})|J.flags},(0,i.sY)({ourProps:ee,theirProps:Q,defaultTag:"div",features:L,visible:"visible"===D,name:"Transition.Child"})))})),k=(0,i.yV)((function(e,t){let n=null!==(0,r.useContext)(F),i=null!==(0,u.oJ)();return r.createElement(r.Fragment,null,!n&&i?r.createElement(R,{ref:t,...e}):r.createElement(M,{ref:t,...e}))})),j=Object.assign(R,{Child:k,Root:R})},94192:function(e,t,n){n.d(t,{G:function(){return u}});var r=n(67294),i=n(9362);function u(){let[e]=(0,r.useState)(i.k);return(0,r.useEffect)((()=>()=>e.dispose()),[e]),e}},73781:function(e,t,n){n.d(t,{z:function(){return u}});var r=n(67294),i=n(3855);let u=function(e){let t=(0,i.E)(e);return r.useCallback(((...e)=>t.current(...e)),[t])}},19946:function(e,t,n){n.d(t,{M:function(){return a}});var r,i=n(67294),u=n(16723),o=n(82180),l=n(77896);let a=null!=(r=i.useId)?r:function(){let e=(0,o.H)(),[t,n]=i.useState(e?()=>l.O.nextId():null);return(0,u.e)((()=>{null===t&&n(l.O.nextId())}),[t]),null!=t?""+t:void 0}},14879:function(e,t,n){n.d(t,{t:function(){return u}});var r=n(67294),i=n(16723);function u(){let e=(0,r.useRef)(!1);return(0,i.e)((()=>(e.current=!0,()=>{e.current=!1})),[]),e}},16723:function(e,t,n){n.d(t,{e:function(){return u}});var r=n(67294),i=n(77896);let u=(e,t)=>{i.O.isServer?(0,r.useEffect)(e,t):(0,r.useLayoutEffect)(e,t)}},3855:function(e,t,n){n.d(t,{E:function(){return u}});var r=n(67294),i=n(16723);function u(e){let t=(0,r.useRef)(e);return(0,i.e)((()=>{t.current=e}),[e]),t}},39650:function(e,t,n){n.d(t,{O:function(){return l}});var r=n(67294),i=n(84575),u=n(3855);function o(e,t,n){let i=(0,u.E)(t);(0,r.useEffect)((()=>{function t(e){i.current(e)}return document.addEventListener(e,t,n),()=>document.removeEventListener(e,t,n)}),[e,n])}function l(e,t,n=!0){let u=(0,r.useRef)(!1);function l(n,r){if(!u.current||n.defaultPrevented)return;let o=function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(e),l=r(n);if(null!==l&&l.getRootNode().contains(l)){for(let e of o){if(null===e)continue;let t=e instanceof HTMLElement?e:e.current;if(null!=t&&t.contains(l)||n.composed&&n.composedPath().includes(t))return}return!(0,i.sP)(l,i.tJ.Loose)&&-1!==l.tabIndex&&n.preventDefault(),t(n,l)}}(0,r.useEffect)((()=>{requestAnimationFrame((()=>{u.current=n}))}),[n]);let a=(0,r.useRef)(null);o("mousedown",(e=>{var t,n;u.current&&(a.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)}),!0),o("click",(e=>{a.current&&(l(e,(()=>a.current)),a.current=null)}),!0),o("blur",(e=>l(e,(()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null))),!0)}},82180:function(e,t,n){n.d(t,{H:function(){return u}});var r=n(67294),i=n(77896);function u(){let[e,t]=(0,r.useState)(i.O.isHandoffComplete);return e&&!1===i.O.isHandoffComplete&&t(!1),(0,r.useEffect)((()=>{!0!==e&&t(!0)}),[e]),(0,r.useEffect)((()=>i.O.handoff()),[]),e}},23784:function(e,t,n){n.d(t,{T:function(){return l},h:function(){return o}});var r=n(67294),i=n(73781);let u=Symbol();function o(e,t=!0){return Object.assign(e,{[u]:t})}function l(...e){let t=(0,r.useRef)(e);(0,r.useEffect)((()=>{t.current=e}),[e]);let n=(0,i.z)((e=>{for(let n of t.current)null!=n&&("function"==typeof n?n(e):n.current=e)}));return e.every((e=>null==e||(null==e?void 0:e[u])))?void 0:n}},96599:function(e,t,n){n.d(t,{q:function(){return u}});var r=n(67294),i=n(73781);function u(e,t){let n=(0,r.useRef)([]),u=(0,i.z)(e);(0,r.useEffect)((()=>{let e=[...n.current];for(let[r,i]of t.entries())if(n.current[r]!==i){let r=u(t,e);return n.current=t,r}}),[u,...t])}},46045:function(e,t,n){n.d(t,{A:function(){return u},_:function(){return o}});var r=n(12351);var i,u=((i=u||{})[i.None=1]="None",i[i.Focusable=2]="Focusable",i[i.Hidden=4]="Hidden",i);let o=(0,r.yV)((function(e,t){let{features:n=1,...i}=e,u={ref:t,"aria-hidden":2===(2&n)||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...4===(4&n)&&2!==(2&n)&&{display:"none"}}};return(0,r.sY)({ourProps:u,theirProps:i,slot:{},defaultTag:"div",name:"Hidden"})}))},16567:function(e,t,n){n.d(t,{ZM:function(){return o},oJ:function(){return l},up:function(){return a}});var r=n(67294);let i=(0,r.createContext)(null);i.displayName="OpenClosedContext";var u,o=((u=o||{})[u.Open=1]="Open",u[u.Closed=2]="Closed",u[u.Closing=4]="Closing",u[u.Opening=8]="Opening",u);function l(){return(0,r.useContext)(i)}function a({value:e,children:t}){return r.createElement(i.Provider,{value:e},t)}},64103:function(e,t,n){function r(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=""===(null==t?void 0:t.getAttribute("disabled"));return(!r||!function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(n))&&r}n.d(t,{P:function(){return r}})},44067:function(e,t,n){function r(...e){return e.filter(Boolean).join(" ")}n.d(t,{A:function(){return r}})},9362:function(e,t,n){n.d(t,{k:function(){return i}});var r=n(81021);function i(){let e=[],t={addEventListener:(e,n,r,i)=>(e.addEventListener(n,r,i),t.add((()=>e.removeEventListener(n,r,i)))),requestAnimationFrame(...e){let n=requestAnimationFrame(...e);return t.add((()=>cancelAnimationFrame(n)))},nextFrame:(...e)=>t.requestAnimationFrame((()=>t.requestAnimationFrame(...e))),setTimeout(...e){let n=setTimeout(...e);return t.add((()=>clearTimeout(n)))},microTask(...e){let n={current:!0};return(0,r.Y)((()=>{n.current&&e[0]()})),t.add((()=>{n.current=!1}))},style(e,t,n){let r=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:n}),this.add((()=>{Object.assign(e.style,{[t]:r})}))},group(e){let t=i();return e(t),this.add((()=>t.dispose()))},add:t=>(e.push(t),()=>{let n=e.indexOf(t);if(n>=0)for(let t of e.splice(n,1))t()}),dispose(){for(let t of e.splice(0))t()}};return t}},77896:function(e,t,n){n.d(t,{O:function(){return u}});var r=Object.defineProperty,i=(e,t,n)=>(((e,t,n)=>{t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n);let u=new class{constructor(){i(this,"current",this.detect()),i(this,"handoffState","pending"),i(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}}},84575:function(e,t,n){n.d(t,{C5:function(){return g},EO:function(){return w},TO:function(){return c},fE:function(){return f},jA:function(){return y},sP:function(){return p},tJ:function(){return v},wI:function(){return h},z2:function(){return b}});var r=n(9362),i=n(32984),u=n(15466);let o=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map((e=>`${e}:not([tabindex='-1'])`)).join(",");var l,a,s,c=((s=c||{})[s.First=1]="First",s[s.Previous=2]="Previous",s[s.Next=4]="Next",s[s.Last=8]="Last",s[s.WrapAround=16]="WrapAround",s[s.NoScroll=32]="NoScroll",s),f=((a=f||{})[a.Error=0]="Error",a[a.Overflow=1]="Overflow",a[a.Success=2]="Success",a[a.Underflow=3]="Underflow",a),d=((l=d||{})[l.Previous=-1]="Previous",l[l.Next=1]="Next",l);function m(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(o)).sort(((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER))))}var v=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(v||{});function p(e,t=0){var n;return e!==(null==(n=(0,u.r)(e))?void 0:n.body)&&(0,i.E)(t,{0:()=>e.matches(o),1(){let t=e;for(;null!==t;){if(t.matches(o))return!0;t=t.parentElement}return!1}})}function h(e){let t=(0,u.r)(e);(0,r.k)().nextFrame((()=>{t&&!p(t.activeElement,0)&&g(e)}))}function g(e){null==e||e.focus({preventScroll:!0})}let E=["textarea","input"].join(",");function b(e,t=(e=>e)){return e.slice().sort(((e,n)=>{let r=t(e),i=t(n);if(null===r||null===i)return 0;let u=r.compareDocumentPosition(i);return u&Node.DOCUMENT_POSITION_FOLLOWING?-1:u&Node.DOCUMENT_POSITION_PRECEDING?1:0}))}function w(e,t){return y(m(),t,{relativeTo:e})}function y(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:i=[]}={}){let u=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,o=Array.isArray(e)?n?b(e):e:m(e);i.length>0&&o.length>1&&(o=o.filter((e=>!i.includes(e)))),r=null!=r?r:u.activeElement;let l,a=(()=>{if(5&t)return 1;if(10&t)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),s=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,o.indexOf(r))-1;if(4&t)return Math.max(0,o.indexOf(r))+1;if(8&t)return o.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=32&t?{preventScroll:!0}:{},f=0,d=o.length;do{if(f>=d||f+d<=0)return 0;let e=s+f;if(16&t)e=(e+d)%d;else{if(e<0)return 3;if(e>=d)return 1}l=o[e],null==l||l.focus(c),f+=a}while(l!==u.activeElement);return 6&t&&function(e){var t,n;return null!=(n=null==(t=null==e?void 0:e.matches)?void 0:t.call(e,E))&&n}(l)&&l.select(),l.hasAttribute("tabindex")||l.setAttribute("tabindex","0"),2}},32984:function(e,t,n){function r(e,t,...n){if(e in t){let r=t[e];return"function"==typeof r?r(...n):r}let i=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((e=>`"${e}"`)).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(i,r),i}n.d(t,{E:function(){return r}})},81021:function(e,t,n){function r(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch((e=>setTimeout((()=>{throw e}))))}n.d(t,{Y:function(){return r}})},15466:function(e,t,n){n.d(t,{r:function(){return i}});var r=n(77896);function i(e){return r.O.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}},78657:function(e,t,n){function r(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function i(){return r()||/Android/gi.test(window.navigator.userAgent)}n.d(t,{gn:function(){return r},tq:function(){return i}})},12351:function(e,t,n){n.d(t,{AN:function(){return a},l4:function(){return s},oA:function(){return v},sY:function(){return c},yV:function(){return m}});var r,i,u=n(67294),o=n(44067),l=n(32984),a=((i=a||{})[i.None=0]="None",i[i.RenderStrategy=1]="RenderStrategy",i[i.Static=2]="Static",i),s=((r=s||{})[r.Unmount=0]="Unmount",r[r.Hidden=1]="Hidden",r);function c({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:i,visible:u=!0,name:o}){let a=d(t,e);if(u)return f(a,n,r,o);let s=null!=i?i:0;if(2&s){let{static:e=!1,...t}=a;if(e)return f(t,n,r,o)}if(1&s){let{unmount:e=!0,...t}=a;return(0,l.E)(e?0:1,{0:()=>null,1:()=>f({...t,hidden:!0,style:{display:"none"}},n,r,o)})}return f(a,n,r,o)}function f(e,t={},n,r){var i;let{as:l=n,children:a,refName:s="ref",...c}=p(e,["unmount","static"]),f=void 0!==e.ref?{[s]:e.ref}:{},m="function"==typeof a?a(t):a;"className"in c&&c.className&&"function"==typeof c.className&&(c.className=c.className(t));let h={};if(t){let e=!1,n=[];for(let[r,i]of Object.entries(t))"boolean"==typeof i&&(e=!0),!0===i&&n.push(r);e&&(h["data-headlessui-state"]=n.join(" "))}if(l===u.Fragment&&Object.keys(v(c)).length>0){if(!(0,u.isValidElement)(m)||Array.isArray(m)&&m.length>1)throw new Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(c).map((e=>` - ${e}`)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map((e=>` - ${e}`)).join("\n")].join("\n"));let e=(0,o.A)(null==(i=m.props)?void 0:i.className,c.className),t=e?{className:e}:{};return(0,u.cloneElement)(m,Object.assign({},d(m.props,v(p(c,["ref"]))),h,f,function(...e){return{ref:e.every((e=>null==e))?void 0:t=>{for(let n of e)null!=n&&("function"==typeof n?n(t):n.current=t)}}}(m.ref,f.ref),t))}return(0,u.createElement)(l,Object.assign({},p(c,["ref"]),l!==u.Fragment&&f,l!==u.Fragment&&h),m)}function d(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},n={};for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=n[e]||(n[e]=[]),n[e].push(r[e])):t[e]=r[e];if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map((e=>[e,void 0]))));for(let r in n)Object.assign(t,{[r](e,...t){let i=n[r];for(let n of i){if((e instanceof Event||(null==e?void 0:e.nativeEvent)instanceof Event)&&e.defaultPrevented)return;n(e,...t)}}});return t}function m(e){var t;return Object.assign((0,u.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function v(e){let t=Object.assign({},e);for(let n in t)void 0===t[n]&&delete t[n];return t}function p(e,t=[]){let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}}}]); -------------------------------------------------------------------------------- /assets/css/30fd6dae99bf48e4.css: -------------------------------------------------------------------------------- 1 | @charset "UTF-8";.react-datepicker__month-read-view--down-arrow,.react-datepicker__month-year-read-view--down-arrow,.react-datepicker__navigation-icon:before,.react-datepicker__year-read-view--down-arrow{border-color:#ccc;border-style:solid;border-width:3px 3px 0 0;content:"";display:block;height:9px;position:absolute;top:6px;width:9px}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle,.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle{margin-left:-4px;position:absolute;width:0}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:after,.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:before,.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle:after,.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle:before{box-sizing:content-box;position:absolute;height:0;width:1px;content:"";z-index:-1;border:8px solid transparent;left:-8px}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:before,.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle:before{border-bottom-color:#aeaeae}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle{top:0;margin-top:-8px}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:after,.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:before{border-top:none;border-bottom-color:#f0f0f0}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:after{top:0}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:before{top:-1px;border-bottom-color:#aeaeae}.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle{bottom:0;margin-bottom:-8px}.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle:after,.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle:before{border-bottom:none;border-top-color:#fff}.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle:after{bottom:0}.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle:before{bottom:-1px;border-top-color:#aeaeae}.react-datepicker-wrapper{display:inline-block;padding:0;border:0;width:100%}.react-datepicker{font-family:Helvetica Neue,helvetica,arial,sans-serif;font-size:.8rem;background-color:#fff;color:#000;border:1px solid #aeaeae;border-radius:.3rem;display:inline-block;position:relative}.react-datepicker--time-only .react-datepicker__triangle{left:35px}.react-datepicker--time-only .react-datepicker__time-container{border-left:0}.react-datepicker--time-only .react-datepicker__time,.react-datepicker--time-only .react-datepicker__time-box{border-bottom-left-radius:.3rem;border-bottom-right-radius:.3rem}.react-datepicker__triangle{position:absolute;left:50px}.react-datepicker-popper{z-index:1}.react-datepicker-popper[data-placement^=bottom]{padding-top:10px}.react-datepicker-popper[data-placement=bottom-end] .react-datepicker__triangle,.react-datepicker-popper[data-placement=top-end] .react-datepicker__triangle{left:auto;right:50px}.react-datepicker-popper[data-placement^=top]{padding-bottom:10px}.react-datepicker-popper[data-placement^=right]{padding-left:8px}.react-datepicker-popper[data-placement^=right] .react-datepicker__triangle{left:auto;right:42px}.react-datepicker-popper[data-placement^=left]{padding-right:8px}.react-datepicker-popper[data-placement^=left] .react-datepicker__triangle{left:42px;right:auto}.react-datepicker__header{text-align:center;background-color:#f0f0f0;border-bottom:1px solid #aeaeae;border-top-left-radius:.3rem;padding:8px 0;position:relative}.react-datepicker__header--time{padding-bottom:8px;padding-left:5px;padding-right:5px}.react-datepicker__header--time:not(.react-datepicker__header--time--only){border-top-left-radius:0}.react-datepicker__header:not(.react-datepicker__header--has-time-select){border-top-right-radius:.3rem}.react-datepicker__month-dropdown-container--scroll,.react-datepicker__month-dropdown-container--select,.react-datepicker__month-year-dropdown-container--scroll,.react-datepicker__month-year-dropdown-container--select,.react-datepicker__year-dropdown-container--scroll,.react-datepicker__year-dropdown-container--select{display:inline-block;margin:0 15px}.react-datepicker-time__header,.react-datepicker-year-header,.react-datepicker__current-month{margin-top:0;color:#000;font-weight:700;font-size:.944rem}.react-datepicker-time__header{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.react-datepicker__navigation{align-items:center;background:none;display:flex;justify-content:center;text-align:center;cursor:pointer;position:absolute;top:2px;padding:0;border:none;z-index:1;height:32px;width:32px;text-indent:-999em;overflow:hidden}.react-datepicker__navigation--previous{left:2px}.react-datepicker__navigation--next{right:2px}.react-datepicker__navigation--next--with-time:not(.react-datepicker__navigation--next--with-today-button){right:85px}.react-datepicker__navigation--years{position:relative;top:0;display:block;margin-left:auto;margin-right:auto}.react-datepicker__navigation--years-previous{top:4px}.react-datepicker__navigation--years-upcoming{top:-4px}.react-datepicker__navigation:hover :before{border-color:#a6a6a6}.react-datepicker__navigation-icon{position:relative;top:-1px;font-size:20px;width:0}.react-datepicker__navigation-icon--next{left:-2px}.react-datepicker__navigation-icon--next:before{transform:rotate(45deg);left:-7px}.react-datepicker__navigation-icon--previous{right:-2px}.react-datepicker__navigation-icon--previous:before{transform:rotate(225deg);right:-7px}.react-datepicker__month-container{float:left}.react-datepicker__year{margin:.4rem;text-align:center}.react-datepicker__year-wrapper{display:flex;flex-wrap:wrap;max-width:180px}.react-datepicker__year .react-datepicker__year-text{display:inline-block;width:4rem;margin:2px}.react-datepicker__month{margin:.4rem;text-align:center}.react-datepicker__month .react-datepicker__month-text,.react-datepicker__month .react-datepicker__quarter-text{display:inline-block;width:4rem;margin:2px}.react-datepicker__input-time-container{clear:both;width:100%;float:left;margin:5px 0 10px 15px;text-align:left}.react-datepicker__input-time-container .react-datepicker-time__caption,.react-datepicker__input-time-container .react-datepicker-time__input-container{display:inline-block}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input{display:inline-block;margin-left:10px}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input{width:auto}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-inner-spin-button,.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]{-moz-appearance:textfield}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__delimiter{margin-left:5px;display:inline-block}.react-datepicker__time-container{float:right;border-left:1px solid #aeaeae;width:85px}.react-datepicker__time-container--with-today-button{display:inline;border:1px solid #aeaeae;border-radius:.3rem;position:absolute;right:-87px;top:0}.react-datepicker__time-container .react-datepicker__time{position:relative;background:#fff;border-bottom-right-radius:.3rem}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box{width:85px;overflow-x:hidden;margin:0 auto;text-align:center;border-bottom-right-radius:.3rem}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list{list-style:none;margin:0;height:calc(195px + (1.7rem / 2));overflow-y:scroll;padding-right:0;padding-left:0;width:100%;box-sizing:content-box}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item{height:30px;padding:5px 10px;white-space:nowrap}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item:hover{cursor:pointer;background-color:#f0f0f0}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected{background-color:#216ba5;color:#fff;font-weight:700}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected:hover{background-color:#216ba5}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled{color:#ccc}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled:hover{cursor:default;background-color:transparent}.react-datepicker__week-number{color:#ccc;display:inline-block;width:1.7rem;line-height:1.7rem;text-align:center;margin:.166rem}.react-datepicker__week-number.react-datepicker__week-number--clickable{cursor:pointer}.react-datepicker__week-number.react-datepicker__week-number--clickable:hover{border-radius:.3rem;background-color:#f0f0f0}.react-datepicker__day-names,.react-datepicker__week{white-space:nowrap}.react-datepicker__day-names{margin-bottom:-8px}.react-datepicker__day,.react-datepicker__day-name,.react-datepicker__time-name{color:#000;display:inline-block;width:1.7rem;line-height:1.7rem;text-align:center;margin:.166rem}.react-datepicker__month--in-range,.react-datepicker__month--in-selecting-range,.react-datepicker__month--selected,.react-datepicker__quarter--in-range,.react-datepicker__quarter--in-selecting-range,.react-datepicker__quarter--selected{border-radius:.3rem;background-color:#216ba5;color:#fff}.react-datepicker__month--in-range:hover,.react-datepicker__month--in-selecting-range:hover,.react-datepicker__month--selected:hover,.react-datepicker__quarter--in-range:hover,.react-datepicker__quarter--in-selecting-range:hover,.react-datepicker__quarter--selected:hover{background-color:#1d5d90}.react-datepicker__month--disabled,.react-datepicker__quarter--disabled{color:#ccc;pointer-events:none}.react-datepicker__month--disabled:hover,.react-datepicker__quarter--disabled:hover{cursor:default;background-color:transparent}.react-datepicker__day,.react-datepicker__month-text,.react-datepicker__quarter-text,.react-datepicker__year-text{cursor:pointer}.react-datepicker__day:hover,.react-datepicker__month-text:hover,.react-datepicker__quarter-text:hover,.react-datepicker__year-text:hover{border-radius:.3rem;background-color:#f0f0f0}.react-datepicker__day--today,.react-datepicker__month-text--today,.react-datepicker__quarter-text--today,.react-datepicker__year-text--today{font-weight:700}.react-datepicker__day--highlighted,.react-datepicker__month-text--highlighted,.react-datepicker__quarter-text--highlighted,.react-datepicker__year-text--highlighted{border-radius:.3rem;background-color:#3dcc4a;color:#fff}.react-datepicker__day--highlighted:hover,.react-datepicker__month-text--highlighted:hover,.react-datepicker__quarter-text--highlighted:hover,.react-datepicker__year-text--highlighted:hover{background-color:#32be3f}.react-datepicker__day--highlighted-custom-1,.react-datepicker__month-text--highlighted-custom-1,.react-datepicker__quarter-text--highlighted-custom-1,.react-datepicker__year-text--highlighted-custom-1{color:#f0f}.react-datepicker__day--highlighted-custom-2,.react-datepicker__month-text--highlighted-custom-2,.react-datepicker__quarter-text--highlighted-custom-2,.react-datepicker__year-text--highlighted-custom-2{color:green}.react-datepicker__day--in-range,.react-datepicker__day--in-selecting-range,.react-datepicker__day--selected,.react-datepicker__month-text--in-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__month-text--selected,.react-datepicker__quarter-text--in-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__quarter-text--selected,.react-datepicker__year-text--in-range,.react-datepicker__year-text--in-selecting-range,.react-datepicker__year-text--selected{border-radius:.3rem;background-color:#216ba5;color:#fff}.react-datepicker__day--in-range:hover,.react-datepicker__day--in-selecting-range:hover,.react-datepicker__day--selected:hover,.react-datepicker__month-text--in-range:hover,.react-datepicker__month-text--in-selecting-range:hover,.react-datepicker__month-text--selected:hover,.react-datepicker__quarter-text--in-range:hover,.react-datepicker__quarter-text--in-selecting-range:hover,.react-datepicker__quarter-text--selected:hover,.react-datepicker__year-text--in-range:hover,.react-datepicker__year-text--in-selecting-range:hover,.react-datepicker__year-text--selected:hover{background-color:#1d5d90}.react-datepicker__day--keyboard-selected,.react-datepicker__month-text--keyboard-selected,.react-datepicker__quarter-text--keyboard-selected,.react-datepicker__year-text--keyboard-selected{border-radius:.3rem;background-color:#bad9f1;color:#000}.react-datepicker__day--keyboard-selected:hover,.react-datepicker__month-text--keyboard-selected:hover,.react-datepicker__quarter-text--keyboard-selected:hover,.react-datepicker__year-text--keyboard-selected:hover{background-color:#1d5d90}.react-datepicker__day--in-selecting-range:not(.react-datepicker__day--in-range,.react-datepicker__month-text--in-range,.react-datepicker__quarter-text--in-range,.react-datepicker__year-text--in-range),.react-datepicker__month-text--in-selecting-range:not(.react-datepicker__day--in-range,.react-datepicker__month-text--in-range,.react-datepicker__quarter-text--in-range,.react-datepicker__year-text--in-range),.react-datepicker__quarter-text--in-selecting-range:not(.react-datepicker__day--in-range,.react-datepicker__month-text--in-range,.react-datepicker__quarter-text--in-range,.react-datepicker__year-text--in-range),.react-datepicker__year-text--in-selecting-range:not(.react-datepicker__day--in-range,.react-datepicker__month-text--in-range,.react-datepicker__quarter-text--in-range,.react-datepicker__year-text--in-range){background-color:rgba(33,107,165,.5)}.react-datepicker__month--selecting-range .react-datepicker__day--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range),.react-datepicker__month--selecting-range .react-datepicker__month-text--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range),.react-datepicker__month--selecting-range .react-datepicker__quarter-text--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range),.react-datepicker__month--selecting-range .react-datepicker__year-text--in-range:not(.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range){background-color:#f0f0f0;color:#000}.react-datepicker__day--disabled,.react-datepicker__month-text--disabled,.react-datepicker__quarter-text--disabled,.react-datepicker__year-text--disabled{cursor:default;color:#ccc}.react-datepicker__day--disabled:hover,.react-datepicker__month-text--disabled:hover,.react-datepicker__quarter-text--disabled:hover,.react-datepicker__year-text--disabled:hover{background-color:transparent}.react-datepicker__month-text.react-datepicker__month--in-range:hover,.react-datepicker__month-text.react-datepicker__month--selected:hover,.react-datepicker__month-text.react-datepicker__quarter--in-range:hover,.react-datepicker__month-text.react-datepicker__quarter--selected:hover,.react-datepicker__quarter-text.react-datepicker__month--in-range:hover,.react-datepicker__quarter-text.react-datepicker__month--selected:hover,.react-datepicker__quarter-text.react-datepicker__quarter--in-range:hover,.react-datepicker__quarter-text.react-datepicker__quarter--selected:hover{background-color:#216ba5}.react-datepicker__month-text:hover,.react-datepicker__quarter-text:hover{background-color:#f0f0f0}.react-datepicker__input-container{position:relative;display:inline-block;width:100%}.react-datepicker__input-container .react-datepicker__calendar-icon{position:absolute;padding:.5rem}.react-datepicker__view-calendar-icon input{padding:6px 10px 5px 25px}.react-datepicker__month-read-view,.react-datepicker__month-year-read-view,.react-datepicker__year-read-view{border:1px solid transparent;border-radius:.3rem;position:relative}.react-datepicker__month-read-view:hover,.react-datepicker__month-year-read-view:hover,.react-datepicker__year-read-view:hover{cursor:pointer}.react-datepicker__month-read-view:hover .react-datepicker__month-read-view--down-arrow,.react-datepicker__month-read-view:hover .react-datepicker__year-read-view--down-arrow,.react-datepicker__month-year-read-view:hover .react-datepicker__month-read-view--down-arrow,.react-datepicker__month-year-read-view:hover .react-datepicker__year-read-view--down-arrow,.react-datepicker__year-read-view:hover .react-datepicker__month-read-view--down-arrow,.react-datepicker__year-read-view:hover .react-datepicker__year-read-view--down-arrow{border-top-color:#b3b3b3}.react-datepicker__month-read-view--down-arrow,.react-datepicker__month-year-read-view--down-arrow,.react-datepicker__year-read-view--down-arrow{transform:rotate(135deg);right:-16px;top:0}.react-datepicker__month-dropdown,.react-datepicker__month-year-dropdown,.react-datepicker__year-dropdown{background-color:#f0f0f0;position:absolute;width:50%;left:25%;top:30px;z-index:1;text-align:center;border-radius:.3rem;border:1px solid #aeaeae}.react-datepicker__month-dropdown:hover,.react-datepicker__month-year-dropdown:hover,.react-datepicker__year-dropdown:hover{cursor:pointer}.react-datepicker__month-dropdown--scrollable,.react-datepicker__month-year-dropdown--scrollable,.react-datepicker__year-dropdown--scrollable{height:150px;overflow-y:scroll}.react-datepicker__month-option,.react-datepicker__month-year-option,.react-datepicker__year-option{line-height:20px;width:100%;display:block;margin-left:auto;margin-right:auto}.react-datepicker__month-option:first-of-type,.react-datepicker__month-year-option:first-of-type,.react-datepicker__year-option:first-of-type{border-top-left-radius:.3rem;border-top-right-radius:.3rem}.react-datepicker__month-option:last-of-type,.react-datepicker__month-year-option:last-of-type,.react-datepicker__year-option:last-of-type{-webkit-user-select:none;-moz-user-select:none;user-select:none;border-bottom-left-radius:.3rem;border-bottom-right-radius:.3rem}.react-datepicker__month-option:hover,.react-datepicker__month-year-option:hover,.react-datepicker__year-option:hover{background-color:#ccc}.react-datepicker__month-option:hover .react-datepicker__navigation--years-upcoming,.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-upcoming,.react-datepicker__year-option:hover .react-datepicker__navigation--years-upcoming{border-bottom-color:#b3b3b3}.react-datepicker__month-option:hover .react-datepicker__navigation--years-previous,.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-previous,.react-datepicker__year-option:hover .react-datepicker__navigation--years-previous{border-top-color:#b3b3b3}.react-datepicker__month-option--selected,.react-datepicker__month-year-option--selected,.react-datepicker__year-option--selected{position:absolute;left:15px}.react-datepicker__close-icon{cursor:pointer;background-color:transparent;border:0;outline:0;padding:0 6px 0 0;position:absolute;top:0;right:0;height:100%;display:table-cell;vertical-align:middle}.react-datepicker__close-icon:after{cursor:pointer;background-color:#216ba5;color:#fff;border-radius:50%;height:16px;width:16px;padding:2px;font-size:12px;line-height:1;text-align:center;display:table-cell;vertical-align:middle;content:"×"}.react-datepicker__today-button{background:#f0f0f0;border-top:1px solid #aeaeae;cursor:pointer;text-align:center;font-weight:700;padding:5px 0;clear:left}.react-datepicker__portal{position:fixed;width:100vw;height:100vh;background-color:rgba(0,0,0,.8);left:0;top:0;justify-content:center;align-items:center;display:flex;z-index:2147483647}.react-datepicker__portal .react-datepicker__day,.react-datepicker__portal .react-datepicker__day-name,.react-datepicker__portal .react-datepicker__time-name{width:3rem;line-height:3rem}@media (max-height:550px),(max-width:400px){.react-datepicker__portal .react-datepicker__day,.react-datepicker__portal .react-datepicker__day-name,.react-datepicker__portal .react-datepicker__time-name{width:2rem;line-height:2rem}}.react-datepicker__portal .react-datepicker-time__header,.react-datepicker__portal .react-datepicker__current-month{font-size:1.44rem}.react-datepicker__children-container{width:13.8rem;margin:.4rem;padding-right:.2rem;padding-left:.2rem;height:auto}.react-datepicker__aria-live{position:absolute;-webkit-clip-path:circle(0);clip-path:circle(0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;width:1px;white-space:nowrap}.react-datepicker__calendar-icon{width:1em;height:1em;vertical-align:-.125em} --------------------------------------------------------------------------------