vendor: 26,801 bytes, line 1
1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6562],{56350:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{Ib:function(){return _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib},JS:function(){return stringToFunction},VD:function(){return BuilderComponent},Wp:function(){return BuilderBlocks},ZP:function(){return _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl},Zu:function(){return BuilderAsyncRequestsContext},fl:function(){return _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl},nJ:function(){return useIsPreviewing},s6:function(){return BuilderBlock$1},zC:function(){return BuilderStoreContext}});var _a,_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(98936),_emotion_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(55809),react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(8247),react_dom__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(92122),hash_sum__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(95019),hash_sum__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(hash_sum__WEBPACK_IMPORTED_MODULE_4__),process=__webpack_require__(32608),SDK_VERSION="9.4.0";"undefined"!=typeof window&&(null===(_a=window.parent)||void 0===_a||_a.postMessage({type:"builder.isReactSdk",data:{value:!0,supportsPatchUpdates:"v4",supportsCustomBreakpoints:!0,supportsXSmallBreakpoint:!0,supportsGlobalSymbols:!0,blockLevelPersonalization:!0,version:SDK_VERSION}},"*"));var extendStatics=function(e,t){return(extendStatics=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function __extends(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}extendStatics(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var __assign=function(){return(__assign=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function __rest(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function __decorate(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function __metadata(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function __awaiter(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((r=r.apply(e,t||[])).next())})}function __generator(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(l){return function(s){if(n)throw TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}function __spreadArray(e,t,n){if(n||2==arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var safeDynamicRequire,fastClone=function(e){return JSON.parse(JSON.stringify(e))},omit$2=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=Object.assign({},e),o=0,i=t;o<i.length;o++){var a=i[o];delete r[a]}return r},sizeNames=["xsmall","small","medium","large"],sizes={xsmall:{min:0,default:160,max:320},small:{min:321,default:321,max:640},medium:{min:641,default:642,max:991},large:{min:990,default:991,max:1200},getWidthForSize:function(e){return this[e].default},getSizeForWidth:function(e){for(var t=0,n=sizeNames;t<n.length;t++){var r=n[t];if(e<=this[r].max)return r}return"large"}},getSizesForBreakpoints=function(e){var t=__assign(__assign({},sizes),fastClone(sizes));if(!e)return t;var n=e.xsmall,r=e.small,o=e.medium;if(n){var i=Math.floor(n/2);t.xsmall={max:n,min:i,default:i+1}}if(!r||!o)return t;var a=n?t.xsmall.max+1:Math.floor(r/2);t.small={max:r,min:a,default:a+1};var s=t.small.max+1;t.medium={max:o,min:s,default:s+1};var l=t.medium.max+1;return t.large={max:2e3,min:l,default:l+1},t},set=function(e,t,n){if(Object(e)!==e)return e;var r=Array.isArray(t)?t:t.toString().match(/[^.[\]]+/g);return r.slice(0,-1).reduce(function(e,t,n){return Object(e[t])===e[t]?e[t]:e[t]=Math.abs(Number(r[n+1]))>>0==+r[n+1]?[]:{}},e)[r[r.length-1]]=n,e},noop=function(){return null};if("function"==typeof(null==globalThis?void 0:globalThis.require)||_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isServer)try{safeDynamicRequire=eval("require")}catch(e){safeDynamicRequire=(null==globalThis?void 0:globalThis.require)?globalThis.require:noop}function isDebug(){return!!(void 0!==process&&void 0!==process.env&&process.env.DEBUG)}function isNodeRuntime(){var e;return void 0!==process&&!!(null===(e=null==process?void 0:process.versions)||void 0===e?void 0:e.node)}null!=safeDynamicRequire||(safeDynamicRequire=noop);var shouldForceBrowserRuntimeInNode=function(){if(!isNodeRuntime())return!1;var e,t="arm64"===process.arch,n=process.version.startsWith("v20"),r=null===(e=process.env.NODE_OPTIONS)||void 0===e?void 0:e.includes("--no-node-snapshot");return!(!t||!n||r)&&(console.log("Skipping usage of `isolated-vm` to avoid crashes in Node v20 on an arm64 machine.\n If you would like to use the `isolated-vm` package on this machine, please provide the `NODE_OPTIONS=--no-node-snapshot` config to your Node process.\n See https://github.com/BuilderIO/builder/blob/main/packages/react/README.md#node-v20--m1-macs-apple-silicon-support for more information.\n "),!0)},fnCache={},api=function(e){return _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl};function stringToFunction(e,t,n,r){if(void 0===t&&(t=!0),!e||!e.trim())return function(){};var o=e+":"+t;if(fnCache[o])return fnCache[o];var i=t&&!(e.includes(";")||e.includes(" return ")||e.trim().startsWith("return "))||e.trim().startsWith("builder.run"),a=function(){};try{_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&(a=Function("state","event","block","builder","Device","update","Builder","context","\n var names = [\n 'state',\n 'event',\n 'block',\n 'builder',\n 'Device',\n 'update',\n 'Builder',\n 'context'\n ];\n var rootState = state;\n if (typeof Proxy !== 'undefined') {\n rootState = new Proxy(rootState, {\n set: function () {\n return false;\n },\n get: function (target, key) {\n if (names.includes(key)) {\n return undefined;\n }\n return target[key];\n }\n });\n }\n /* Alias */\n var ctx = context;\n var log = console.log.bind(console);\n with (rootState) {\n ".concat(i?"return (".concat(e,");"):e,";\n }\n ")))}catch(t){n&&n.push(t);var s=t&&t.message;s&&"string"==typeof s&&r&&-1===r.indexOf(s)&&r.push(s),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&console.warn("Function compile error in ".concat(e),t)}var l=function(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];try{if(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser||shouldForceBrowserRuntimeInNode())return a.apply(void 0,t);var s=getIsolateContext(),l=safeDynamicRequire("isolated-vm"),u=s.evalClosureSync(makeFn(e,i),t.map(function(e,t){return"object"==typeof e?new l.Reference(t===indexOfBuilderInstance?__assign(__assign({},e),{getUserAttributes:function(){return e.getUserAttributes("")}}):e):null}));try{return JSON.parse(u)}catch(e){return u}}catch(t){return _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser?console.warn("Builder custom code error:",t.message||t,"in",e,t.stack||t):isDebug()&&console.debug("Builder custom code error:",t.message||t,"in",e,t.stack||t),n&&n.push(t),r&&t.message&&"string"==typeof t.message&&r.push(t.message),null}};return _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&(fnCache[o]=l),l}var indexOfBuilderInstance=3,makeFn=function(e,t,n){var r=n||["state","event","block","builder","Device","update","Builder","context"];return"\n".concat("\n var refToProxy = (obj) => {\n if (typeof obj !== 'object' || obj === null) {\n return obj;\n }\n return new Proxy({}, {\n get(target, key) {\n if (key === 'copySync') {\n return () => obj.copySync();\n }\n const val = obj.getSync(key);\n if (typeof val?.copySync === 'function') {\n try {\n return JSON.parse(stringify(val));\n } catch (e) {\n log('Error:', e);\n return refToProxy(val);\n }\n }\n return val;\n },\n set(target, key, value) {\n obj.setSync(key, value);\n },\n deleteProperty(target, key) {\n obj.deleteSync(key);\n }\n })\n }\n","\n").concat("\n var stringify = (val) => {\n if (typeof val === 'object' && val !== null) {\n return JSON.stringify(val.copySync ? val.copySync() : val);\n }\n return val;\n }\n ","\n").concat(r.map(function(e,t){return"var ".concat(e," = refToProxy($").concat(t,");")}).join("\n")).concat("\n".concat(r.includes("context")?"var ctx = context;":"","\nvar endResult = function() {\n ").concat(t?"return (".concat(e,");"):e,";\n};\n\nreturn stringify(endResult());\n"))},getIsolateContext=function(){var e=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.serverContext;e||(e=new(safeDynamicRequire("isolated-vm")).Isolate({memoryLimit:128}).createContextSync(),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.setServerContext(e));var t=e.global;return t.setSync("global",t.derefInto()),t.setSync("log",function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];isDebug()&&console.log.apply(console,e)}),e},isPromise=function(e){return"function"==typeof e.then},isRequestInfo=function(e){return!isPromise(e)},BuilderAsyncRequestsContext=react__WEBPACK_IMPORTED_MODULE_2__.createContext({requests:[],errors:[],logs:[]}),BuilderStoreContext=react__WEBPACK_IMPORTED_MODULE_2__.createContext({state:{},rootState:{},content:{},context:{},update:function(e){return null}}),applyPatchWithMinimalMutationChain=function(e,t,n){if(void 0===n&&(n=!1),Object(e)!==e)return e;var r=t.path,o=t.op,i=t.value,a=r.split(/\//);""===a[0]&&a.shift();for(var s=n?e:__assign({},e),l=s,u=0;u<a.length;u++){var c=u===a.length-1,d=a[u];if(c){if("replace"===o)l[d]=i;else if("add"===o){var f=Number(d);Array.isArray(l)?"-"===d?l.push(i):l.splice(f,0,i):l[d]=i}else"remove"===o&&(f=Number(d),Array.isArray(l)?l.splice(f,1):delete l[d])}else{var p=a[u+1],h=Object(l[d])===l[d]?l[d]:String(Number(p))===p?[]:{};l=l[d]=Array.isArray(h)?__spreadArray([],h,!0):__assign({},h)}}return s},htmlEscape=function(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""")},blockToHtmlString=function(e){var t;return"<".concat(htmlEscape(e.tagName||"div"),' \n class="builder-block ').concat(e.id," ").concat(e.class||"",'"\n builder-id="').concat(e.id,'"\n ').concat(Object.keys(e.properties||{}).map(function(t){return"".concat(htmlEscape(t),'="').concat(htmlEscape(e.properties[t]),'"')}).join(" "),"\n >").concat("Text"===(null===(t=null==e?void 0:e.component)||void 0===t?void 0:t.name)?e.component.options.text:e.children?e.children.map(function(e){return blockToHtmlString(e)}).join(""):"","</").concat(e.tagName||"div",">").replace(/\s+/g," ")},Link=function(e){return react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderStoreContext.Consumer,null,function(t){return t.renderLink?t.renderLink(e):react__WEBPACK_IMPORTED_MODULE_2__.createElement("a",__assign({},e))})};function traverse(e,t,n,r,o){void 0===n&&(n=null),void 0===r&&(r=null),void 0===o&&(o=new WeakSet),null!=e&&"object"==typeof e?o.has(e)||(o.add(e),Array.isArray(e)?e.forEach(function(n,r){t(n,function(t){e[r]=t}),traverse(n,t,e,r,o)}):Object.entries(e).forEach(function(n){var r=n[0],i=n[1];t(i,function(t){e[r]=t}),traverse(i,t,e,r,o)})):t(e,function(e){null!==n&&null!==r&&(n[r]=e)})}var isLocalizedField=function(e){return e&&"object"==typeof e&&"@builder.io/core:LocalizedValue"===e["@type"]},containsLocalizedValues=function(e){if(!e||!Object.getOwnPropertyNames(e).length)return!1;var t=!1;return traverse(e,function(e){isLocalizedField(e)&&(t=!0)}),t},extractLocalizedValues=function(e,t){return e&&Object.getOwnPropertyNames(e).length?(traverse(e,function(e,n){var r;isLocalizedField(e)&&n(null!==(r=e[t])&&void 0!==r?r:void 0)}),e):{}},camelCaseToKebabCase=function(e){return e?e.replace(/([A-Z])/g,function(e){return"-".concat(e[0].toLowerCase())}):""},kebabCaseToCamelCase=function(e){return void 0===e&&(e=""),e.replace(/-([a-z])/g,function(e){return e[1].toUpperCase()})},Device={desktop:0,tablet:1,mobile:2};function deepCloneWithConditions(e){if(null===e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(function(e){return deepCloneWithConditions(e)});if("@builder.io/sdk:Element"===e["@type"])return e;var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&("meta"===n?t.meta=e.meta:t[n]=deepCloneWithConditions(e[n]));return t}var voidElements=new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr","textarea"]),last=function(e){return e[e.length-1]};function omit$1(e,t){for(var n=Object.assign({},e),r=0,o=t;r<o.length;r++)delete n[o[r]];return n}var cssCase=function(e){if(!e)return e;var t=camelCaseToKebabCase(e);return e[0]===e[0].toUpperCase()&&(t="-"+t),t};function capitalize(e){if(e)return e[0].toUpperCase()+e.slice(1)}var BuilderBlock$1=function(_super){function BuilderBlock(){var _this=null!==_super&&_super.apply(this,arguments)||this;return _this.hydrated=!1,_this.state={hasError:!1,updates:0},_this.privateState={state:{},rootState:{},context:{},update:function(){}},_this.onWindowMessage=function(event){var message=event.data;if(message)switch(message.type){case"builder.selectionChange":var data=message.data;if(!data)break;var selection=data.selection,id=_this.block&&_this.block.id;id&&Array.isArray(selection)&&selection.indexOf(id)>-1&&setTimeout(function(){window.$block=_this,window.$blocks||(window.$blocks=[]),window.$blocks.push(_this)});break;case"builder.patchUpdates":var data=message.data;if(!data||!data.data)break;var patches=data.data[_this.block.id];if(!patches)return;location.href.includes("builder.debug=true")&&eval("debugger");for(var _i=0,patches_1=patches;_i<patches_1.length;_i++){var patch=patches_1[_i];applyPatchWithMinimalMutationChain(_this.props.block,patch,!0)}_this.setState({updates:_this.state.updates+1})}},_this}return __extends(BuilderBlock,_super),Object.defineProperty(BuilderBlock.prototype,"store",{get:function(){return this.privateState},enumerable:!1,configurable:!0}),BuilderBlock.getDerivedStateFromError=function(e){return{hasError:!0}},BuilderBlock.prototype.componentDidCatch=function(e,t){console.error("Builder block error:",e,t)},BuilderBlock.prototype.stringToFunction=function(e,t){return void 0===t&&(t=!0),stringToFunction(e,t,this._errors,this._logs)},Object.defineProperty(BuilderBlock.prototype,"block",{get:function(){return this.props.block},enumerable:!1,configurable:!0}),BuilderBlock.prototype.emotionCss=function(e){var t,n,r,o,i,a,s,l,u=this.block,c=u.animations&&u.animations[0];if(c&&"hover"!==c.trigger){var d=c&&c.steps&&c.steps[0],f=d&&d.styles;f&&(l=f)}var p=sizeNames.slice().reverse(),h={};if(e)for(var m=!!(null===(r=null===(n=null===(t=this.privateState.context.builderContent)||void 0===t?void 0:t.meta)||void 0===n?void 0:n.breakpoints)||void 0===r?void 0:r.xsmall),v=0,g=p;v<g.length;v++){var y=g[v];if(m||"xsmall"!==y){if("large"===y)this.props.emailMode||(h["&.builder-block"]=Object.assign({},e[y],l));else{var b=getSizesForBreakpoints((null===(i=null===(o=this.privateState.context.builderContent)||void 0===o?void 0:o.meta)||void 0===i?void 0:i.breakpoints)||{});h["@media only screen and (max-width: ".concat(b[y].max,"px)")]={"&.builder-block":e[y]}}}}var w=u.animations&&u.animations.find(function(e){return"hover"===e.trigger});return w&&(h[":hover"]=(null===(s=null===(a=w.steps)||void 0===a?void 0:a[1])||void 0===s?void 0:s.styles)||{},h.transition="all ".concat(w.duration,"s ").concat(camelCaseToKebabCase(w.easing)),w.delay&&(h.transitionDelay=w.delay+"s")),h},BuilderBlock.prototype.eval=function(e){return this.stringToFunction(e)(this.privateState.state,void 0,this.block,_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl,Device,this.privateState.update,_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib,this.privateState.context)},BuilderBlock.prototype.componentWillUnmount=function(){_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing&&removeEventListener("message",this.onWindowMessage)},BuilderBlock.prototype.componentDidMount=function(){var e,t=this;this.hydrated=!0;var n=this.block,r=n&&n.animations;if(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing&&addEventListener("message",this.onWindowMessage),r){var o={animations:fastClone(r)};if(n.bindings){for(var i in n.bindings)if((null===(e=i.trim)||void 0===e?void 0:e.call(i))&&i.startsWith("animations.")){var a=this.stringToFunction(n.bindings[i]);void 0!==a&&set(o,i,a(this.privateState.state,null,n,_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl,null,null,_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib,this.privateState.context))}}_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.animator.bindAnimations(o.animations.filter(function(e){return"hover"!==e.trigger}).map(function(e){return __assign(__assign({},e),{elementId:t.block.id})}))}},BuilderBlock.prototype.getElement=function(e,t){var n,r,o,i,a,s,l=this;void 0===e&&(e=0),void 0===t&&(t=this.privateState.state);var u=this.props;u.child,u.fieldName;var c,d=this.block,f=(d.tagName||"div").toLowerCase();if("template"===f){var p=d.children?d.children.map(function(e){return blockToHtmlString(e)}).join(" "):"";return console.debug("template html",p),(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("template",__assign({},d.properties,{dangerouslySetInnerHTML:{__html:p}}))}var h=d.component&&(d.component.name||d.component.component),m=null;d.component&&!d.component.class&&(d.component&&d.component.tag?c=d.component.tag:(m=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.components.find(function(e){return e.name===h})||null)&&m.class?c=m.class:m&&m.tag?c=m.tag:(null==h?void 0:h.startsWith("Builder:"))?console.warn("Missing @builder.io/widgets installation, please install and import @builder.io/widgets to use ".concat(h.split(":")[1]," in your content, more info here: https://github.com/BuilderIO/builder/tree/main/packages/widgets")):h&&console.warn("Missing registration for ".concat(h,", have you included the registration in your bundle?")));var v=__assign(__assign({},d.properties),{style:{},responsiveStyles:fastClone(d.responsiveStyles||{})});if(v=__assign(__assign({},v.properties),v),d.component&&(v.component=deepCloneWithConditions(d.component)),d.bindings){for(var g in d.bindings)if(null===(r=g.trim)||void 0===r?void 0:r.call(g)){var y=this.stringToFunction(d.bindings[g]);set(v,g,y(t,null,d,api(),Device,null,_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib,this.privateState.context))}}if(v.hide||(delete v.hide,("show"in v||d.bindings&&d.bindings.show)&&!v.show))return null;if(delete v.show,d.actions){var b=function(e){if(!(null===(o=e.trim)||void 0===o?void 0:o.call(e)))return"continue";var n=d.actions[e];v["on"+capitalize(e)]=function(e){var r=t;return"undefined"!=typeof Proxy&&(r=new Proxy(t,{set:function(e,t,n){return e[t]=n,l.privateState.rootState[t]=n,!0}})),l.stringToFunction(n,!1)(r,e,l.block,_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl,Device,l.privateState.update,_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib,l.privateState.context)}};for(var g in d.actions)b(g)}var w=(v.component||v.options)&&__assign(__assign({},v.options),v.component.options||v.component.data);containsLocalizedValues(w)&&(this.privateState.state.locale||console.warn("[Builder.io] In order to use localized fields in Builder, you must pass a locale prop to the BuilderComponent or to options object while fetching the content to resolve localized fields. Learn more: https://www.builder.io/c/docs/localization-inline#targeting-and-inline-localization"),w=extractLocalizedValues(w,null!==(i=this.privateState.state.locale)&&void 0!==i?i:"Default"));var x=voidElements.has(f),k=m&&(m.fragment||m.noWrap),S=(null===(a=v.attr)||void 0===a?void 0:a.style)||("string"==typeof v.style?v.style:"")||"";if("string"==typeof S){"object"!=typeof v.style&&(v.style={});for(var E=0,C=S.split(";");E<C.length;E++){var T=C[E].split(":");if(!T.length)return;g=T[0],y=T[1],g&&(T.length>2&&(y=T.slice(1).join(":")),v.style[kebabCaseToCamelCase(g)]=y)}}var O=__assign(__assign(__assign({},omit$1(v,["class","component","attr","responsiveStyles"])),((n={})["string"!=typeof f||f.includes("-")?"class":"className"]="builder-block ".concat(this.id).concat(d.class?" ".concat(d.class):"").concat(!d.component||["Image","Video","Banner"].indexOf(h)>-1?"":" builder-has-component")+(v.class?" "+v.class:"")+(this.hydrated&&_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing&&(null===(s=this.privateState.state._spacer)||void 0===s?void 0:s.parent)===d.id?" builder-spacer-parent":""),n.key=this.id+e,n["builder-id"]=this.id,n)),0!==e&&{"builder-index":e});_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing&&this.hydrated&&(O["builder-inline-styles"]=v.attr&&v.attr.style?Object.keys(v.style).reduce(function(e,t){return(e?"".concat(e,";"):"")+"".concat(cssCase(t),":").concat(v.style[t],";")},""):""),(O.properties&&O.properties.href||O.href)&&"div"===f&&(f="a"),"a"===f&&(f=Link);var M=d.children||O.children||[];return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(react__WEBPACK_IMPORTED_MODULE_2__.Fragment,null,(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(_emotion_core__WEBPACK_IMPORTED_MODULE_1__.ms,null,function(e){var t=e.css;if(e.cx,!l.props.emailMode){var n=" "+t(l.emotionCss(v.responsiveStyles));O.class&&(O.class+=n),O.className&&(O.className+=n)}return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderAsyncRequestsContext.Consumer,null,function(e){return l._asyncRequests=e&&e.requests,l._errors=e&&e.errors,l._logs=e&&e.logs,x?(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(f,__assign({},O)):c&&(k||l.props.emailMode)?(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(c,__assign({},w,{attributes:O,builderBlock:d,builderState:l.privateState})):(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(f,__assign({},O),c&&(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(c,__assign({builderState:l.privateState,builderBlock:d},w)),d.text||v.text?v.text:!c&&M&&Array.isArray(M)&&M.length?M.map(function(e,t){return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderBlock,{key:(l.id||"")+t,block:e,index:t,size:l.props.size,fieldName:l.props.fieldName,child:l.props.child,emailMode:l.props.emailMode})}):null)})}))},Object.defineProperty(BuilderBlock.prototype,"id",{get:function(){var e=this.block;return e.id&&!e.id.startsWith("builder")?"builder-"+e.id:e.id||""},enumerable:!1,configurable:!0}),BuilderBlock.prototype.contents=function(e){var t=this,n=this.block;if(this.privateState=e,n.repeat&&n.repeat.collection){var r=n.repeat.collection,o=last((r||"").trim().split("(")[0].trim().split(".")),i=n.repeat.itemName||(o?o+"Item":"item"),a=this.stringToFunction(r)(e.state,null,n,api(),Device,null,_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib,this.privateState.context);return Array.isArray(a)?a.map(function(n,r){var o,a=__assign(__assign({},e.state),((o={$index:r,$item:n})[i]=n,o["$".concat(i,"Index")]=r,o));return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderStoreContext.Provider,{key:r,value:__assign(__assign({},e),{state:a})},t.getElement(r,a))}):null}return this.getElement()},BuilderBlock.prototype.render=function(){var e=this;return this.state.hasError?(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("span",{css:{display:"inline-block",padding:5,color:"#999",fontSize:11,fontStyle:"italic"}},"Builder block error :( Check console for details"):(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderStoreContext.Consumer,null,function(t){return e.contents(t)})},BuilderBlock}(react__WEBPACK_IMPORTED_MODULE_2__.Component),BuilderBlocks=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.hydrated=!1,t.onClickEmptyBlocks=function(){var e;_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isIframe&&t.noBlocks&&(null===(e=window.parent)||void 0===e||e.postMessage({type:"builder.clickEmptyBlocks",data:{parentElementId:t.parentId,dataPath:t.path}},"*"))},t.onHoverEmptyBlocks=function(){var e;_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing&&t.noBlocks&&(null===(e=window.parent)||void 0===e||e.postMessage({type:"builder.hoverEmptyBlocks",data:{parentElementId:t.parentId,dataPath:t.path}},"*"))},t}return __extends(t,e),Object.defineProperty(t.prototype,"isRoot",{get:function(){return!this.props.child}
1,enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"noBlocks",{get:function(){var e=this.props.blocks;return!(e&&e.length)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"path",{get:function(){var e=this.props.dataPath||"";return e.trim()&&(e.startsWith("this.")?e=e.replace("this.",""):e.startsWith("component.options.")||(e="component.options."+e)),e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"parentId",{get:function(){return this.props.parentElementId?this.props.parentElementId:this.props.parent&&this.props.parent.id},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){this.hydrated=!0},t.prototype.render=function(){var e=this,t=this.props.blocks,n=this.props.emailMode?"span":"div";return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(n,__assign({className:"builder-blocks"+(this.noBlocks?" no-blocks":"")+(this.props.child?" builder-blocks-child":"")+(this.props.className?" "+this.props.className:""),"builder-type":"blocks","builder-path":_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isIframe&&this.hydrated?this.path:void 0,"builder-parent-id":this.parentId,css:__assign(__assign({},!this.props.emailMode&&{display:"flex",flexDirection:"column",alignItems:"stretch"}),this.props.style),onClick:function(){e.noBlocks&&e.onClickEmptyBlocks()}},_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing&&{onMouseEnter:function(){return e.onHoverEmptyBlocks()}}),t&&Array.isArray(t)&&t.map(function(t,n){return t&&"@builder.io/sdk:Element"===t["@type"]?(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderBlock$1,{key:t.id,block:t,index:n,fieldName:e.props.fieldName,child:e.props.child,emailMode:e.props.emailMode}):t})||t)},t.renderInto=function(e,n,r){if(void 0===n&&(n={}),e){var o=null;return"string"==typeof e?o=document.querySelector(e):e instanceof Element&&(o=e),react_dom__WEBPACK_IMPORTED_MODULE_3__.render((0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderStoreContext.Provider,{value:r},(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(t,__assign({},n))),o)}},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),NoWrap=function(e){return e.children};function getData(e){if(void 0!==(null==e?void 0:e.data)){var t=e.data,n=t.blocks,r=t.blocksString,o=Array.isArray(n)||"string"==typeof r,i=__assign(__assign({},e.data),o&&{blocks:n||JSON.parse(r)});return delete i.blocksString,i}}var variantsScript=function(e,t){return"\n(function() {\n if (window.builderNoTrack || !navigator.cookieEnabled) {\n return;\n }\n\n var variants = ".concat(e,";
1\n function removeVariants() {\n variants.forEach(function (template) {\n document.querySelector('template[data-template-variant-id=\"' + template.id + '\"]').remove();\n });\n document.getElementById('variants-script-").concat(t,'\').remove();\n }\n\n if (typeof document.createElement("template").content === \'undefined\') {\n removeVariants();\n return ;\n }\n\n function setCookie(name,value,days) {\n var expires = "";\n if (days) {\n var date = new Date();\n date.setTime(date.getTime() + (days*24*60*60*1000));\n expires = "; expires=" + date.toUTCString();\n }\n document.cookie = name + "=" + (value || "") + expires + "; path=/" + "; Secure; SameSite=None";\n }\n\n function getCookie(name) {\n var nameEQ = name + "=";\n var ca = document.cookie.split(\';\');\n for(var i=0;i < ca.length;i++) {\n var c = ca[i];\n while (c.charAt(0)==\' \') c = c.substring(1,c.length);\n if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);\n }\n return null;\n }\n var cookieName = \'builder.tests.').concat(t,"';\n var variantInCookie = getCookie(cookieName);\n var availableIDs = variants.map(function(vr) { return vr.id }).concat('").concat(t,"');\n var variantId;\n if (availableIDs.indexOf(variantInCookie) > -1) {\n variantId = variantInCookie;\n }\n if (!variantId) {\n var n = 0;\n var random = Math.random();\n for (var i = 0; i < variants.length; i++) {\n var variant = variants[i];\n var testRatio = variant.testRatio;\n n += testRatio;\n if (random < n) {\n setCookie(cookieName, variant.id);\n variantId = variant.id;\n break;\n }\n }\n if (!variantId) {\n variantId = \"").concat(t,'";\n setCookie(cookieName, "').concat(t,'");\n }\n }\n if (variantId && variantId !== "').concat(t,"\") {\n var winningTemplate = document.querySelector('template[data-template-variant-id=\"' + variantId + '\"]');\n if (winningTemplate) {\n var parentNode = winningTemplate.parentNode;\n var newParent = parentNode.cloneNode(false);\n newParent.appendChild(winningTemplate.content.firstChild);\n parentNode.parentNode.replaceChild(newParent, parentNode);\n }\n } else if (variants.length > 0) {\n removeVariants();\n }\n})()").replace(/\s+/g," ")},VariantsProvider=function(e){var t=e.initialContent,n=e.children,r=e.nonce;if(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&!_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl.canTrack||!Object.keys((null==t?void 0:t.variations)||{}).length)return n([t]);var o=Object.keys(t.variations).map(function(e){return __assign(__assign({id:e},t.variations[e]),{data:getData(t.variations[e])})}),i=__spreadArray(__spreadArray([],o,!0),[t],!1);if(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isServer){var a=JSON.stringify(Object.keys(t.variations||{}).map(function(e){return{id:e,testRatio:t.variations[e].testRatio}}));return react__WEBPACK_IMPORTED_MODULE_2__.createElement(react__WEBPACK_IMPORTED_MODULE_2__.Fragment,null,n(i,function(){return react__WEBPACK_IMPORTED_MODULE_2__.createElement("script",{nonce:r,id:"variants-script-".concat(t.id),dangerouslySetInnerHTML:{__html:variantsScript(a,t.id)}})}))}var s="builder.tests.".concat(t.id),l=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl.getCookie(s);if(!l&&_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser)for(var u=0,c=Math.random(),d=0;d<o.length;d++){var f=o[d];if(c<(u+=f.testRatio)){_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl.setCookie(s,f.id),l=f.id;break}}return l||(l=t.id,_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl.setCookie(s,l)),n([i.find(function(e){return e.id===l})])},BuilderContent=function(_super){function BuilderContent(){var _this=null!==_super&&_super.apply(this,arguments)||this;return _this.ref=null,_this.state={loading:!_this.props.content,data:getContentWithInfo(_this.props.content),updates:1},_this.onWindowMessage=function(event){var _a,_b,isTrusted=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isTrustedHostForEvent(event);if(isTrusted){var message=event.data;if(message)switch(message.type){case"builder.patchUpdates":if(null===(_a=_this.props.options)||void 0===_a?void 0:_a.noEditorUpdates)return;var data=message.data;if(!data||!data.data)break;var patches=data.data[null===(_b=_this.state.data)||void 0===_b?void 0:_b.id];if(!patches||!patches.length)return;location.href.includes("builder.debug=true")&&eval("debugger");for(var newData=_this.state.data,_i=0,patches_1=patches;_i<patches_1.length;_i++)newData=applyPatchWithMinimalMutationChain(newData,patches_1[_i],!1);_this.setState({updates:_this.state.updates+1,data:newData}),_this.props.contentLoaded&&_this.props.contentLoaded(newData.data,newData)}}},_this.subscriptions=new _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.w0,_this.firstLoad=!0,_this.clicked=!1,_this.trackedImpression=!1,_this.intersectionObserver=null,_this.onClick=function(e){var t=e.nativeEvent,n=_this.data;n&&(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl.autoTrack&&_this.builder.trackInteraction(n.id,_this.renderedVariantId,_this.clicked,t,{content:n}),_this.clicked||(_this.clicked=!0))},_this}return __extends(BuilderContent,_super),Object.defineProperty(BuilderContent.prototype,"builder",{get:function(){return this.props.builder||_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl}
vendor: 4,498 bytes, line 1
1,enumerable:!1,configurable:!0}),Object.defineProperty(BuilderContent.prototype,"name",{get:function(){var e=this.props;return"model"in e?e.model:e.modelName},enumerable:!1,configurable:!0}),Object.defineProperty(BuilderContent.prototype,"renderedVariantId",{get:function(){var e,t,n=this.props.isStatic?this.builder.getCookie("builder.tests.".concat(null===(e=this.data)||void 0===e?void 0:e.id)):null===(t=this.data)||void 0===t?void 0:t.variationId;if(null!==n)return n},enumerable:!1,configurable:!0}),Object.defineProperty(BuilderContent.prototype,"options",{get:function(){var e,t,n=__assign({},this.props.options||{});return n.key||!(null===(e=this.props.content)||void 0===e?void 0:e.id)||_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing||_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isPreviewing||(n.key=this.props.content.id),!this.props.content||(null===(t=n.initialContent)||void 0===t?void 0:t.length)||!this.props.inline&&_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isPreviewing||(n.initialContent=[this.props.content]),n},enumerable:!1,configurable:!0}),Object.defineProperty(BuilderContent.prototype,"data",{get:function(){return getContentWithInfo((this.props.inline||!_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser||this.firstLoad)&&this.options.initialContent&&this.options.initialContent[0]||this.state.data)},enumerable:!1,configurable:!0}),BuilderContent.prototype.componentDidMount=function(){var e,t;if(!this.props.inline||_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing||_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isPreviewing)this.subscribeToContent();else if(this.props.inline&&(null===(t=null===(e=this.options)||void 0===e?void 0:e.initialContent)||void 0===t?void 0:t.length)){var n=this.options.initialContent[0];(null==n?void 0:n.id)&&(this.builder.contentId=n.id,this.builder.trackImpression(n.id,this.renderedVariantId,void 0,{content:n}))}_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing&&addEventListener("message",this.onWindowMessage)},BuilderContent.prototype.subscribeToContent=function(){var e=this;"_inline"!==this.name&&this.subscriptions.add(this.builder.queueGetContent(this.name,this.options).subscribe(function(t){var n=t&&t[0];e.setState({data:n,loading:!1});var r=(e.builder.editingModel||e.builder.previewingModel)===e.name;if(!e.props.inline&&e.props.content&&e.firstLoad&&r&&(e.firstLoad=!1,e.subscriptions.unsubscribe(),e.subscribeToContent()),n&&e.firstLoad&&(e.firstLoad=!1,_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl.autoTrack&&!_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing)){var o=!1;if("function"==typeof IntersectionObserver&&e.ref)try{(e.intersectionObserver=new IntersectionObserver(function(t,r){t.forEach(function(t){t.intersectionRatio>0&&!e.trackedImpression&&(e.builder.trackImpression(n.id,e.renderedVariantId,void 0,{content:e.data}),e.data,e.trackedImpression=!0,e.ref&&r.unobserve(e.ref))})})).observe(e.ref),o=!0}catch(e){console.warn("Could not bind intersection observer")}o||(e.trackedImpression=!0,e.builder.trackImpression(n.id,e.renderedVariantId,void 0,{content:n}))}e.props.contentLoaded&&e.props.contentLoaded(n&&n.data,n)},function(t){e.props.contentError&&(e.props.contentError(t),e.setState({loading:!1}))}))},BuilderContent.prototype.componentWillUnmount=function(){_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing&&removeEventListener("message",this.onWindowMessage),this.subscriptions.unsubscribe(),this.intersectionObserver&&this.ref&&this.intersectionObserver.unobserve(this.ref)},BuilderContent.prototype.render=function(){var e=this;if(this.props.dataOnly)return null;var t=this.state.loading,n=this.data,r=this.props.dataOnly?NoWrap:"div";return react__WEBPACK_IMPORTED_MODULE_2__.createElement(VariantsProvider,{initialContent:n,nonce:this.props.nonce},function(o,i){return react__WEBPACK_IMPORTED_MODULE_2__.createElement(react__WEBPACK_IMPORTED_MODULE_2__.Fragment,null,o.map(function(a,s){var l=s===o.length-1?react__WEBPACK_IMPORTED_MODULE_2__.Fragment:"template";return react__WEBPACK_IMPORTED_MODULE_2__.createElement(react__WEBPACK_IMPORTED_MODULE_2__.Fragment,{key:String((null==a?void 0:a.id)+s)},"template"!==l&&(null==i?void 0:i()),react__WEBPACK_IMPORTED_MODULE_2__.createElement(l,__assign({key:String((null==a?void 0:a.id)+s)},"template"===l&&{"data-template-variant-id":null==a?void 0:a.id}),react__WEBPACK_IMPORTED_MODULE_2__.createElement(r,__assign({},0===s&&!e.props.dataOnly&&{ref:function(t){return e.ref=t}}
1,{className:"builder-content",onClick:e.onClick,"builder-content-id":null==a?void 0:a.id,"builder-model":e.name}),e.props.children(null==a?void 0:a.data,!e.props.inline&&t,n))))}))})},BuilderContent}(react__WEBPACK_IMPORTED_MODULE_2__.Component),getContentWithInfo=function(e){var t;if(e){var n=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl.getCookie("builder.tests.".concat(e.id)),r=n===e.id?e:null===(t=e.variations)||void 0===t?void 0:t[n],o=(null==r?void 0:r.name)||((null==r?void 0:r.id)===e.id?"Default variation":"");return __assign(__assign({},e),{variationId:n,testVariationId:n,testVariationName:o})}return null};function unwrapExports(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function createCommonjsModule(e,t){return e(t={exports:{}},t.exports),t.exports}var onChange_1=createCommonjsModule(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=Symbol("target"),r=Symbol("unsubscribe"),o=function(e,t){return t&&t.toString&&(e&&(e+="."),e+=t.toString()),e},i=function(e){return Array.isArray(e)?e.slice():Object.assign({},e)},a=function(e,t,a){if("undefined"==typeof Proxy)return e;void 0===a&&(a={});var s,l,u=Symbol("ProxyTarget"),c=!1,d=!1,f=!1,p=a.equals||Object.is,h=new WeakMap,m=new WeakMap,v=new WeakMap,g=function(e,n,r,a){if(!f){if(c){if(c&&l&&void 0!==r&&void 0!==a&&"length"!==n){var u=l;e!==s&&function(e,t){for(var n;e;)-1===(n=e.indexOf("."))&&(n=e.length),t(e.slice(0,n)),e=e.slice(n+1)}(e=e.replace(s,"").slice(1),function(e){u[e]=i(u[e]),u=u[e]}),u[n]=r}d=!0}else t(o(e,n),a,r)}},y=function(e,t){var n=h?h.get(e):void 0;n&&n.delete(t)},b=function(e,t){if(f)return e;m.set(e,t);var n=v.get(e);return void 0===n&&(n=new Proxy(e,x),v.set(e,n)),n},w=function(e){return f||!0===a.ignoreSymbols&&"symbol"==typeof e},x={get:function(e,t,i){if(t===u||t===n)return e;if(t===r&&""===m.get(e))return function(e){return f=!0,h=null,m=null,v=null,e}(e);var s=Reflect.get(e,t,i);if(function(e){return null===e||"object"!=typeof e&&"function"!=typeof e}(s)||function(e){return e instanceof RegExp||e instanceof Number}(s)||"constructor"===t||!0===a.isShallow)return s;var l=function(e,t){var n=h?h.get(e):void 0;if(n)return n;n=new Map,h.set(e,n);var r=n.get(t);return r||(r=Reflect.getOwnPropertyDescriptor(e,t),n.set(t,r)),r}(e,t);if(l&&!l.configurable){if(l.set&&!l.get)return;if(!1===l.writable)return s}return b(s,o(m.get(e),t))},set:function(e,t,n,r){n&&void 0!==n[u]&&(n=n[u]);var o=w(t),i=o?null:Reflect.get(e,t,r),a=Reflect.set(e[u]||e,t,n);return o||p(i,n)||g(m.get(e),t,i,n),a},defineProperty:function(e,t,n){var r=Reflect.defineProperty(e,t,n);return w(t)||(y(e,t),g(m.get(e),t,void 0,n.value)),r},deleteProperty:function(e,t){if(!Reflect.has(e,t))return!0;var n=w(t),r=n?null:Reflect.get(e,t),o=Reflect.deleteProperty(e,t);return n||(y(e,t),g(m.get(e),t,r)),o},apply:function(e,t,n){var r=t instanceof Date;if(r&&(t=t[u]),!c){c=!0,r&&(l=t.valueOf()),(Array.isArray(t)||"[object Object]"===toString.call(t))&&(l=i(t[u])),s=(s=m.get(e)).slice(0,Math.max(s.lastIndexOf("."),0));var o=Reflect.apply(e,t,n);return c=!1,(d||r&&!p(l,t.valueOf()))&&(g(s,"",l,t[u]||t),l=null,d=!1),o}return Reflect.apply(e,t,n)}},k=b(e,"");return t=t.bind(k),k};a.target=function(e){return e[n]||e},a.unsubscribe=function(e){return e[r]||e},e.exports=a,t.default=a}),onChange=unwrapExports(onChange_1),nextTick=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.nextTick;function debounceNextTick(e,t,n){return void 0===t&&"function"==typeof e?debounceNextTickImpl(e):{configurable:!0,enumerable:n.enumerable,get:function(){return Object.defineProperty(this,t,{configurable:!0,enumerable:n.enumerable,value:debounceNextTickImpl(n.value)}),this[t]}}}function debounceNextTickImpl(e){var t=null,n=null;return function(){var e=t;t=[].slice.call(arguments),n=this,null===e&&nextTick(r)};function r(){e.apply(n,t),t=null,n=null}}function throttle(e,t,n){void 0===n&&(n={});var r,o,i,a=null,s=0,l=function(){s=!1===n.leading?0:Date.now(),a=null,i=e.apply(r,o),a||(r=o=null)};return function(){var u=Date.now();s||!1!==n.leading||(s=u);var c=t-(u-s);return r=this,o=arguments,c<=0||c>t?(a&&(clearTimeout(a),a=null),s=u,i=e.apply(r,o),a||(r=o=null)):a||!1===n.trailing||(a=setTimeout(l,c)),i}}var BuilderMetaContext=react__WEBPACK_IMPORTED_MODULE_2__.createContext({emailMode:!1,ampMode:!1,isServer:!1}),tryEval=function(e,t,n){void 0===t&&(t={});var r=e;if("string"==typeof r&&r.trim()){var o=!(r.includes(";")||r.includes(" return ")),i=function(){};try{_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&(i=Function("state","var rootState = state;\n if (typeof Proxy !== 'undefined') {\n rootState = new Proxy(rootState, {\n set: function () {\n return false;\n },\n get: function (target, key) {\n if (key === 'state') {\n return state;\n }\n return target[key]\n }\n });\n }\n with (rootState) {\n ".concat(o?"return (".concat(e,");"):e,";\n }")))}catch(e){_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&console.warn("Could not compile javascript",e)}
vendor: 6,179 bytes, line 1
1try{if(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser||shouldForceBrowserRuntimeInNode())return i(t||{});var a=safeDynamicRequire("isolated-vm"),s=getIsolateContext();Object.keys(t).forEach(function(e){switch(e){case"state":case"global":case"log":console.warn("Not setting state.".concat(e," as global ").concat(e," in isolated vm"));break;default:if(void 0===t[e])return;try{"object"==typeof t[e]&&null!==t[e]?s.global.setSync(e,new a.ExternalCopy(t[e]).copyInto()):s.global.setSync(e,t[e])}catch(t){console.warn("Could not set ".concat(e," for isolated-vm:"),t)}}});var l=makeFn(e,o,["state"]),u=s.evalClosureSync(l,[new a.Reference(t||{})]);try{return JSON.parse(u)}catch(e){return u}}catch(t){n&&n.push(t),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser?console.warn("Builder custom code error:",t.message,"in",e,t.stack):isDebug()&&console.debug("Builder custom code error:",t.message,"in",e,t.stack)}finally{if(!_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&!shouldForceBrowserRuntimeInNode()){var c=getIsolateContext();Object.keys(t).forEach(function(e){switch(e){case"state":case"global":case"log":break;default:c.global.deleteSync(e)}})}}}};function toError(e){return e instanceof Error?e:Error(String(e))}function getBuilderPixel(e){return{id:"builder-pixel-"+Math.random().toString(36).split(".")[1],"@type":"@builder.io/sdk:Element",tagName:"img",properties:{role:"presentation","aria-hidden":"true",src:"https://cdn.builder.io/api/v1/pixel?apiKey=".concat(e)},responsiveStyles:{large:{height:"0",width:"0",display:"inline-block",opacity:"0",overflow:"hidden",pointerEvents:"none"}}}}function pick(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r={};return t.forEach(function(t){r[t]=e[t]}),r}function omit(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=__assign({},e);return t.forEach(function(e){delete r[e]}),r}var instancesMap=new Map,wrapComponent=function(e){return function(t){var n,r=t.builderTag||"div",o=["children"].concat((null===(n=e.inputs)||void 0===n?void 0:n.map(function(e){return e.name}))||[]),i=omit.apply(void 0,__spreadArray(__spreadArray([t],o,!1),["attributes"],!1)),a=t;return e.noWrap?react__WEBPACK_IMPORTED_MODULE_2__.createElement(e.class,__assign({attributes:i},a)):react__WEBPACK_IMPORTED_MODULE_2__.createElement(r,__assign({},i),react__WEBPACK_IMPORTED_MODULE_2__.createElement(e.class,__assign({},a)))}},size$1=function(e){return Object.keys(e).length};function debounce(e,t,n){var r;return void 0===n&&(n=!1),function(){var o=this,i=arguments;clearTimeout(r),r=setTimeout(function(){r=null,n||e.apply(o,i)},t),n&&!r&&e.apply(o,i)}}var fetch$1,fontsLoaded=new Set;globalThis.fetch&&(fetch$1=globalThis.fetch),null!=fetch$1||(fetch$1=__webpack_require__(33042));var sizeMap={desktop:"large",tablet:"medium",mobile:"small",xsmall:"xsmall"},fetchCache={};function searchToObject$1(e){var t=(e.search||"").substring(1).split("&"),n={};for(var r in t)if(t[r]&&"string"==typeof t[r]){var o=t[r].split("=");n[decodeURIComponent(o[0])]=decodeURIComponent(o[1])}return n}var BuilderComponent=function(e){function t(t){var n,r,o=this;(o=e.call(this,t)||this).subscriptions=new _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.w0,o.onStateChange=new _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Xe(null),o.asServer=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isServer,o.contentRef=null,o.styleRef=null,o.rootState=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isServer?{}:onChange({},function(){return o.updateState()}),o.lastJsCode="",o.lastHttpRequests={},o.httpSubscriptionPerKey={},o.firstLoad=!0,o.ref=null,o.messageListener=function(e){var t;if(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isTrustedHostForEvent(e)){var n=e.data;switch(n.type){case"builder.configureSdk":var r=n.data;if(!r.contentId||r.contentId!==(null===(t=o.useContent)||void 0===t?void 0:t.id))return;o.sizes=getSizesForBreakpoints(r.breakpoints||{}),o.setState({state:Object.assign(o.rootState,{deviceSize:o.deviceSizeState,device:o.device}),updates:(o.state&&o.state.updates||0)+1,breakpoints:r.breakpoints});break;case"builder.updateSpacer":var i=n.data;o.rootState._spacer,o.updateState(function(e){e._spacer=i});break;case"builder.resetState":var a=n.data,s=a.state;if(a.model===o.name){for(var l in o.rootState)"function"!=typeof o.rootState[l]&&delete o.rootState[l];Object.assign(o.rootState,s),o.setState(__assign(__assign({},o.state),{state:o.rootState,updates:(o.state&&o.state.updates||0)+1}))}break;case"builder.resetSymbolState":var u=n.data.state,c=(s=u.state,u.model,u.id);if(o.props.builderBlock&&o.props.builderBlock===c){for(var l in o.rootState)delete o.rootState[l];Object.assign(o.rootState,s),o.setState(__assign(__assign({},o.state),{state:o.rootState,updates:(o.state&&o.state.updates||0)+1}))}}}},o.stateChangeListenerActivatedHandler=function(){return o.notifyStateChange()},o.resizeFn=function(){var e=o.deviceSizeState;e!==o.state.state.deviceSize&&o.setState(__assign(__assign({},o.state),{updates:(o.state&&o.state.updates||0)+1,state:Object.assign(o.rootState,__assign(__assign({},o.state.state),{deviceSize:e}))}))},o.resizeListener=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing?throttle(o.resizeFn,200):debounce(o.resizeFn,400),o.mounted=!1,o.updateState=function(e){var t=o.rootState;e&&e(t),o.mounted?o.setState({update:o.updateState,state:t,updates:(o.state&&o.state.updates||0)+1}):o.state=__assign(__assign({},o.state),{update:o.updateState,state:t,updates:(o.state&&o.state.updates||0)+1}),o.notifyStateChange()},o.onContentLoaded=function(e,t){if("page"===o.name&&_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&e){var n=e.title,r=e.pageTitle,i=e.description,a=e.pageDescription;if((n||r)&&(document.title=n||r),i||a){var s=document.querySelector('meta[name="description"]');s||((s=document.createElement("meta")).setAttribute("name","description"),document.head.appendChild(s)),s.setAttribute("content",i||a)}}if(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing&&o.notifyStateChange(),o.props.contentLoaded&&o.props.contentLoaded(e,t),e&&e.inputs&&Array.isArray(e.inputs)&&e.inputs.length&&(e.state||(e.state={}
1),e.inputs.forEach(function(t){t&&t.name&&void 0!==t.defaultValue&&void 0===e.state[t.name]&&(e.state[t.name]=t.defaultValue)})),e&&e.state){var l=__assign(__assign({},o.state),{updates:(o.state&&o.state.updates||0)+1,state:Object.assign(o.rootState,__assign(__assign(__assign(__assign(__assign({},o.state.state),{location:o.locationState,device:o.device}),e.state),o.externalState),{deviceSize:o.deviceSizeState}))});o.mounted?o.setState(l):o.state=l}if(e&&e.jsCode&&!o.options.codegen){var u=!1;if(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing&&(o.lastJsCode===e.jsCode?u=!0:o.lastJsCode=e.jsCode),!u){var c=o.state.state;try{Function("data","ref","state","update","element","Builder","builder","context",e.jsCode)(e,o,c,o.state.update,o.ref,_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib,_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl,o.state.context)}catch(t){var d=toError(t);_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser?console.warn("Builder custom code error:",d.message,"in",e.jsCode,d.stack):isDebug()&&console.debug("Builder custom code error:",d.message,"in",e.jsCode,d.stack)}}}if(e&&e.httpRequests&&!o.props.noAsync&&(u=!1,1)){var f=function(t){var n=e.httpRequests[t];if(n&&(!o.data[t]||_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing)){var r="object"==typeof n&&"@builder.io/core:Request"===n["@type"];if(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser){var i=r?o.evalExpression(n.request.url):o.evalExpression(n);if(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing&&o.lastHttpRequests[t]===i)return"continue";o.lastHttpRequests[t]=i,r?o.handleRequest(t,{url:i,method:n.request.method,body:n.request.body,headers:n.request.headers}):o.handleRequest(t,{url:i,method:"GET"});var a=o.httpSubscriptionPerKey[t];a&&a.unsubscribe();var s=o.httpSubscriptionPerKey[t]=o.onStateChange.subscribe(function(){var e=r?o.evalExpression(n.request.url):o.evalExpression(n);e!==i&&(r?o.handleRequest(t,{url:e,method:n.request.method,body:n.request.body,headers:n.request.headers}):o.handleRequest(t,{url:e,method:"GET"}),o.lastHttpRequests[t]=e)});o.subscriptions.add(s)}else r?o.handleRequest(t,{url:o.evalExpression(n.request.url),method:n.request.method,body:n.request.body,headers:n.request.headers}):o.handleRequest(t,{url:o.evalExpression(n),method:"GET"})}};for(var p in e.httpRequests)f(p)}};var i=o.inlinedContent;i&&i.content&&(i=i.content),o.sizes=getSizesForBreakpoints((null===(n=null==i?void 0:i.meta)||void 0===n?void 0:n.breakpoints)||{});var a=null===(r=o.inlinedContent)||void 0===r?void 0:r.data;a&&Array.isArray(a.inputs)&&a.inputs.length>0&&(a.state||(a.state={}),a.inputs.forEach(function(e){e&&e.name&&void 0!==e.defaultValue&&void 0===a.state[e.name]&&(a.state[e.name]=e.defaultValue)})),o.state={context:__assign(__assign({},t.context),{apiKey:o.props.apiKey||_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl.apiKey,nonce:o.props.nonce}),state:Object.assign(o.rootState,__assign(__assign(__assign(__assign({},o.inlinedContent&&o.inlinedContent.data&&o.inlinedContent.data.state),{isBrowser:_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser,isServer:!_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser,_hydrate:t.hydrate,location:o.locationState,deviceSize:o.deviceSizeState,device:o.device}),o.getHtmlData()),t.data)),updates:0,key:0,update:o.updateState};var s=o.props.apiKey;if(s&&s!==o.builder.apiKey&&!instancesMap.has(s)){var l=new _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib(s,void 0,void 0,!0);instancesMap.set(s,l)}if(o.inlinedContent){var u=o.inlinedContent.content||o.inlinedContent;o.onContentLoaded(null==u?void 0:u.data,getContentWithInfo(u))}return o.registerCustomComponents(),o}return __extends(t,e),Object.defineProperty(t.prototype,"options",{get:function(){return __assign(__assign({},t.defaults),this.props)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this.props.model||this.props.modelName||this.props.name},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"element",{get:function(){return this.ref}
1,enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"inlinedContent",{get:function(){if(!this.isPreviewing||this.props.inlineContent)return this.props.content},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"builder",{get:function(){return this.props.apiKey&&instancesMap.get(this.props.apiKey)||this.props.builder||_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl},enumerable:!1,configurable:!0}),t.prototype.getHtmlData=function(){var e=this.inlinedContent&&this.inlinedContent.id||this.props.entry,t=e&&_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&document.querySelector('script[data-builder-json="'.concat(e,'"],script[data-builder-state="').concat(e,'"]'));if(t)try{return JSON.parse(t.innerText)}catch(e){console.warn("Could not parse Builder.io HTML data transfer",e,t.innerText)}return{}},Object.defineProperty(t.prototype,"device",{get:function(){return this.builder.getUserAttributes().device||"desktop"},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"locationState",{get:function(){return __assign(__assign({},pick(this.location,"pathname","hostname","search","host")),{path:this.location.pathname&&this.location.pathname.split("/").slice(1)||"",query:searchToObject$1(this.location)})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"deviceSizeState",{get:function(){return _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser?this.sizes.getSizeForWidth(window.innerWidth):sizeMap[this.device]||"large"},enumerable:!1,configurable:!0}),t.renderInto=function(e,n,r,o){if(void 0===n&&(n={}),void 0===r&&(r=!0),void 0===o&&(o=!1),console.debug("BuilderPage.renderInto",e,n,r,this),e){var i=null;if("string"==typeof e?i=document.querySelector(e):e instanceof Element&&(i=e),i){var a=i.classList.contains("builder-hydrated");if(!a||o){i.classList.add("builder-hydrated");var s=r&&i.innerHTML.includes("builder-block");if(!i.classList.contains("builder-component")){var l=i.querySelector(".builder-api-styles")||(i.previousElementSibling&&i.previousElementSibling.matches(".builder-api-styles")?i.previousElementSibling:null),u="";l&&(l.innerHTML.replace(/\/\*start:([^\*]+?)\*\/([\s\S]*?)\/\*end:([^\*]+?)\*\//g,function(e,t,n){var r=null;try{r=document.querySelector('[data-emotion-css="'.concat(t,'"]'))}catch(e){console.warn(e)}return r?r.innerHTML=n:_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing||(u+=e),e}),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.nextTick(function(){l.innerHTML=u}));var c=i.querySelector(".builder-component");c?i=c:s=!1}location.search.includes("builder.debug=true")&&console.debug("hydrate",s,i);var d=i;if(!a){var f=document.createElement("div");i.insertAdjacentElement("beforebegin",f),f.appendChild(i),d=f}if((_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing||_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&location.search.includes("builder.preview="))&&(s=!1),s&&i){var p=react_dom__WEBPACK_IMPORTED_MODULE_3__.render(react__WEBPACK_IMPORTED_MODULE_2__.createElement(t,__assign({},n)),d,d.builderRootRef);return d.builderRootRef=p,p}var h=react_dom__WEBPACK_IMPORTED_MODULE_3__.render(react__WEBPACK_IMPORTED_MODULE_2__.createElement(t,__assign({},n)),d,d.builderRootRef);return d.builderRootRef=h,h}console.debug("Tried to hydrate multiple times")}}},t.prototype.registerCustomComponents=function(){if(this.props.customComponents)for(var e=0,t=this.props.customComponents;e<t.length;e++){var n=t[e];if(n){var r=n.component,o=__rest(n,["component"]);_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.registerComponent(r,o)}}},t.prototype.componentDidMount=function(){var e,t=this;this.mounted=!0,this.asServer&&(this.asServer=!1,this.updateState(function(e){e.isBrowser=!0,e.isServer=!1})),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isIframe&&(null===(e=window.parent)||void 0===e||e.postMessage({type:"builder.sdkInjected",data:{modelName:this.name,apiKey:this.props.apiKey||_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl.apiKey}},"*")),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&(window.addEventListener("resize",this.resizeListener),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing&&(window.addEventListener("message",this.messageListener),window.addEventListener("builder:component:stateChangeListenerActivated",this.stateChangeListenerActivatedHandler)),(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing||_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isPreviewing)&&_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.nextTick(function(){t.firstLoad=!1,t.reload()}),setTimeout(function(){window.dispatchEvent(new CustomEvent("builder:component:load",{detail:{ref:t}}))}))},Object.defineProperty(t.prototype,"isPreviewing",{get:function(){return(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isServer||_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isPreviewing&&!this.firstLoad)&&(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl.previewingModel===this.name||"BUILDER_STUDIO"===_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl.previewingModel)}
vendor: 4,950 bytes, line 1
1,enumerable:!1,configurable:!0}),t.prototype.notifyStateChange=function(){if(!_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isServer&&this&&this.state){var e=this.state.state;this.props.onStateChange&&this.props.onStateChange(e),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&window.dispatchEvent(new CustomEvent("builder:component:stateChange",{detail:{state:e,ref:this}})),this.onStateChange.next(e)}},t.prototype.processStateFromApi=function(e){return e},Object.defineProperty(t.prototype,"location",{get:function(){return this.props.location||(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser?location:{})},enumerable:!1,configurable:!0}),t.prototype.getCssFromFont=function(e,t){var n=e.family+(e.kind&&!e.kind.includes("#")?", "+e.kind:""),r=n.split(",")[0],o=e.fileUrl?e.fileUrl:e.files&&e.files.regular,i="";if(o&&n&&r&&(i+='\n@font-face {\n font-family: "'.concat(n,'";\n src: local("').concat(r,"\"), url('").concat(o,"') format('woff2');\n font-display: fallback;\n font-weight: 400;\n}\n ").trim()),e.files){for(var a in e.files)if(String(Number(a))===a){var s=e.files[a];s&&s!==o&&(i+='\n@font-face {\n font-family: "'.concat(n,"\";\n src: url('").concat(s,"') format('woff2');\n font-display: fallback;\n font-weight: ").concat(a,";\n}\n ").trim())}}return i},t.prototype.componentWillUnmount=function(){this.unsubscribe(),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&(window.removeEventListener("resize",this.resizeListener),window.removeEventListener("message",this.messageListener),window.removeEventListener("builder:component:stateChangeListenerActivated",this.stateChangeListenerActivatedHandler))},t.prototype.getFontCss=function(e){var t=this;return this.builder.allowCustomFonts&&(null==e?void 0:e.customFonts)&&e.customFonts.length&&e.customFonts.map(function(n){return t.getCssFromFont(n,e)}).join(" ")||""},t.prototype.ensureFontsLoaded=function(e){if(this.builder.allowCustomFonts&&(null==e?void 0:e.customFonts)&&Array.isArray(e.customFonts))for(var t=0,n=e.customFonts;t<n.length;t++){var r=n[t],o=r.fileUrl?r.fileUrl:r.files&&r.files.regular;if(!fontsLoaded.has(o)){var i=this.getCssFromFont(r,e);if(fontsLoaded.add(o),!i)continue;var a=document.createElement("style");a.className="builder-custom-font",a.setAttribute("data-builder-custom-font",o),a.innerHTML=i,document.head.appendChild(a)}}},t.prototype.getCss=function(e){var t,n=null===(t=this.useContent)||void 0===t?void 0:t.id,r=(null==e?void 0:e.cssCode)||"";return n&&(r=r.replace(/&/g,".builder-component-".concat(n))),r+this.getFontCss(e)},Object.defineProperty(t.prototype,"data",{get:function(){var e,t=__assign(__assign(__assign({},this.inlinedContent&&(null===(e=this.inlinedContent.data)||void 0===e?void 0:e.state)),this.externalState),this.state.state);return Object.assign(this.rootState,t),t},enumerable:!1,configurable:!0}),t.prototype.componentDidUpdate=function(e){var t=this;this.props.data&&e.data!==this.props.data&&this.state.update(function(e){Object.assign(e,t.externalState)}),this.props.customComponents&&this.props.customComponents!==e.customComponents&&this.registerCustomComponents(),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing&&this.inlinedContent&&e.content!==this.inlinedContent&&this.onContentLoaded(this.inlinedContent.data,this.inlinedContent)},t.prototype.checkStyles=function(e){if(this.styleRef){var t=this.getCss(e);this.styleRef.innerHTML!==t&&(this.styleRef.innerHTML=t)}},t.prototype.reload=function(){this.setState({key:this.state.key+1})},Object.defineProperty(t.prototype,"content",{get:function(){var e=this.inlinedContent;return e&&e.content&&(e=__assign(__assign({},e),{data:e.content})),e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"externalState",{get:function(){return __assign(__assign({},this.props.data),this.props.locale?{locale:this.props.locale}:{})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"useContent",{get:function(){return this.content||this.state.context.builderContent},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e,t=this,n=this.content,r=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&this.externalState&&size$1(this.externalState)&&hash_sum__WEBPACK_IMPORTED_MODULE_4___default()(this.externalState),o=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing?this.name:this.props.entry;o&&!_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing&&r&&r.length<300&&(o+=":"+r);var i=this.props.dataOnly?react__WEBPACK_IMPORTED_MODULE_2__.Fragment:"div",a=null===(e=this.useContent)||void 0===e?void 0:e.id;return react__WEBPACK_IMPORTED_MODULE_2__.createElement(i,{onClick:function(e){!_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing||t.props.isChild||t.props.stopClickPropagationWhenEditing||e.stopPropagation()},className:"builder-component ".concat(a?"builder-component-".concat(a):""),"data-name":this.name,"data-source":"Ren
1dered by Builder.io",key:this.state.key,ref:function(e){return t.ref=e}},react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderMetaContext.Consumer,null,function(e){return react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderMetaContext.Provider,{value:"boolean"==typeof t.props.ampMode?__assign(__assign({},e),{ampMode:t.props.ampMode}):e},react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderAsyncRequestsContext.Consumer,null,function(e){var r;return t._asyncRequests=e&&e.requests,t._errors=e&&e.errors,t._logs=e&&e.logs,react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderContent,{isStatic:t.props.isStatic||_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isStatic,key:(null===(r=t.inlinedContent)||void 0===r?void 0:r.id)||("content"in t.props&&!t.isPreviewing?"null-content-prop":"no-content-prop"),builder:t.builder,ref:function(e){return t.contentRef=e},contentLoaded:function(e,n){return t.onContentLoaded(e,n)},options:__assign(__assign(__assign(__assign(__assign(__assign({key:o,entry:t.props.entry},n&&{initialContent:[n]}),!n&&"content"in t.props&&!t.isPreviewing&&{initialContent:[]}),t.props.url&&{url:t.props.url}),t.props.options),t.props.locale?{locale:t.props.locale}:{}),t.options.codegen&&{format:"react"}),inline:t.props.inlineContent||!t.isPreviewing&&"content"in t.props,contentError:t.props.contentError,modelName:t.name||"page",nonce:t.props.nonce},function(e,n,r){if(t.props.dataOnly)return null;r&&r.id&&(t.state.breakpoints&&(r.meta=r.meta||{},r.meta.breakpoints=t.state.breakpoints),t.state.context.builderContent=r),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.nextTick(function(){t.checkStyles(e)});var o,i=t.options.codegen;if(i&&!t.Component&&(null==e?void 0:e.blocksJs)){var a=Array.from(new Set(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.components.map(function(e){return e.name}))),s=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.components.slice().reverse(),l=a.map(function(e){return s.find(function(t){return t.class&&t.name===e})}),u=a.map(function(e){return(e||"").replace(/[^\w]+/gi,"")}),c=l.map(function(e){return wrapComponent(e)});t.Component=(new(Function.bind.apply(Function,__spreadArray(__spreadArray([void 0,"jsx","_css","Builder","builder","React","useBuilderState"],u,!1),[e.blocksJs],!1)))).apply(void 0,__spreadArray([_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.iv,_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib,_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl,react__WEBPACK_IMPORTED_MODULE_2__,function(e){var t=react__WEBPACK_IMPORTED_MODULE_2__.useState(0)[1];return react__WEBPACK_IMPORTED_MODULE_2__.useState(function(){return onChange(e,function(){t(function(e){return e+1})})})[0]}],c,!1))}var d=(null==e?void 0:e.blocks)||[],f=d.find(function(e){var t;return null===(t=e.id)||void 0===t?void 0:t.startsWith("builder-pixel")});return e&&!f&&d.length>0&&d.push(getBuilderPixel(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl.apiKey)),e?react__WEBPACK_IMPORTED_MODULE_2__.createElement("div",__assign({"data-builder-component":t.name,"data-builder-content-id":r.id},t.isPreviewing?{"data-builder-variation-id":r.testVariationId||r.variationId||r.id}:{}),!i&&t.getCss(e)&&react__WEBPACK_IMPORTED_MODULE_2__.createElement("style",{nonce:t.props.nonce,ref:function(e){return t.styleRef=e},className:"builder-custom-styles",dangerouslySetInnerHTML:{__html:t.getCss(e)}}),react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderStoreContext.Provider,{value:__assign(__assign({},t.state),{rootState:t.rootState,state:t.data,content:r,renderLink:t.props.renderLink})},i&&t.Component?react__WEBPACK_IMPORTED_MODULE_2__.createElement(t.Component,{data:t.data,context:t.state.context}):react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderBlocks,{key:String(!!(null===(o=null==e?void 0:e.blocks)||void 0===o?void 0:o.length)),emailMode:t.props.emailMode,fieldName:"blocks",blocks:d}))):n?react__WEBPACK_IMPORTED_MODULE_2__.createElement("div",{"data-builder-component":t.name,className:"builder-loading"},t.props.children):react__WEBPACK_IMPORTED_MODULE_2__.createElement("div",{"data-builder-component":t.name,className:"builder-no-content"})})}))}))},t.prototype.evalExpression=function(e){var t=this,n=this.data;return String(e).replace(/{{([^}]+)}}/g,function(e,r){return tryEval(r,n,t._errors)})},t.prototype.handleRequest=function(e,t){return __awaiter(this,void 0,void 0,function(){var n,r,o,i,a,s,l,u,c,d=this;return __generator(this,function(f){return n=t.url,a=JSON.stringify({url:n,method:r=t.method,body:o=t.body,headers:i=t.headers}),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isIframe&&fetchCache[a]?(this.updateState(function(t){t[e]=fetchCache[a]}),[2,fetchCache[a]]):(s=function(){return __awaiter(d,void 0,void 0,function(){var t,s,l,u;return __generator(this,function(c){switch(c.label){case 0:t=Date.now(),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser||console.time("Fetch "+a),c.label=1;case 1:return c.trys.push([1,4,5,6]),l={method:r,headers:i,body:o},"GET"===r&&delete l.body,[4,fetch$1(n,l)];case 2:return[4,c.sent().json()];case 3:return s=c.sent(),[3,6];case 4:return u=toError(c.sent()),this._errors&&this._errors.push(u),this._logs&&this._logs.push("Fetch to ".concat(a," errored in ").concat(Date.now()-t,"ms")),[2];case 5:return _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser||(console.timeEnd("Fetch "+a),this._logs&&this._logs.push("Fetched ".concat(a," in ").concat(Date.now()-t,"ms"))),[7];case 6:return s&&(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isIframe&&(fetchCache[a]=s),this.updateState(function(t){t[e]=s})),[2,s]}})})},(l=this._asyncRequests&&this._asyncRequests.find(function(e){return isRequestInfo(e)&&e.url===n}))?((u=l.promise).then(function(t){t&&d.updateState(function(n){n[e]=t})}),[2,u]):(c=s(),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.nextTick(function(){d._asyncRequests&&d._asyncRequests.push(c)}),[2,c]))})})},t.prototype.unsubscribe=function(){this.subscriptions&&(this.subscriptions.unsubscribe(),this.subscriptions=new _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.w0)},t.prototype.handleBuilderRequest=function(e,t){var n=this,r=tryEval(t,this.data,this._errors);this.subscriptions&&this.unsubscribe(),r&&this.subscriptions.add(this.builder.queueGetContent(r.model,r).subscribe(function(t){t&&n.updateState(function(n){n[e]=t})}))},t.defaults={codegen:!!(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&location.href.includes("builder.codegen=true"))},__decorate([debounceNextTick,__metadata("design:type",Function),__metadata("design:paramtypes",[]),__metadata("design:returntype",void 0)],t.prototype,"notifyStateChange",null),t}(react__WEBPACK_IMPORTED_MODULE_2__.Component);function BuilderBlock(e){return e.type="react",_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.Component(e)}function updateMetadata(e,t){var n=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.components.find(function(t){return"string"==typeof e?t.name===e:t.class===t})||null,r=t(n);n&&r?_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.registerComponent(r.class||n.class,r):n&&!r||!n&&r&&_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.registerComponent(r.class,r)}function withBuilder(e,t){return BuilderBlock(t)(e),e}var isBuilderElement=function(e){return!!("object"==typeof e&&e&&"@builder.io/sdk:Element"===(null==e?void 0:e["@type"]))},withChildren=function(e){var t=react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function(t,n){var r,o,i=__assign({},t),a=t.children||t.builderBlock&&t.builderBlock.children&&t.builderBlock.children.map(function(e){return react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderBlock$1,{key:e.id,block:e})}),s=null===(o=null===(r=t.builderBlock)||void 0===r?void 0:r.component)||void 0===o?void 0:o.options;
1return s&&Object.keys(s).forEach(function(e){var t=s[e];Array.isArray(t)&&t.every(isBuilderElement)?i[e]=t.map(function(e){return react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderBlock$1,{key:e.id,block:e})}):isBuilderElement(t)&&(i[e]=react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderBlock$1,{block:t}))}),react__WEBPACK_IMPORTED_MODULE_2__.createElement(e,__assign({},i,{ref:n}),a)});return t.builderOptions={canHaveChildren:!0},t},noWrap=function(e){var t=react__WEBPACK_IMPORTED_MODULE_2__.forwardRef(function(t,n){var r=__assign(__assign({},t),t.attributes);return react__WEBPACK_IMPORTED_MODULE_2__.createElement(e,__assign({},r,{ref:n}))});return t.builderOptions={noWrap:!0},t},iconUrl="https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-text_fields-24px%20(1).svg?alt=media&token=12177b73-0ee3-42ca-98c6-0dd003de1929",TextComponent=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.textRef=null,t}return __extends(t,e),t.prototype.componentDidMount=function(){this.textRef&&!/{{([^}]+)}}/.test(this.props.text)&&(this.textRef.innerHTML=this.props.text)},t.prototype.evalExpression=function(e,t){return this.allowTextEdit?String(e):String(e).replace(/{{([^}]+)}}/g,function(e,n){return tryEval(n,t)})},Object.defineProperty(t.prototype,"allowTextEdit",{get:function(){return _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing&&location.search.includes("builder.allowTextEdit=true")&&!(this.props.builderBlock&&this.props.builderBlock.bindings&&(this.props.builderBlock.bindings["component.options.text"]||this.props.builderBlock.bindings["options.text"]||this.props.builderBlock.bindings.text))},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this,t={outline:"none","& p:first-of-type, & .builder-paragraph:first-of-type":{margin:0},"& > p, & .builder-paragraph":{color:"inherit",lineHeight:"inherit",letterSpacing:"inherit",fontWeight:"inherit",fontSize:"inherit",textAlign:"inherit",fontFamily:"inherit"}};return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderStoreContext.Consumer,null,function(n){var r;return(null===(r=n.content.meta)||void 0===r?void 0:r.rtlMode)&&(t.direction="rtl"),(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(react__WEBPACK_IMPORTED_MODULE_2__.Fragment,null,(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("span",__assign({ref:function(t){e.textRef=t},css:t,className:"builder-text"},{dangerouslySetInnerHTML:{__html:e.evalExpression(e.props.text||e.props.content||"",n.state)}})))})},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),Text=withBuilder(TextComponent,{name:"Text",static:!0,image:iconUrl,inputs:[{name:"text",type:"html",required:!0,autoFocus:!0,bubble:!0,defaultValue:"Enter some text..."}],defaultStyles:{lineHeight:"normal",height:"auto",textAlign:"center"}});function Slot(e){var t=e.name,n=(0,react__WEBPACK_IMPORTED_MODULE_2__.useContext)(BuilderStoreContext),r=!n.context.symbolId;return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("div",__assign({css:{pointerEvents:"auto"}},r&&{"builder-slot":t}),(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderBlocks,{child:!0,parentElementId:n.context.symbolId,dataPath:"symbol.data.".concat(t),blocks:n.state[t]||[]}))}_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.registerComponent(Slot,{name:"Slot",description:"Allow child blocks to be inserted into this content when used as a Symbol",docsLink:"https://www.builder.io/c/docs/symbols-with-blocks",image:"https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F3aad6de36eae43b59b52c85190fdef56",inputs:[{name:"name",type:"string",required:!0,defaultValue:"children"}]});var FragmentComponent=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(){return this.props.builderBlock&&this.props.builderBlock.children&&this.props.builderBlock.children.map(function(e,t){return react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderBlock$1,{block:e,key:e.id,index:t})})},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),Fragment=withBuilder(FragmentComponent,{name:"Core:Fragment",canHaveChildren:!0,noWrap:!0,static:!0,hideFromInsertMenu:!0}),DEFAULT_ASPECT_RATIO$2=.7004048582995948,defaultBlocks=[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{display:"flex",flexDirection:"column",alignItems:"stretch",flexShrink:"0",position:"relative",marginTop:"30px",textAlign:"center",lineHeight:"normal",height:"auto",minHeight:"20px",minWidth:"20px",overflow:"hidden"}},component:{name:"Image",options:{image:"https://builder.io/api/v1/image/assets%2Fpwgjf0RoYWbdnJSbpBAjXNRMe9F2%2Ffb27a7c790324294af8be1c35fe30f4d",backgroundPosition:"center",backgroundSize:"cover",aspectRatio:DEFAULT_ASPECT_RATIO$2}}},{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{display:"flex",flexDirection:"column",alignItems:"stretch",flexShrink:"0",position:"relative",marginTop:"30px",textAlign:"center",lineHeight:"normal",height:"auto"}},component:{name:"Text",options:{text:"<p>Enter some text...</p>"}}}],ColumnsComponent=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),Object.defineProperty(t.prototype,"columns",{get:function(){return this.props.columns||[]}
1,enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"gutterSize",{get:function(){return"number"==typeof this.props.space?this.props.space||0:20},enumerable:!1,configurable:!0}),t.prototype.getWidth=function(e){return this.columns[e]&&this.columns[e].width||100/this.columns.length},t.prototype.getColumnWidth=function(e){var t=this.columns,n=this.gutterSize,r=this.getWidth(e),o=n*(t.length-1)*(r/100);return"calc(".concat(r,"% - ").concat(o,"px)")},t.prototype.render=function(){var e,t,n,r,o=this,i=this.columns,a=this.gutterSize,s=getSizesForBreakpoints((null===(r=null===(n=null===(t=this.props.builderState)||void 0===t?void 0:t.context.builderContent)||void 0===n?void 0:n.meta)||void 0===r?void 0:r.breakpoints)||{});return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(react__WEBPACK_IMPORTED_MODULE_2__.Fragment,null,(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("div",{className:"builder-columns",css:__assign({display:"flex",height:"100%"},"never"!==this.props.stackColumnsAt&&((e={})["@media (max-width: ".concat("tablet"!==this.props.stackColumnsAt?s.small.max:s.medium.max,"px)")]={flexDirection:this.props.reverseColumnsWhenStacked?"column-reverse":"column",alignItems:"stretch"},e))},i.map(function(e,t){var n,r,i=e.link?Link:"div";return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(react__WEBPACK_IMPORTED_MODULE_2__.Fragment,{key:t},(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(i,__assign({className:"builder-column"},e.link?{href:e.link}:null,{css:__assign(((n={display:"flex",flexDirection:"column",alignItems:"stretch",lineHeight:"normal"})["& > .builder-blocks"]={flexGrow:1},n.width=o.getColumnWidth(t),n.marginLeft=0===t?0:a,n),"never"!==o.props.stackColumnsAt&&((r={})["@media (max-width: ".concat("tablet"!==o.props.stackColumnsAt?s.small.max:s.medium.max,"px)")]={width:"100%",marginLeft:0},r))}),(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderBlocks,{key:t,child:!0,parentElementId:o.props.builderBlock&&o.props.builderBlock.id,blocks:e.blocks,dataPath:"component.options.columns.".concat(t,".blocks")})))})))},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),Columns=withBuilder(ColumnsComponent,{name:"Columns",static:!0,inputs:[{name:"columns",type:"array",broadcast:!0,subFields:[{name:"blocks",type:"array",hideFromUI:!0,defaultValue:defaultBlocks},{name:"width",type:"number",hideFromUI:!0,helperText:"Width %, e.g. set to 50 to fill half of the space"},{name:"link",type:"url",helperText:"Optionally set a url that clicking this column will link to"}],defaultValue:[{blocks:defaultBlocks},{blocks:defaultBlocks}],onChange:function(e){function t(){n.forEach(function(e){e.delete("width")})}var n=e.get("columns");Array.isArray(n)&&(!n.find(function(e){return e.get("width")})||(n.find(function(e){return!e.get("width")})||100!==n.reduce(function(e,t){return e+t.get("width")},0))&&t())}},{name:"space",type:"number",defaultValue:20,helperText:"Size of gap between columns",advanced:!0},{name:"stackColumnsAt",type:"string",defaultValue:"tablet",helperText:"Convert horizontal columns to vertical at what device size",enum:["tablet","mobile","never"],advanced:!0},{name:"reverseColumnsWhenStacked",type:"boolean",defaultValue:!1,helperText:"When stacking columns for mobile devices, reverse the ordering",advanced:!0}]}),EmbedComponent=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.elementRef=null,t.scriptsInserted=new Set,t.scriptsRun=new Set,t}return __extends(t,e),t.prototype.shouldComponentUpdate=function(e){return e.content!==this.props.content},t.prototype.componentDidUpdate=function(e){this.props.content!==e.content&&this.findAndRunScripts()},t.prototype.componentDidMount=function(){this.findAndRunScripts()},t.prototype.findAndRunScripts=function(){if(this.elementRef&&"undefined"!=typeof window)for(var e=this.elementRef.getElementsByTagName("script"),t=0;t<e.length;t++){var n=e[t];if(n.src){if(this.scriptsInserted.has(n.src))continue;this.scriptsInserted.add(n.src);var r=document.createElement("script");r.async=!0,r.src=n.src,document.head.appendChild(r)}else{if(this.scriptsRun.has(n.innerText))continue;this.scriptsRun.add(n.innerText);try{Function(n.innerText)()}catch(e){console.warn("Builder custom code component error:",e)}}}},Object.defineProperty(t.prototype,"content",{get:function(){return _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isServer?(this.props.content||"").replace(/<script[\s\S]*?<\/script>/g,""):this.props.content}
1,enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this;return react__WEBPACK_IMPORTED_MODULE_2__.createElement("div",{ref:function(t){return e.elementRef=t},className:"builder-embed",dangerouslySetInnerHTML:{__html:this.content}})},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),Embed=withBuilder(EmbedComponent,{name:"Embed",static:!0,inputs:[{name:"url",type:"url",required:!0,defaultValue:"",helperText:"e.g. enter a youtube url, google map, etc"},{name:"content",type:"html",defaultValue:'<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',hideFromUI:!0}]}),globalReplaceNodes={},isShopify$1=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&"Shopify"in window;if(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&globalReplaceNodes){var customCodeQuerySelector_1=".builder-custom-code";try{var allCustomCodeElements_1=Array.from(document.querySelectorAll(customCodeQuerySelector_1)),builderTemplates=document.querySelectorAll("template[data-template-variant-id]");builderTemplates.length&&Array.from(builderTemplates).forEach(function(e){var t=e.content.querySelectorAll(customCodeQuerySelector_1);t.length&&(allCustomCodeElements_1=allCustomCodeElements_1.concat(Array.from(t)))}),allCustomCodeElements_1.forEach(function(e){var t=e.parentElement,n=t&&t.getAttribute("builder-id");n&&(globalReplaceNodes[n]=globalReplaceNodes[n]||[],globalReplaceNodes[n].push(isShopify$1?e:e.cloneNode(!0)))})}catch(e){console.error("Builder replace nodes error:",e)}}var CustomCodeComponent=function(e){function t(t){var n,r=this;if((r=e.call(this,t)||this).elementRef=null,r.originalRef=null,r.scriptsInserted=new Set,r.scriptsRun=new Set,r.firstLoad=!0,r.replaceNodes=!1,r.state={hydrated:!1},_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser){var o=null===(n=r.props.builderBlock)||void 0===n?void 0:n.id;if(r.replaceNodes=!!(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&(t.replaceNodes||isShopify$1)&&o&&(null==globalReplaceNodes?void 0:globalReplaceNodes[o])),r.firstLoad&&r.props.builderBlock){if(o&&(null==globalReplaceNodes?void 0:globalReplaceNodes[o])){var i=globalReplaceNodes[o].shift()||null;r.originalRef=i,0===globalReplaceNodes[o].length&&delete globalReplaceNodes[o]}else if(r.replaceNodes){var a=document.querySelectorAll(".".concat(r.props.builderBlock.id," .builder-custom-code"));if(1===a.length){var s=a[0];r.originalRef=s,r.originalRef.remove()}}}}return r}return __extends(t,e),t.prototype.shouldComponentUpdate=function(e){return e.code!==this.props.code},Object.defineProperty(t.prototype,"noReactRender",{get:function(){var e;return!!(isShopify$1&&(null===(e=this.props.code)||void 0===e?void 0:e.match(/{[{%]/g)))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isHydrating",{get:function(){return!isShopify$1&&this.originalRef},enumerable:!1,configurable:!0}),t.prototype.componentDidUpdate=function(e){this.props.code!==e.code&&this.findAndRunScripts()},t.prototype.componentDidMount=function(){var e=this;this.firstLoad=!1,this.replaceNodes||(this.isHydrating?(this.setState({hydrated:!0}),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.nextTick(function(){return e.findAndRunScripts()})):this.findAndRunScripts()),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&this.replaceNodes&&this.originalRef&&this.elementRef&&this.elementRef.appendChild(this.originalRef)},t.prototype.findAndRunScripts=function(){if(this.elementRef&&"undefined"!=typeof window)for(var e=this.elementRef.getElementsByTagName("script"),t=0;t<e.length;t++){var n=e[t];if(n.src){if(this.scriptsInserted.has(n.src))continue;this.scriptsInserted.add(n.src);var r=document.createElement("script");r.async=!0,r.src=n.src,document.head.appendChild(r)}else if(!n.type||["text/javascript","application/javascript","application/ecmascript"].includes(n.type)){if(this.scriptsRun.has(n.innerText))continue;try{this.scriptsRun.add(n.innerText),Function(n.innerText)()}catch(e){console.warn("Builder custom code component error:",e)}}}},Object.defineProperty(t.prototype,"code",{get:function(){return(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isServer||this.isHydrating&&this.firstLoad)&&this.props.scriptsClientOnly?(this.props.code||"").replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,""):this.props.code}
1,enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this;return react__WEBPACK_IMPORTED_MODULE_2__.createElement("div",__assign({ref:function(t){return e.elementRef=t},className:"builder-custom-code"},!this.replaceNodes&&!this.noReactRender&&{dangerouslySetInnerHTML:{__html:this.code}}))},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),CustomCode=withBuilder(CustomCodeComponent,{name:"Custom Code",static:!0,requiredPermissions:["editCode"],inputs:[{name:"code",type:"html",required:!0,defaultValue:"<p>Hello there, I am custom HTML code!</p>",code:!0},__assign({name:"replaceNodes",type:"boolean",helperText:"Preserve server rendered dom nodes",advanced:!0},isShopify$1&&{defaultValue:!0}),__assign({name:"scriptsClientOnly",type:"boolean",helperText:"Only print and run scripts on the client. Important when scripts influence DOM that could be replaced when client loads",advanced:!0},!isShopify$1&&{defaultValue:!0})]}),IMAGE_FILE_TYPES=["jpeg","jpg","png","svg","webp","gif","jfif","pjpeg","pjp","apng","avif","tif","tiff","heif","bmp","eps","raw","cr2","nef","orf","sr2","psd","heic","dib","ai"],VIDEO_FILE_TYPES=["mp4","webm","mkv","flv","vob","ogv","ogg","drc","gif","gifv","mng","avi","mov","qt","mts","m2ts","ts","wmv","yuv","rm","rmvb","viv","asf","amv","m4p","mpeg","mpe","m2v","m4v","svi","3gp","3g2","mxf","roq","nsv","f4v","f4p","f4a","f4b"],isNewReact=!0;function removeProtocol(e){return e.replace(/http(s)?:/,"")}function isElementInViewport(e){var t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth)}function getShopifyImageUrl(e,t){if(!e||!(null==e?void 0:e.match(/cdn\.shopify\.com/))||!t)return e;if("master"===t)return removeProtocol(e);var n=e.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);if(n){var r=e.split(n[0]),o=n[3],i=t.match("x")?t:"".concat(t,"x");return removeProtocol("".concat(r[0],"_").concat(i).concat(o))}return null}var DEFAULT_ASPECT_RATIO$1=.7041;function updateQueryParam(e,t,n){void 0===e&&(e="");var r=RegExp("([?&])"+t+"=.*?(&|$)","i"),o=-1!==e.indexOf("?")?"&":"?";return e.match(r)?e.replace(r,"$1"+t+"="+encodeURIComponent(n)+"$2"):e+o+t+"="+encodeURIComponent(n)}function getSrcSet(e){if(!e)return e;
vendor: 4,120 bytes, line 1
1var t=[100,200,400,800,1200,1600,2e3];if(e.match(/builder\.io/)){var n=e,r=Number(e.split("?width=")[1]);return isNaN(r)||(n="".concat(n," ").concat(r,"w")),t.filter(function(e){return e!==r}).map(function(t){return"".concat(updateQueryParam(e,"width",t)," ").concat(t,"w")}).concat([n]).join(", ")}return e.match(/cdn\.shopify\.com/)?t.map(function(t){return[getShopifyImageUrl(e,"".concat(t,"x").concat(t)),t]}).filter(function(e){return!!e[0]}).map(function(e){var t=e[0],n=e[1];return"".concat(t," ").concat(n,"w")}).concat([e]).join(", "):e}var getSizes=function(e,t,n){void 0===n&&(n={});var r,o,i,a,s,l,u,c,d="";if(e){var f=e.split(","),p=f.length;d=f.map(function(e,t){return p===t+1?e.replace(/\([\s\S]*?\)/g,"").trim():e}).join(", ")}else if(t&&t.responsiveStyles){var h=[],m=!1,v=/^\d+/,g=getSizesForBreakpoints(n);if(null===(i=null===(o=null===(r=t.responsiveStyles)||void 0===r?void 0:r.small)||void 0===o?void 0:o.width)||void 0===i?void 0:i.match(v)){m=!0;var y="(max-width: ".concat(g.small.max,"px)"),b="".concat(y," ").concat(t.responsiveStyles.small.width.replace("%","vw"));h.push(b)}if((null===(l=null===(s=null===(a=t.responsiveStyles)||void 0===a?void 0:a.medium)||void 0===s?void 0:s.width)||void 0===l?void 0:l.match(v))&&(m=!0,y="(max-width: ".concat(g.medium.max,"px)"),b="".concat(y," ").concat(t.responsiveStyles.medium.width.replace("%","vw")),h.push(b)),null===(c=null===(u=t.responsiveStyles)||void 0===u?void 0:u.large)||void 0===c?void 0:c.width){var w=t.responsiveStyles.large.width.replace("%","vw");h.push(w)}else m&&h.push("100vw");h.length&&(d=h.join(", "))}return d},ImageComponent=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={imageLoaded:!t.useLazyLoading,load:!t.useLazyLoading},t.pictureRef=null,t.scrollListener=null,t.intersectionObserver=null,t}return __extends(t,e),Object.defineProperty(t.prototype,"useLazyLoading",{get:function(){return!this.props.highPriority&&(!_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser||!location.search.includes("builder.lazyLoadImages=false"))&&(!(!_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser||!location.href.includes("builder.lazyLoadImages=true"))||this.props.lazy)},enumerable:!1,configurable:!0}),t.prototype.componentWillUnmount=function(){_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&(this.scrollListener&&(window.removeEventListener("scroll",this.scrollListener),this.scrollListener=null),this.intersectionObserver&&this.pictureRef&&this.intersectionObserver.unobserve(this.pictureRef))},t.prototype.componentDidMount=function(){var e=this;if(this.props.lazy&&_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser){if(this.pictureRef&&isElementInViewport(this.pictureRef))this.setState({load:!0});else if("function"==typeof IntersectionObserver&&this.pictureRef)(this.intersectionObserver=new IntersectionObserver(function(t,n){t.forEach(function(t){t.intersectionRatio>0&&(e.setState({load:!0}),e.pictureRef&&n.unobserve(e.pictureRef))})})).observe(this.pictureRef);else{var t=throttle(function(n){if(e.pictureRef){var r=e.pictureRef.getBoundingClientRect(),o=window.innerHeight/2;r.top<window.innerHeight+o&&(e.setState(__assign(__assign({},e.state),{load:!0})),window.removeEventListener("scroll",t),e.scrollListener=null)}},400,{leading:!1,trailing:!0});this.scrollListener=t,window.addEventListener("scroll",t,{capture:!0,passive:!0}),t()}}},Object.defineProperty(t.prototype,"image",{get:function(){return this.props.image||this.props.src},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"loadEagerly",{get:function(){var e;return(null===(e=this.props.builderBlock)||void 0===e?void 0:e.id.startsWith("builder-pixel-"))||this.props.highPriority},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"fetchPriorityProp",{get:function(){var e;return(e={})[isNewReact?"fetchPriority":"fetchpriority"]=this.loadEagerly?"high":"auto",e},enumerable:!1,configurable:!0}),t.prototype.getSrcSet=function(){var e=this.image;if(e&&"string"==typeof e&&!this.props.noWebp&&(e.match(/builder\.io/)||e.match(/cdn\.shopify\.com/))
1)return getSrcSet(e)},t.prototype.render=function(){var e,t,n=this,r=this.props,o=r.aspectRatio,i=r.lazy,a=r.builderBlock,s=r.builderState,l=this.props.builderBlock&&this.props.builderBlock.children,u=this.props.srcset,c=getSizes(this.props.sizes,a,(null===(t=null===(e=null==s?void 0:s.context.builderContent)||void 0===e?void 0:e.meta)||void 0===t?void 0:t.breakpoints)||{}),d=this.props.sizes||this.loadEagerly?c:"auto, ".concat(c),f=this.image;u&&f&&f.includes("builder.io/api/v1/image")?u.includes(f.split("?")[0])||(console.debug("Removed given srcset"),u=this.getSrcSet()):f&&!u&&(u=this.getSrcSet());var p=this.props.fitContent;return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderMetaContext.Consumer,null,function(e){var t,r=e.ampMode,a=r?"amp-img":"img",s=(!i||n.state.load||r)&&(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(a,__assign({},r?{layout:"responsive",height:n.props.height||(o?Math.round(1e3*o):void 0),width:n.props.width||(o?Math.round(1e3/o):void 0)}:null,{alt:n.props.altText,title:n.props.title,key:_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing&&"string"==typeof n.image&&n.image.split("?")[0]||void 0,role:n.props.altText?void 0:"presentation",css:__assign(__assign({opacity:r?1:n.useLazyLoading&&!n.state.imageLoaded?0:1,transition:"opacity 0.2s ease-in-out",objectFit:n.props.backgroundSize||"cover",objectPosition:n.props.backgroundPosition||"center"},o&&!r&&{position:"absolute",height:"100%",width:"100%",left:0,top:0}),r&&((t={})["& img"]={objectFit:n.props.backgroundSize,objectPosition:n.props.backgroundPosition},t)),loading:n.loadEagerly?"eager":"lazy"},n.fetchPriorityProp,{className:"builder-image"+(n.props.className?" "+n.props.className:""),src:n.image},!r&&{onLoad:function(){return n.setState({imageLoaded:!0})}},{srcSet:u,sizes:!r&&d?d:void 0}));return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(react__WEBPACK_IMPORTED_MODULE_2__.Fragment,null,r?s:(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("picture",{ref:function(e){return n.pictureRef=e}},u&&u.match(/builder\.io/)&&!n.props.noWebp&&(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("source",{srcSet:u.replace(/\?/g,"?format=webp&"),type:"image/webp",sizes:d||void 0}),s),!o||r||p&&l&&l.length?null:(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("div",{className:"builder-image-sizer",css:{width:"100%",paddingTop:100*o+"%",pointerEvents:"none",fontSize:0}}," "),l&&l.length?p?l.map(function(e,t){return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderBlock$1,{key:e.id,block:e})}):(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("div",{css:{display:"flex",flexDirection:"column",alignItems:"stretch",position:"absolute",top:0,left:0,width:"100%",height:"100%"}},l.map(function(e,t){return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderBlock$1,{key:e.id,block:e})})):null)})},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),Image=withBuilder(ImageComponent,{name:"Image",static:!0,image:"https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-insert_photo-24px.svg?alt=media&token=4e5d0ef4-f5e8-4e57-b3a9-38d63a9b9dc4",defaultStyles:{position:"relative",minHeight:"20px",minWidth:"20px",overflow:"hidden"},canHaveChildren:!0,inputs:[{name:"image",type:"file",bubble:!0,allowedFileTypes:IMAGE_FILE_TYPES,required:!0,defaultValue:"https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F72c80f114dc149019051b6852a9e3b7a",onChange:function(e){e.delete("srcset"),e.delete("noWebp");var t,n,r=e.get("image"),o=e.get("aspectRatio");if(fetch(r).then(function(e){return e.blob()}).then(function(t){t.type.includes("svg")&&e.set("noWebp",!0)}),r&&(!o||.7041===o))return(t=r,void 0===n&&(n=6e4),new Promise(function(e,r){var o=document.createElement("img"),i=!1;o.onload=function(){i=!0,e(o)},o.addEventListener("error",function(e){console.warn("Image load failed",e.error),r(e.error)}),o.src=t,setTimeout(function(){i||r(Error("Image load timed out"))},n)})).then(function(t){var n=e.get("aspectRatio");e.get("image")!==r||n&&.7041!==n||t.width&&t.height&&(e.set("aspectRatio",Math.round(t.height/t.width*1e3)/1e3),e.set("height",t.height),e.set("width",t.width))})}},{name:"backgroundSize",type:"text",defaultValue:"cover",enum:[{label:"contain",value:"contain",helperText:"The image should never get cropped"},{label:"cover",value:"cover",helperText:"The image should fill its box, cropping when needed"}]},{name:"backgroundPosition",type:"text",defaultValue:"center",enum:["center","top","left","right","bottom","top left","top right","bottom left","bottom right"]},{name:"altText",type:"string",helperText:"Text to display when the user has images off"},{name:"title",type:"string",helperText:"Text to display when hovering over the asset"},{name:"highPriority",type:"boolean",advanced:!0,helperText:"Mark this image as high priority compared to other images on the page. This prevents lazy loading of the image and tells the browser to load this image before others on the page."},{name:"height",type:"number",hideFromUI:!0},{name:"width",type:"number",hideFromUI:!0},{name:"sizes",type:"string",hideFromUI:!0},{name:"srcset",type:"string",hideFromUI:!0},{name:"lazy",type:"boolean",defaultValue:!0,hideFromUI:!0},{name:"fitContent",type:"boolean",helperText:"When child blocks are provided, fit to them instead of using the image's aspect ratio",defaultValue:!0},{name:"aspectRatio",type:"number",helperText:"This is the ratio of height/width, e.g. set to 1.5 for a 300px wide and 200px tall photo. Set to 0 to not force the image to maintain it's aspect ratio",advanced:!0,defaultValue:DEFAULT_ASPECT_RATIO$1}]}),DEFAULT_ASPECT_RATIO=.7004048582995948,VideoComponent=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;
1return t.video=null,t.containerRef=null,t.lazyVideoObserver=null,t.state={load:!t.lazyLoad},t}return __extends(t,e),Object.defineProperty(t.prototype,"lazyLoad",{get:function(){return!1!==this.props.lazyLoad},enumerable:!1,configurable:!0}),t.prototype.updateVideo=function(){var e=this,t=this.video;t&&["muted","playsInline","autoPlay"].forEach(function(n){var r=n.toLowerCase();e.props[n]?t.setAttribute(r,r):t.removeAttribute(r)})},t.prototype.componentDidUpdate=function(){this.updateVideo()},t.prototype.componentDidMount=function(){var e=this;if(this.updateVideo(),this.lazyLoad&&_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser){var t=new IntersectionObserver(function(t){t.forEach(function(t){t.isIntersecting&&(e.setState(function(e){return __assign(__assign({},e),{load:!0})}),e.lazyVideoObserver&&(e.lazyVideoObserver.disconnect(),e.lazyVideoObserver=null))})});this.containerRef&&(t.observe(this.containerRef),this.lazyVideoObserver=t)}},t.prototype.componentWillUnmount=function(){this.lazyVideoObserver&&(this.lazyVideoObserver.disconnect(),this.lazyVideoObserver=null)},t.prototype.render=function(){var e=this,t=this.props,n=t.aspectRatio,r=t.children;return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("div",{ref:function(t){return e.containerRef=t},css:{position:"relative"}},(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("video",{key:this.props.video||"no-src",poster:this.props.posterImage,ref:function(t){return e.video=t},autoPlay:this.props.autoPlay,muted:this.props.muted,controls:this.props.controls,loop:this.props.loop,preload:this.props.preload||"metadata",className:"builder-video",css:__assign({width:"100%",height:"100%",objectFit:this.props.fit,objectPosition:this.props.position,borderRadius:1},n?{position:"absolute"}:null)},(!this.lazyLoad||this.state.load)&&(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("source",{type:"video/mp4",src:this.props.video})),!n||this.props.fitContent&&r?null:(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("div",{css:{width:"100%",paddingTop:100*n+"%",pointerEvents:"none",fontSize:0}}),r&&this.props.fitContent?(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("div",{css:{display:"flex",flexDirection:"column",alignItems:"stretch"}},r):r?(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("div",{css:{pointerEvents:"none",display:"flex",flexDirection:"column",alignItems:"stretch",position:"absolute",top:0,left:0,width:"100%",height:"100%"}},r):null)},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),Video=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.registerComponent(withChildren(VideoComponent),{name:"Video",canHaveChildren:!0,defaultStyles:{minHeight:"20px",minWidth:"20px"},image:"https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-videocam-24px%20(1).svg?alt=media&token=49a84e4a-b20e-4977-a650-047f986874bb",inputs:[{name:"video",type:"file",allowedFileTypes:VIDEO_FILE_TYPES,bubble:!0,defaultValue:"https://cdn.builder.io/o/assets%2FYJIGb4i01jvw0SRdL5Bt%2Fd27731a526464deba0016216f5f9e570%2Fcompressed?apiKey=YJIGb4i01jvw0SRdL5Bt&token=d27731a526464deba0016216f5f9e570&alt=media&optimized=true",required:!0},{name:"posterImage",type:"file",allowedFileTypes:IMAGE_FILE_TYPES,helperText:"Image to show before the video plays"},{name:"autoPlay",type:"boolean",defaultValue:!0},{name:"controls",type:"boolean",defaultValue:!1},{name:"muted",type:"boolean",defaultValue:!0},{name:"loop",type:"boolean",defaultValue:!0},{name:"playsInline",type:"boolean",defaultValue:!0},{name:"fit",type:"text",defaultValue:"cover",enum:["contain","cover","fill","auto"]},{name:"preload",type:"text",defaultValue:"metadata",enum:["auto","metadata","none"]},{name:"fitContent",type:"boolean",helperText:"When child blocks are provided, fit to them instead of using the aspect ratio",defaultValue:!0,advanced:!0},{name:"position",type:"text",defaultValue:"center",enum:["center","top","left","right","bottom","top left","top right","bottom left","bottom right"]},{name:"height",type:"number",advanced:!0},{name:"width",type:"number",advanced:!0},{name:"aspectRatio",type:"number",advanced:!0,defaultValue:DEFAULT_ASPECT_RATIO},{name:"lazyLoad",type:"boolean",helperText:'Load this video "lazily" - as in only when a user scrolls near the video. Recommended for optmized performance and bandwidth consumption',defaultValue:!0,advanced:!0}]}),size=function(e){return Object.keys(e).length},isShopify=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&"Shopify"in window,refs={};if(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser)try{Array.from(document.querySelectorAll("[builder-static-symbol]")).forEac
1h(function(e){var t=e.getAttribute("builder-static-symbol");t&&(refs[t]=e)})}catch(e){console.error("Builder replace nodes error:",e)}var SymbolComponent=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.ref=null,t.staticRef=null,t.isEditingThisSymbol=!1,t}return __extends(t,e),Object.defineProperty(t.prototype,"placeholder",{get:function(){return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("div",{css:{padding:10}},"Symbols let you reuse dynamic elements across your content. Please choose a model and entry for this symbol.")},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){var e,t,n,r=this;this.useStatic&&this.staticRef&&refs[null===(e=this.props.builderBlock)||void 0===e?void 0:e.id]&&(null===(t=this.staticRef.parentNode)||void 0===t||t.replaceChild(refs[null===(n=this.props.builderBlock)||void 0===n?void 0:n.id],this.staticRef)),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.nextTick(function(){var e=r.props.symbol||{},t=e.model,n=e.entry;r.isEditingThisSymbol=!!(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing&&t===_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl.editingModel&&n&&location.search.includes("overrides.".concat(n)))})},Object.defineProperty(t.prototype,"useStatic",{get:function(){var e;return!!(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&refs[null===(e=this.props.builderBlock)||void 0===e?void 0:e.id]&&!(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing||_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isPreviewing))},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e,t,n=this;if(this.useStatic)return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("div",{ref:function(e){return n.staticRef=e}});var r=this.props.symbol,o=!1;r||(o=!0);var i=this.props.dataOnly?NoWrap:this.props.builderBlock&&this.props.builderBlock.tagName||"div",a=r||{},s=a.model,l=a.entry,u=a.data,c=a.content,d=a.inline,f=a.ownerId,p=(null==r?void 0:r.dynamic)||this.props.dynamic;s&&(l||p)||(null===(e=null==c?void 0:c.data)||void 0===e?void 0:e.blocksJs)||d||(o=!0),this.isEditingThisSymbol&&(o=!1);var h=p?null===(t=this.props.builderBlock)||void 0===t?void 0:t.id:[s,l].join(":"),m=u&&size(u)&&hash_sum__WEBPACK_IMPORTED_MODULE_4___default()(u);h&&m&&m.length<300&&(h+=":"+m);var v=this.props.attributes||{};return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderStoreContext.Consumer,{key:(s||"no model")+":"+(l||"no entry"+this.isEditingThisSymbol)},function(e){var t,a,d,p,m,g,y,b,w,x,k,S="".concat(h,"_").concat((null===(t=null==e?void 0:e.state)||void 0===t?void 0:t.locale)||"Default");return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(i,__assign({"data-model":s},v,{className:(v.class||v.className||"")+" builder-symbol"+((null==r?void 0:r.inline)?" builder-inline-symbol":"")+((null==r?void 0:r.dynamic)||n.props.dynamic?" builder-dynamic-symbol":"")}),o?n.placeholder:(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderComponent,__assign({},f&&{apiKey:f},(null===(a=e.state)||void 0===a?void 0:a.locale)&&{locale:e.state.locale},{isChild:!0,ref:function(e){return n.ref=e},context:__assign(__assign({},e.context),{symbolId:null===(d=n.props.builderBlock)||void 0===d?void 0:d.id}),model:s,entry:l,data:__assign(__assign(__assign({},u),!!n.props.inheritState&&omit$2(e.state,"children")),null===(w=null===(b=null===(y=null===(g=null===(m=null===(p=n.props.builderBlock)||void 0===p?void 0:p.component)||void 0===m?void 0:m.options)||void 0===g?void 0:g.symbol)||void 0===y?void 0:y.content)||void 0===b?void 0:b.data)||void 0===w?void 0:w.state),renderLink:e.renderLink,inl
1ineContent:null==r?void 0:r.inline},c&&{content:c},{key:S,options:__assign(__assign({},!n.isEditingThisSymbol&&{key:S,noEditorUpdates:!0}),"content"===_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.singletonInstance.apiEndpoint&&l&&{query:{id:l}}),codegen:!!(null===(x=null==c?void 0:c.data)||void 0===x?void 0:x.blocksJs),hydrate:null===(k=e.state)||void 0===k?void 0:k._hydrate,builderBlock:n.props.builderBlock,dataOnly:n.props.dataOnly,nonce:e.context.nonce}),n.props.children))})},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),Symbol$1=withBuilder(SymbolComponent,{name:"Symbol",noWrap:!0,static:!0,inputs:[{name:"symbol",type:"uiSymbol"},{name:"dataOnly",helperText:"Make this a data symbol that doesn't display any UI",type:"boolean",defaultValue:!1,advanced:!0,hideFromUI:!0},{name:"inheritState",helperText:"Inherit the parent component state and data",type:"boolean",defaultValue:isShopify,advanced:!0},{name:"renderToLiquid",helperText:"Render this symbols contents to liquid. Turn off to fetch with javascript and use custom targeting",type:"boolean",defaultValue:isShopify,advanced:!0,hideFromUI:!0},{name:"useChildren",hideFromUI:!0,type:"boolean"}]}),ButtonComponent=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(){var e=this.props.link?Link:"span";return react__WEBPACK_IMPORTED_MODULE_2__.createElement(e,__assign({role:"button",href:this.props.link,target:this.props.openLinkInNewTab?"_blank":void 0},this.props.attributes),this.props.text)},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),Button=withBuilder(ButtonComponent,{name:"Core:Button",image:"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",defaultStyles:{appearance:"none",paddingTop:"15px",paddingBottom:"15px",paddingLeft:"25px",paddingRight:"25px",backgroundColor:"#000000",color:"white",borderRadius:"4px",textAlign:"center",cursor:"pointer"},inputs:[{name:"text",type:"text",defaultValue:"Click me!",bubble:!0},{name:"link",type:"url",bubble:!0},{name:"openLinkInNewTab",type:"boolean",defaultValue:!1,friendlyName:"Open link in new tab"}],static:!0,noWrap:!0}),SectionComponent=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.ref=null,t.unmountCallbacks=[],t.state={inView:!1},t}return __extends(t,e),Object.defineProperty(t.prototype,"renderContents",{get:function(){return!0!==this.props.lazyLoad||this.state.inView},enumerable:!1,configurable:!0}),t.prototype.componentWillUnmount=function(){this.unmountCallbacks.forEach(function(e){return e()})},t.prototype.componentDidMount=function(){var e=this;if(this.props.lazyLoad){if("undefined"!=typeof IntersectionObserver&&this.ref){var t=new IntersectionObserver(function(t,n){t.forEach(function(t){t.intersectionRatio>0&&(e.setState({inView:!0}),e.ref&&n.unobserve(e.ref))})},{rootMargin:"10px"});t.observe(this.ref),this.unmountCallbacks.push(function(){e.ref&&t.unobserve(e.ref)})}else this.setState({inView:!0})}},t.prototype.render=function(){var e=this;return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("section",{ref:function(t){return e.ref=t},css:__assign({width:"100%",alignSelf:"stretch",flexGrow:1,boxSizing:"border-box",maxWidth:this.props.maxWidth,display:"flex",flexDirection:"column",alignItems:"stretch",marginLeft:"auto",marginRight:"auto"},this.renderContents?null:this.props.lazyStyles)},this.renderContents?(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(react__WEBPACK_IMPORTED_MODULE_2__.Fragment,null,this.props.children,this.props.builderBlock&&this.props.builderBlock.children&&this.props.builderBlock.children.map(function(e,t){return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderBlock$1,{key:e.id,block:e})})):null)},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),Section=withBuilder(SectionComponent,{name:"Core:Section",static:!0,image:"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",inputs:[{name:"maxWidth",type:"number",defaultValue:1200},{name:"lazyLoad",type:"boolean",defaultValue:!1,advanced:!0,description:"Only render this section when in view"}],defaultStyles:{paddingLeft:"20px",paddingRight:"20px",paddingTop:"50px",paddingBottom:"50px",marginTop:"0px",width:"100vw",marginLeft:"calc(50% - 50vw)"},canHaveChildren:!0,defaultChildren:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{textAlign:"center"}},component:{name:"Text",options:{text:"<p><b>I am a section! My content keeps from getting too wide, so that it's easy to read even on big screens.</b></p><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur</p>"}}}]}),StateProviderComponent=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(){var e=this;return react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderStoreContext.Consumer,null,function(t){return react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderStoreContext.Provider,{value:__assign(__assign({},t),{state:__assign(__assign({},t.state),e.props.state),context:__assign(__assign({},t.context),e.props.context)})},e.props.builderBlock&&e.props.builderBlock.children&&e.props.builderBlock.children.map(function(e,t){return react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderBlock$1,{block:e,key:e.id,index:t,child:!0})}),e.props.children)})},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),StateProvider=withBuilder(StateProviderComponent,{name:"Builder:StateProvider",canHaveChildren:!0,static:!0,noWrap:!0,hideFromInsertMenu:!0}),prefetched=new Set;function searchToObject(e){var t=(e.search||"").substring(1).split("&"),n={};for(var r in t)if(t[r]&&"string"==typeof t[r]){var o=t[r].split("=");n[decodeURIComponent(o[0])]=decodeURIComponent(o[1])}return n}var RouterComponent=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.builder=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl,t.routed=!1,t.preloadQueue=0,t.onPopState=function(e){t.updateLocationState()},t.onMouseOverOrTouchStart=function(e){if(!(t.preloadQueue>4)&&!1!==t.props.preloadOnHover){var n=t.findHrefTarget(e);if(n){var r=n.getAttribute("href");if(r){if(!t.isRelative(r)){var o=t.convertToRelative(r);if(!o)return;r=o}if(!r.startsWith("#")&&!prefetched.has(r)){prefetched.add(r);var i=t.parseUrl(r);t.preloadQueue++;var a=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl.getUserAttributes();a.urlPath=i.pathname,a.queryString=i.search;var s=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl.get(t.model,{userAttributes:a,key:t.model+":"+i.pathname+i.search}).subscribe(function(){t.preloadQueue--,s.unsubscribe()})}}}}},t.onClick=function(e){return __awaiter(t,void 0,void 0,function(){var t,n,r,o;return __generator(this,function(i){if(!1===this.props.handleRouting||0!==e.button||e.ctrlKey||e.defaultPrevented||e.metaKey||!(t=this.findHrefTarget(e))||t.target&&"_client"!==t.target||!(n=t.getAttribute("href"))||this.props.onRoute&&(r={url:n,anchorNode:t,preventDefault:function(){this.defaultPrevented=!0},defaultPrevented:!1},this.props.onRoute(r),r.defaultPrevented))return[2];
1if(!this.isRelative(n)){if(!(o=this.convertToRelative(n)))return[2];n=o}return n.startsWith("#")||(e.preventDefault(),this.route(n)),[2]})})},t.privateState=null,t}return __extends(t,e),t.prototype.route=function(e){var t;return this.routed=!0,"function"==typeof(null===(t=window.history)||void 0===t?void 0:t.pushState)?(history.pushState(null,"",e),this.updateLocationState(),!0):(location.href=e,!1)},t.prototype.updateLocationState=function(){this.privateState&&this.privateState.update(function(e){e.location=__assign(__assign({},e.location),{pathname:location.pathname,search:location.search,path:location.pathname.split("/").slice(1),query:searchToObject(location)})})},Object.defineProperty(t.prototype,"model",{get:function(){return this.props.model||"page"},enumerable:!1,configurable:!0}),t.prototype.componentDidMount=function(){"undefined"!=typeof document&&(document.addEventListener("click",this.onClick),window.addEventListener("popstate",this.onPopState),document.addEventListener("mouseover",this.onMouseOverOrTouchStart),document.addEventListener("touchstart",this.onMouseOverOrTouchStart))},t.prototype.componentWillUnmount=function(){"undefined"!=typeof document&&(document.removeEventListener("click",this.onClick),document.removeEventListener("mouseover",this.onMouseOverOrTouchStart),window.removeEventListener("popstate",this.onPopState),document.removeEventListener("touchstart",this.onMouseOverOrTouchStart))},t.prototype.render=function(){var e=this,t=this.model;return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderStoreContext.Consumer,null,function(n){e.privateState=n;var r=n.state&&n.state.location&&n.state.location.pathname+n.state.location.search;return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("div",{className:"builder-router","data-model":t},(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("style",{nonce:n.context.nonce},"\n @keyframes builderLoadingSpinner {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n }\n /* TODO: overridable tag */\n .builder-page-loading {\n -webkit-animation: builderLoadingSpinner 1s infinite linear;\n animation: builderLoadingSpinner 1s infinite linear;\n -webkit-transform: translateZ(0);\n transform: translateZ(0);\n border-radius: 50%;\n width: 36px;\n height: 36px;\n margin: 6px auto;\n position: relative;\n border: 1px solid transparent;\n border-left: 1px solid #808284;\n }\n "),(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderComponent,{key:r,data:e.props.data,content:e.routed?void 0:e.props.content,modelName:t,options:{key:_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing?void 0:e.model+":"+r},nonce:n.context.nonce},e.props.children||(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("div",{css:{display:"flex"}},(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("div",{css:{margin:"40vh auto"},className:"builder-page-loading"}))))})},t.prototype.findHrefTarget=function(e){for(var t=e.target;t;){if(t instanceof HTMLAnchorElement&&t.getAttribute("href"))return t;if(t===e.currentTarget)break;t=t.parentElement}return null},t.prototype.isRelative=function(e){return!e.match(/^(\/\/|https?:\/\/)/i)},t.prototype.parseUrl=function(e){var t=document.createElement("a");return t.href=e,t},t.prototype.convertToRelative=function(e){var t=this.parseUrl(location.href),n=this.parseUrl(e);if(t.host===n.host){var r=n.pathname+(n.search?n.search:"");return r.startsWith("#")?null:r||"/"}return null},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),Router=withBuilder(RouterComponent,{name:"Core:Router",hideFromInsertMenu:!0,inputs:[{name:"model",type:"string",defaultValue:"page",advanced:!0},{name:"handleRouting",type:"boolean",defaultValue:!0,advanced:!0},{name:"preloadOnHover",type:"boolean",defaultValue:!0,advanced:!0},{name:"onRoute",type:"function",advanced:!0}]});function Mutation(e){var t,n,r=react__WEBPACK_IMPORTED_MODULE_2__.useRef(null);useWaitForSelector(e.selector,function(t){"afterEnd"!==e.type&&(t.innerHTML=""),t.appendChild(r.current.firstElementChild)});var o=null===(t=e.builderBlock)||void 0===t?void 0:t.children;return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("span",{style:{display:"none"},ref:r},(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderBlocks,{style:{display:"inline"},child:!0,parentElementId:null===(n=e.builderBlock)||void 0===n?void 0:n.id,dataPath:"this.children",blocks:o}))}function useWaitForSelector(e,t){react__WEBPACK_IMPORTED_MODULE_2__.useLayoutEffect(function(){try{var n=document.querySelector(e);
vendor: 10,073 bytes, line 1
1if(n)return void t(n)}catch(e){console.warn(e)}var r=new MutationObserver(function(){try{var n=document.querySelector(e);n&&(r.disconnect(),t(n))}catch(e){console.warn(e)}});return r.observe(document.body,{attributes:!0,subtree:!0,characterData:!0}),function(){r.disconnect()}},[e])}_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.registerComponent(Mutation,{name:"Builder:Mutation",canHaveChildren:!0,noWrap:!0,hideFromInsertMenu:!0,inputs:[{name:"type",type:"string",defaultValue:"replace",enum:[{label:"Replace",value:"replace",helperText:"Replace the contents of this site region with content from Builder"},{label:"Append",value:"afterEnd",helperText:"Append Builder content after the chosen site region"}]},{name:"selector",type:"builder:domSelector"}]});var get=function(e,t,n){var r=String.prototype.split.call(t,/[,[\].]+?/).filter(Boolean).reduce(function(e,t){return null!=e?e[t]:e},e);return void 0===r||r===e?n:r},MULTIPART_CONTENT_TYPE="multipart/form-data",JSON_CONTENT_TYPE="application/json",ENCODED_CONTENT_TYPE="application/x-www-form-urlencoded",FormComponent=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.ref=null,t.state={state:"unsubmitted",responseData:null,formErrorMessage:""},t}return __extends(t,e),Object.defineProperty(t.prototype,"submissionState",{get:function(){return _builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing&&this.props.previewState||this.state.state},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this;return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderStoreContext.Consumer,null,function(t){return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderStoreContext.Provider,{value:__assign(__assign({},t),{state:__assign(__assign({},t.state),{formErrorMessage:e.state.formErrorMessage})})},(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("form",__assign({},e.props.validate?{}:{noValidate:!0},{ref:function(t){return e.ref=t},action:!e.props.sendWithJs&&e.props.action?e.props.action:void 0,method:e.props.method,name:e.props.name,onSubmit:function(t){var n,r=e.props.sendWithJs||"email"===e.props.sendSubmissionsTo;if("zapier"===e.props.sendSubmissionsTo)t.preventDefault();else if(r){if(!e.props.action&&"email"!==e.props.sendSubmissionsTo)return void t.preventDefault();t.preventDefault();var o=t.currentTarget,i=e.props.customHeaders||{},a=void 0,s=new FormData(o),l=Array.from(t.currentTarget.querySelectorAll("input,select,textarea")).filter(function(e){return!!e.name}).filter(function(e){return!!e.name&&("radio"!==e.type||e.checked)}).map(function(e){var t,n=e.name;if(e instanceof HTMLInputElement){if("radio"===e.type){if(e.checked)return{key:n,value:t=e.value}}else if("checkbox"===e.type)t=e.checked;else if("number"===e.type||"range"===e.type){var r=e.valueAsNumber;isNaN(r)||(t=r)}else t="file"===e.type?e.files:e.value}else t=e.value;return{key:n,value:t}}),u=e.props.contentType;if("email"===e.props.sendSubmissionsTo&&(u=MULTIPART_CONTENT_TYPE),Array.from(l).forEach(function(e){var t=e.value;(t instanceof File||Array.isArray(t)&&t[0]instanceof File||t instanceof FileList)&&(u=MULTIPART_CONTENT_TYPE)}),u===MULTIPART_CONTENT_TYPE)a=s;else if(u===JSON_CONTENT_TYPE){var c={};Array.from(l).forEach(function(e){var t=e.value;set(c,e.key,t)}),a=JSON.stringify(c)}else{if(u!==ENCODED_CONTENT_TYPE)return void console.error("Unsupported content type: ",u);a=Array.from(l).map(function(e){var t=e.value;return encodeURIComponent(e.key)+"="+encodeURIComponent(t)}).join("&")}u&&u!==MULTIPART_CONTENT_TYPE&&(r&&(null===(n=e.props.action)||void 0===n?void 0:n.includes("zapier.com"))||(i["content-type"]=u));var d=new CustomEvent("presubmit",{detail:{body:a}});if(e.ref&&(e.ref.dispatchEvent(d),d.defaultPrevented))return;e.setState(__assign(__assign({},e.state),{state:"sending"}));var f="".concat("dev"===_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl.env?"http://localhost:5000":"https://builder.io","/api/v1/form-submit?apiKey=").concat(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl.apiKey,"&to=").concat(btoa(e.props.sendSubmissionsToEmail||""),"&name=").concat(encodeURIComponent(e.props.name||""));fetch("email"===e.props.sendSubmissionsTo?f:e.props.action,{body:a,headers:i,method:e.props.method||"post"}).then(function(t){return __awaiter(e,void 0,void 0,function(){var e,n,r,o,i;return __generator(this,function(a){switch(a.label){case 0:return(n=t.headers.get("content-type"))&&-1!==n.indexOf(JSON_CONTENT_TYPE)?[4,t.json()]:[3,2];case 1:return e=a.sent(),[3,4];case 2:return[4,t.text()];case 3:e=a.sent(),a.label=4;case 4:if(!t.ok&&this.props.errorMessagePath&&(r=get(e,this.props.errorMessagePath))&&("string"!=typeof r&&(r=JSON.stringify(r)),this.setState(__assign(__assign({},this.state),{formErrorMessage:r}))),this.setState(__assign(__assign({},this.state),{responseData:e,state:t.ok?"success":"error"})),t.ok){if(o=new CustomEvent("submit:success",{detail:{res:t,body:e}}),this.ref){if(this.ref.dispatchEvent(o),o.defaultPrevented)return[2];!1!==this.props.resetFormOnSubmit&&this.ref.reset()}this.props.successUrl&&(this.ref?(i=new CustomEvent("route",{detail:{url:this.props.successUrl}}),this.ref.dispatchEvent(i),i.defaultPrevented||(location.href=this.props.successUrl)):location.href=this.props.successUrl)}return[2]}})})},function(t){var n=new CustomEvent("submit:error",{detail:{error:t}});e.ref&&(e.ref.dispatchEvent(n),n.defaultPrevented)||e.setState(__assign(__assign({},e.state),{responseData:t,state:"error"}))})}}},e.props.attributes),e.props.builderBlock&&e.props.builderBlock.children&&e.props.builderBlock.children.map(function(e,t){return(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderBlock$1,{key:e.id,block:e})}),"error"===e.submissionState&&(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderBlocks,{dataPath:"errorMessage",blocks:e.props.errorMessage}),"sending"===e.submissionState&&(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderBlocks,{dataPath:"sendingMessage",blocks:e.props.sendingMessage}),"error"===e.submissionState&&e.state.responseData&&(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)("pre",{className:"builder-form-error-text",css:{padding:10,color:"red",textAlign:"center"}},JSON.stringify(e.state.responseData,null,2)),"success"===e.submissionState&&(0,_emotion_core__WEBPACK_IMPORTED_MODULE_1__.tZ)(BuilderBlocks,{dataPath:"successMessage",blocks:e.props.successMessage})))})},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),Form=withBuilder(FormComponent,{name:"Form:Form",defaults:{responsiveStyles:{large:{marginTop:"15px",paddingBottom:"15px"}}},image:"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fef36d2a846134910b64b88e6d18c5ca5",inputs:[{name:"sendSubmissionsTo",type:"string",enum:[{label:"Send to email",value:"email",helperText:"Send form submissions to the email address of your choosing"},{label:"Custom",value:"custom",helperText:"Handle where the form requests go manually with a little code, e.g. to your own custom backend"}],defaultValue:"email"},{name:"sendSubmissionsToEmail",type:"string",required:!0,defaultValue:"[email protected]",showIf:'options.get("sendSubmissionsTo") === "email"'},{name:"sendWithJs",type:"boolean",helperText:"Set to false to use basic html form action",defaultValue:!0,showIf:'options.get("sendSubmissionsTo") === "custom"'},{name:"name",type:"string",defaultValue:"My form"},{name:"action",type:"string",helperText:"URL to send the form data to",showIf:'options.get("sendSubmissionsTo") === "custom"'},{name:"contentType",type:"string",defaultValue:JSON_CONTENT_TYPE,advanced:!0,enum:[JSON_CONTENT_TYPE,MULTIPART_CONTENT_TYPE,ENCODED_CONTENT_TYPE],showIf:'options.get("sendSubmissionsTo") === "custom" && options.get("sendWithJs") === true'},{name:"method",type:"string",showIf:'options.get("sendSubmissionsTo") === "custom"',defaultValue:"POST",advanced:!0},{name:"previewState",type:"string",enum:["unsubmitted","sending","success","error"],defaultValue:"unsubmitted",helperText:'Choose a state to edit, e.g. choose "success" to show what users see on success and edit the message',showIf:'options.get("sendSubmissionsTo") !== "zapier" && options.get("sendWithJs") === true'},{name:"successUrl",type:"url",helperText:"Optional URL to redirect the user to on form submission success",showIf:'options.get("sendSubmissionsTo") !== "zapier" && options.get("sendWithJs") === true'},{name:"resetFormOnSubmit",type:"boolean",showIf:function(e){return"custom"===e.get("sendSubmissionsTo")&&!0===e.get("sendWithJs")},advanced:!0},{name:"successMessage",type:"uiBlocks",hideFromUI:!0,defaultValue:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"10px"}},component:{name:"Text",options:{text:"<span>Thanks!</span>"}}}]},{name:"validate",type:"boolean",defaultValue:!0,advanced:!0},{name:"errorMessagePath",type:"text",advanced:!0,helperText:'Path to where to get the error message from in a JSON response to display to the user, e.g. "error.message" for a response like { "error": { "message": "this username is taken" }}'},{name:"errorMessage",type:"uiBlocks",hideFromUI:!0,defaultValue:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"10px"}},bindings:{"component.options.text":"state.formErrorMessage || block.component.options.text"},component:{name:"Text",options:{text:"<span>Form submission error :( Please check your answers and try again</span>"}}}]},{name:"sendingMessage",type:"uiBlocks",hideFromUI:!0,defaultValue:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"10px"}},component:{name:"Text",options:{text:"<span>Sending...</span>"}}}]},__assign(__assign({name:"customHeaders",type:"map"},{valueType:{type:"string"}}),{advanced:!0,showIf:'options.get("sendSubmissionsTo") === "custom" && options.get("sendWithJs") === true'})],noWrap:!0,canHaveChildren:!0,defaultChildren:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"10px"}},component:{name:"Text",options:{text:"<span>Enter your name</span>"}}},{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"10px"}}
1,component:{name:"Form:Input",options:{name:"name",placeholder:"Jane Doe"}}},{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"10px"}},component:{name:"Text",options:{text:"<span>Enter your email</span>"}}},{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"10px"}},component:{name:"Form:Input",options:{name:"email",placeholder:"[email protected]"}}},{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"10px"}},component:{name:"Form:SubmitButton",options:{text:"Submit"}}}]}),FormInputComponent=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(){return react__WEBPACK_IMPORTED_MODULE_2__.createElement("input",__assign({key:_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing&&this.props.defaultValue?this.props.defaultValue:"default-key",placeholder:this.props.placeholder,type:this.props.type,name:this.props.name},void 0===this.props.value?{defaultValue:this.props.defaultValue}:{value:this.props.value},{required:this.props.required},this.props.attributes))},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),FormInput=withBuilder(FormInputComponent,{name:"Form:Input",image:"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",inputs:[{name:"type",type:"text",enum:["text","number","email","url","checkbox","radio","range","date","datetime-local","search","tel","time","file","month","week","password","color","hidden"],defaultValue:"text"},{name:"name",type:"string",required:!0,helperText:'Every input in a form needs a unique name describing what it takes, e.g. "email"'},{name:"placeholder",type:"string",defaultValue:"Hello there",helperText:"Text to display when there is no value"},{name:"defaultValue",type:"string"},{name:"value",type:"string",advanced:!0},{name:"required",type:"boolean",helperText:"Is this input required to be filled out to submit a form",defaultValue:!1}],noWrap:!0,static:!0,defaultStyles:{paddingTop:"10px",paddingBottom:"10px",paddingLeft:"10px",paddingRight:"10px",borderRadius:"3px",borderWidth:"1px",borderStyle:"solid",borderColor:"#ccc"}}),FormSubmitButtonComponent=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(){return react__WEBPACK_IMPORTED_MODULE_2__.createElement("button",__assign({type:"submit"},this.props.attributes),this.props.text)},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),FormSubmitButton=withBuilder(FormSubmitButtonComponent,{name:"Form:SubmitButton",image:"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",defaultStyles:{appearance:"none",paddingTop:"15px",paddingBottom:"15px",paddingLeft:"25px",paddingRight:"25px",backgroundColor:"#3898EC",color:"white",borderRadius:"4px",cursor:"pointer"},inputs:[{name:"text",type:"text",defaultValue:"Click me"}],static:!0,noWrap:!0}),LabelComponent=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(){return react__WEBPACK_IMPORTED_MODULE_2__.createElement("label",__assign({htmlFor:this.props.for},this.props.attributes),this.props.text&&react__WEBPACK_IMPORTED_MODULE_2__.createElement("span",{className:"builder-label-text",dangerouslySetInnerHTML:{__html:this.props.text}}),this.props.builderBlock&&this.props.builderBlock.children&&this.props.builderBlock.children.map(function(e){return react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderBlock$1,{key:e.id,block:e})}))},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),Label=withBuilder(LabelComponent,{name:"Form:Label",image:"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F9322342f04b545fb9a8091cd801dfb5b",inputs:[{name:"text",type:"html",richText:!0,defaultValue:"Label"},{name:"for",type:"text",helperText:"The name of the input this label is for",advanced:!0}],noWrap:!0,static:!0,canHaveChildren:!0}),FormSelectComponent=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(){var e=this.props.options;return react__WEBPACK_IMPORTED_MODULE_2__.createElement("select",__assign({value:this.props.value,key:_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing&&this.props.defaultValue?this.props.defaultValue:"default-key",defaultValue:this.props.defaultValue,name:this.props.name,required:this.props.required},this.props.attributes),e&&e.map(function(e){return react__WEBPACK_IMPORTED_MODULE_2__.createElement("option",{value:e.value},e.name||e.value)}))},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),FormSelect=withBuilder(FormSelectComponent,{name:"Form:Select",image:"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",defaultStyles:{alignSelf:"flex-start"},inputs:[{name:"options",type:"list",required:!0,subFields:[{name:"value",type:"text",required:!0},{name:"name",type:"text"}],defaultValue:[{value:"option 1"},{value:"option 2"}]},{name:"name",type:"string",required:!0,helperText:'Every select in a form needs a unique name describing what it gets, e.g. "email"'},{name:"defaultValue",type:"string"},{name:"value",type:"string",advanced:!0},{name:"required",type:"boolean",defaultValue:!1}],static:!0,noWrap:!0}),TextAreaComponent=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(){return react__WEBPACK_IMPORTED_MODULE_2__.createElement("textarea",__assign({placeholder:this.props.placeholder,name:this.props.name,value:this.props.value,defaultValue:this.props.defaultValue,required:this.props.required},this.props.attributes))},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),TextArea=withBuilder(TextAreaComponent,{name:"Form:TextArea",image:"https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",input
1s:[{advanced:!0,name:"value",type:"string"},{name:"name",type:"string",required:!0,helperText:'Every input in a form needs a unique name describing what it gets, e.g. "email"'},{name:"defaultValue",type:"string"},{name:"placeholder",type:"string",defaultValue:"Hello there"},{name:"required",type:"boolean",defaultValue:!1}],defaultStyles:{paddingTop:"10px",paddingBottom:"10px",paddingLeft:"10px",paddingRight:"10px",borderRadius:"3px",borderWidth:"1px",borderStyle:"solid",borderColor:"#ccc"},static:!0,noWrap:!0}),ImgComponent=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.getSrcSet=function(){var e=this.props.image;if(e&&"string"==typeof e&&e.match(/builder\.io/))return getSrcSet(e)},t.prototype.render=function(){var e=this.props.attributes||{},t=this.getSrcSet(),n=e.style,r=__rest(e,["style"]),o={objectFit:this.props.backgroundSize,objectPosition:this.props.backgroundPosition,aspectRatio:this.props.aspectRatio},i=__assign(__assign({},o),n);return react__WEBPACK_IMPORTED_MODULE_2__.createElement("img",__assign({loading:"lazy"},r,{src:this.props.image||e.src,srcSet:t,alt:this.props.altText,title:this.props.title,style:i,className:"builder-raw-img"}))},t}(react__WEBPACK_IMPORTED_MODULE_2__.Component),Img=withBuilder(ImgComponent,{name:"Raw:Img",hideFromInsertMenu:!0,image:"https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-insert_photo-24px.svg?alt=media&token=4e5d0ef4-f5e8-4e57-b3a9-38d63a9b9dc4",inputs:[{name:"image",bubble:!0,type:"file",allowedFileTypes:IMAGE_FILE_TYPES,required:!0},{name:"backgroundSize",type:"text",defaultValue:"cover",enum:[{label:"contain",value:"contain",helperText:"The image should never get cropped"},{label:"cover",value:"cover",helperText:"The image should fill it's box, cropping when needed"}]},{name:"backgroundPosition",type:"text",defaultValue:"center",enum:["center","top","left","right","bottom","top left","top right","bottom left","bottom right"]},{name:"altText",type:"string",helperText:"Text to display when the user has images off"},{name:"title",type:"string",helperText:"Text to display when hovering over the asset"},{name:"aspectRatio",type:"number",helperText:"This is the ratio of height/width, e.g. set to 1.5 for a 300px wide and 200px tall photo. Set to 0 to not force the image to maintain it's aspect ratio",advanced:!0,defaultValue:.7041}],noWrap:!0}),RawText=function(e){var t=e.attributes||{};return react__WEBPACK_IMPORTED_MODULE_2__.createElement("span",{className:(null==t?void 0:t.class)||(null==t?void 0:t.className),dangerouslySetInnerHTML:{__html:e.text||""}})};_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.registerComponent(RawText,{name:"Builder:RawText",hideFromInsertMenu:!0,inputs:[{name:"text",bubble:!0,type:"longText",required:!0}]});var filterWithCustomTargetingScript='function filterWithCustomTargeting(e,t,n,r){var i={query:t,startDate:n,endDate:r},o=e.date&&new Date(e.date)||new Date;return!(i.startDate&&new Date(i.startDate)>o)&&(!(i.endDate&&new Date(i.endDate)<o)&&(!i.query||!i.query.length||i.query.every((function(t){return objectMatchesQuery(e,t)}))))}function isString(e){return"string"==typeof e}function isNumber(e){return"number"==typeof e}function objectMatchesQuery(e,t){return function(){var n=t.property,r=t.operator,i=t.value;if(t&&"urlPath"===t.property&&t.value&&"string"==typeof t.value&&"/"!==t.value&&t.value.endsWith("/")&&(i=t.value.slice(0,-1)),!n||!r)return!0;if(Array.isArray(i))return"isNot"===r?i.every((function(t){return objectMatchesQuery(e,{property:n,operator:r,value:t})})):!!i.find((function(t){return objectMatchesQuery(e,{property:n,operator:r,value:t})}));var o=e[n];if(Array.isArray(o))return o.includes(i);switch(r){case"is":return o===i;case"isNot":return o!==i;case"contains":return(isString(o)||Array.isArray(o))&&o.includes(String(i));case"startsWith":return isString(o)&&o.startsWith(String(i));case"endsWith":return isString(o)&&o.endsWith(String(i));case"greaterThan":return isNumber(o)&&isNumber(i)&&o>i;case"lessThan":return isNumber(o)&&isNumber(i)&&o<i;case"greaterThanOrEqualTo":return isNumber(o)&&isNumber(i)&&o>=i;case"lessThanOrEqualTo":return isNumber(o)&&isNumber(i)&&o<=i}return!1}()}';function filterWithCustomTargeting(e,t,n,r){var o={query:t,startDate:n,endDate:r},i=e.date&&new Date(e.date)||new Date;return!(o.startDate&&new Date(o.startDate)>i)&&!(o.endDate&&new Date(o.endDate)<i)&&(!o.query||!o.query.length||o.query.every(function(t){return objectMatchesQuery(e,t)}))}function isString(e){return"string"==typeof e}function isNumber(e){return"number"==typeof e}function objectMatchesQuery(e,t){return function(){var n=t.property,r=t.operator,o=t.value;if(t&&"urlPath"===t.property&&t.value&&"string"==typeof t.value&&"/"!==t.value&&t.value.endsWith("/")&&(o=t.value.slice(0,-1)),!n||!r)return!0;
vendor: 6,283 bytes, line 1
1if(Array.isArray(o))return"isNot"===r?o.every(function(t){return objectMatchesQuery(e,{property:n,operator:r,value:t})}):!!o.find(function(t){return objectMatchesQuery(e,{property:n,operator:r,value:t})});var i=e[n];if(Array.isArray(i))return i.includes(o);switch(r){case"is":return i===o;case"isNot":return i!==o;case"contains":return(isString(i)||Array.isArray(i))&&i.includes(String(o));case"startsWith":return isString(i)&&i.startsWith(String(o));case"endsWith":return isString(i)&&i.endsWith(String(o));case"greaterThan":return isNumber(i)&&isNumber(o)&&i>o;case"lessThan":return isNumber(i)&&isNumber(o)&&i<o;case"greaterThanOrEqualTo":return isNumber(i)&&isNumber(o)&&i>=o;case"lessThanOrEqualTo":return isNumber(i)&&isNumber(o)&&i<=o}return!1}()}function PersonalizationContainer(e){var t,n,r,o,i,a,s,l,u,c,d,f,p,h,m,v,g,y,b,w,x,k=!!(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isBrowser&&(null===(t=window.__hydrated)||void 0===t?void 0:t[null===(n=e.builderBlock)||void 0===n?void 0:n.id])),S=(0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)(null),E=(0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(k),C=E[0],T=E[1],O=(0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(!1),M=O[0],I=O[1],R=(0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(0);R[0];var P=R[1],j=(0,react__WEBPACK_IMPORTED_MODULE_2__.useContext)(BuilderStoreContext);if((0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(function(){T(!0),I(!0);var e,t=_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl.userAttributesChanged.subscribe(function(){P(function(e){return e+1})}),n=[function(){return t.unsubscribe()}];if(!_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing&&!_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isPreviewing){var r=_[0];null===(e=S.current)||void 0===e||e.dispatchEvent(new CustomEvent("builder.variantLoaded",{detail:{variant:r||"default",content:j.content},bubbles:!0}));var o=new IntersectionObserver(function(e){e.forEach(function(e){var t;e.isIntersecting&&(null===(t=S.current)||void 0===t||t.dispatchEvent(new CustomEvent("builder.variantDisplayed",{detail:{variant:r||"default",content:j.content},bubbles:!0})))})});o.observe(S.current),n.push(function(){return o.disconnect()})}return function(){n.forEach(function(e){return e()})}},[]),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isServer)return react__WEBPACK_IMPORTED_MODULE_2__.createElement(react__WEBPACK_IMPORTED_MODULE_2__.Fragment,null,react__WEBPACK_IMPORTED_MODULE_2__.createElement("div",__assign({},e.attributes,{style:__assign({opacity:1,transition:"opacity 0.2s ease-in-out"},null===(r=e.attributes)||void 0===r?void 0:r.style),className:"builder-personalization-container ".concat(e.attributes.className)}),null===(o=e.variants)||void 0===o?void 0:o.map(function(t,n){var r,o;return react__WEBPACK_IMPORTED_MODULE_2__.createElement("template",{key:n,"data-variant-id":(null===(r=e.builderBlock)||void 0===r?void 0:r.id)+n},react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderBlocks,{blocks:t.blocks,parentElementId:null===(o=e.builderBlock)||void 0===o?void 0:o.id,dataPath:"component.options.variants.".concat(n,".blocks"),child:!0}))}),react__WEBPACK_IMPORTED_MODULE_2__.createElement("script",{nonce:j.context.nonce,id:"variants-script-".concat(null===(i=e.builderBlock)||void 0===i?void 0:i.id),dangerouslySetInnerHTML:{__html:getPersonalizationScript(e.variants,(null===(a=e.builderBlock)||void 0===a?void 0:a.id)||"none",null===(s=e.builderState.state)||void 0===s?void 0:s.locale)}}),react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderBlocks,{blocks:null===(l=e.builderBlock)||void 0===l?void 0:l.children,parentElementId:null===(u=e.builderBlock)||void 0===u?void 0:u.id,dataPath:"this.children",child:!0})),react__WEBPACK_IMPORTED_MODULE_2__.createElement("script",{nonce:j.context.nonce,dangerouslySetInnerHTML:{__html:"\n window.__hydrated = window.__hydrated || {};\n window.__hydrated['".concat(null===(c=e.builderBlock)||void 0===c?void 0:c.id,"'] = true;\n ").replace(/\s+/g," ")}}));var _=(e.variants||[]).filter(function(t){var n;return filterWithCustomTargeting(__assign(__assign({},(null===(n=e.builderState.state)||void 0===n?void 0:n.locale)?{locale:e.builderState.state.locale}:{}),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.fl.getUserAttributes()),t.query,t.startDate,t.endDate)});return react__WEBPACK_IMPORTED_MODULE_2__.createElement(react__WEBPACK_IMPORTED_MODULE_2__.Fragment,null,react__WEBPACK_IMPORTED_MODULE_2__.createElement("div",__assign({ref:S},e.attributes,{style:__assign({opacity:C?1:0,transition:"opacity 0.2s ease-in-out"},null===(d=e.attributes)||void 0===d?void 0:d.style),className:"builder-personalization-container ".concat(e.attributes.className).concat(C?"":" builder-personalization-container-loading")}),M&&_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing&&"number"==typeof e.previewingIndex&&e.previewingIndex<((null===(f=e.variants)||void 0===f?void 0:f.length)||0)?react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderBlocks,{blocks:null===(h=null===(p=e.variants)||void 0===p?void 0:p[e.previewingIndex])||void 0===h?void 0:h.blocks,parentElementId:null===(m=e.builderBlock)||void 0===m?void 0:m.id,dataPath:"component.options.variants.".concat(e.previewingIndex,".blocks"),child:!0}):M&&_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing&&"number"!=typeof e.previewingIndex||!C||!_.length?react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderBlocks,{blocks:null===(v=e.builderBlock)||void 0===v?void 0:v.children,parentElementId:null===(g=e.builderBlock)||void 0===g?void 0:g.id,dataPath:"this.children",child:!0}):react__WEBPACK_IMPORTED_MODULE_2__.createElement(BuilderBlocks,{blocks:null===(y=_[0])||void 0===y?void 0:y.blocks,parentElementId:null===(b=e.builderBlock)||void 0===b?void 0:b.id,dataPath:"component.options.variants.".concat(null===(w=e.variants)||void 0===w?void 0:w.indexOf(_[0]),".blocks"),child:!0})),react__WEBPACK_IMPORTED_MODULE_2__.createElement("script",{nonce:j.context.nonce,dangerouslySetInnerHTML:{__html:"\n window.__hydrated = window.__hydrated || {};\n window.__hydrated['".concat(null===(x=e.builderBlock)||void 0===x?void 0:x.id,"'] = true;\n ").replace(/\s+/g," ")}}))}function getPersonalizationScript(e,t,n){return"\n (function() {\
1n function getCookie(name) {\n var nameEQ = name + \"=\";\n var ca = document.cookie.split(';');\n for(var i=0;i < ca.length;i++) {\n var c = ca[i];\n while (c.charAt(0)==' ') c = c.substring(1,c.length);\n if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);\n }\n return null;\n }\n function removeVariants() {\n variants.forEach(function (template, index) {\n document.querySelector('template[data-variant-id=\"' + \"".concat(t,"\" + index + '\"]').remove();\n });\n document.getElementById('variants-script-").concat(t,"').remove();\n }\n\n var attributes = JSON.parse(getCookie(\"").concat(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.attributesCookieName,'") || "{}");\n ').concat(n?'attributes.locale = "'.concat(n,'";'):"","\n var variants = ").concat(JSON.stringify(null==e?void 0:e.map(function(e){return{query:e.query,startDate:e.startDate,endDate:e.endDate}})),";\n var winningVariantIndex = variants.findIndex(function(variant) {\n return filterWithCustomTargeting(\n attributes,\n variant.query,\n variant.startDate,\n variant.endDate\n );\n });\n var isDebug = location.href.includes('builder.debug=true');\n if (isDebug) {\n console.debug('PersonalizationContainer', {\n attributes: attributes,\n variants: variants,\n winningVariantIndex: winningVariantIndex,\n });\n }\n if (winningVariantIndex !== -1) {\n var winningVariant = document.querySelector('template[data-variant-id=\"' + \"").concat(t,"\" + winningVariantIndex + '\"]');\n if (winningVariant) {\n var parentNode = winningVariant.parentNode;\n var newParent = parentNode.cloneNode(false);\n newParent.appendChild(winningVariant.content.firstChild);\n parentNode.parentNode.replaceChild(newParent, parentNode);\n if (isDebug) {\n console.debug('PersonalizationContainer', 'Winning variant Replaced:', winningVariant);\n }\n }\n } else if (variants.length > 0) {\n removeVariants();\n }\n ").concat(filterWithCustomTargetingScript,"\n })();\n ").replace(/\s+/g," ")}function useIsPreviewing(){var e=(0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(!1),t=e[0],n=e[1];return(0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(function(){(_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isEditing||_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isPreviewing)&&n(!0)},[]),t}_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.registerComponent(PersonalizationContainer,{name:"PersonalizationContainer",noWrap:!0,friendlyName:"Dynamic Container",image:"https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F37229ed30d8c41dfb10b8cca1992053a",canHaveChildren:!0,inputs:[{name:"variants",defaultValue:[],behavior:"personalizationVariantList",type:"list",subFields:[{name:"name",type:"text",localized:!1},{name:"query",friendlyName:"Targeting rules",type:"BuilderQuery",defaultValue:[],localized:!1},{name:"startDate",type:"date",localized:!1},{name:"endDate",type:"date",localized:!1},{name:"blocks",type:"UiBlocks",hideFromUI:!0,defaultValue:[]}]}]}),_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.isReact=!0,_builder_io_sdk__WEBPACK_IMPORTED_MODULE_0__.Ib.sdkInfo={name:"react",version:SDK_VERSION}},98936:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{Ib:function(){return Builder},Xe:function(){return BehaviorSubject},fl:function(){return builder},w0:function(){return Subscription}});var serverOnlyRequire,tslib__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(61846),hash_sum__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(95019),hash_sum__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(hash_sum__WEBPACK_IMPORTED_MODULE_0__);!function(){"undefined"!=typeof window&&"function"!=typeof window.CustomEvent&&(window.CustomEvent=e);function e(e,t){t=t||{bubbles:!1,cancelable:!1,detail:null};var n=document.createEvent("CustomEvent");
1return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n}}();var isSafari="undefined"!=typeof window&&/^((?!chrome|android).)*safari/i.test(window.navigator.userAgent),isClient="undefined"!=typeof window;function nextTick(e){if(!isClient||isSafari||"undefined"==typeof MutationObserver){setTimeout(e);return}var t=0,n=new MutationObserver(function(){return e()}),r=document.createTextNode("");n.observe(r,{characterData:!0}),r.data=String(t=++t)}var PROPERTY_NAME_DENY_LIST=Object.freeze(["__proto__","prototype","constructor"]),QueryString=function(){function e(){}return e.parseDeep=function(e){var t=this.parse(e);return this.deepen(t)},e.stringifyDeep=function(e){var t=this.flatten(e);return this.stringify(t)},e.parse=function(e){for(var t={},n=("?"===e[0]?e.substr(1):e).split("&"),r=0;r<n.length;r++){var o=n[r].split("=");try{t[decodeURIComponent(o[0])]=decodeURIComponent(o[1]||"")}catch(e){}}return t},e.stringify=function(e){var t="";for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];t&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(r)}return t},e.deepen=function(e){var t={};for(var n in e){for(var r=t,o=n.split("."),i=o.pop(),a=0,s=o;a<s.length;a++){var l=s[a];assertAllowedPropertyName(l),r=r[l]=r[l]||{}}r[i]=e[n]}return t},e.flatten=function(e,t,n){for(var r in void 0===n&&(n={}),e){var o=e[r],i=t?t+"."+r:r;o&&"object"==typeof o?this.flatten(o,i,n):n[i]=o}return n},e}();function assertAllowedPropertyName(e){if(PROPERTY_NAME_DENY_LIST.indexOf(e)>=0)throw Error('Property name "'.concat(e,'" is not allowed'))}var Subscription=function(){function e(e,t){this.listeners=e,this.listener=t,this.unsubscribed=!1,this.otherSubscriptions=[]}return Object.defineProperty(e.prototype,"closed",{get:function(){return this.unsubscribed},enumerable:!1,configurable:!0}),e.prototype.add=function(e){this.otherSubscriptions.push(e)},e.prototype.unsubscribe=function(){if(!this.unsubscribed){if(this.listener&&this.listeners){var e=this.listeners.indexOf(this.listener);e>-1&&this.listeners.splice(e,1)}this.otherSubscriptions.forEach(function(e){return e.unsubscribe()}),this.unsubscribed=!0}},e}(),BehaviorSubject=function(){function e(e){var t=this;this.value=e,this.listeners=[],this.errorListeners=[],this.then=function(){for(var e,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return(e=t.toPromise()).then.apply(e,n)}}return e.prototype.next=function(e){this.value=e;for(var t=0,n=this.listeners;t<n.length;t++)(0,n[t])(e)},e.prototype.map=function(t){var n=new e(t(this.value));return this.subscribe(function(e){n.next(t(e))}),this.catch(function(e){n.error(e)}),n},e.prototype.catch=function(e){return this.errorListeners.push(e),new Subscription(this.errorListeners,e)},e.prototype.error=function(e){for(var t=0,n=this.errorListeners;t<n.length;t++)(0,n[t])(e)},e.prototype.subscribe=function(e,t){return this.listeners.push(e),t&&this.errorListeners.push(t),new Subscription(this.listeners,e)},e.prototype.toPromise=function(){var e=this;return new Promise(function(t,n){var r=e.subscribe(function(e){t(e),r.unsubscribe()},function(e){n(e),r.unsubscribe()})})}
vendor: 1,810 bytes, line 1
1,e.prototype.promise=function(){return this.toPromise()},e}(),State={Pending:"Pending",Fulfilled:"Fulfilled",Rejected:"Rejected"};function isFunction(e){return e&&"function"==typeof e}function isObject(e){return e&&"object"==typeof e}var TinyPromise=function(){function e(e){this._state=State.Pending,this._handlers=[],this._value=null,e(this._resolve.bind(this),this._reject.bind(this))}return e.prototype._resolve=function(t){var n=this;if(t instanceof e)t.then(this._resolve.bind(this),this._reject.bind(this));else if(isObject(t)||isFunction(t)){var r=!1;try{var o=t.then;isFunction(o)?o.call(t,function(e){r||n._resolve(e),r=!0},function(e){r||n._reject(e),r=!0}):this._fulfill(t)}catch(e){r||this._reject(e)}}else this._fulfill(t)},e.prototype._fulfill=function(e){var t=this;this._state=State.Fulfilled,this._value=e,this._handlers.forEach(function(e){return t._callHandler(e)})},e.prototype._reject=function(e){var t=this;this._state=State.Rejected,this._value=e,this._handlers.forEach(function(e){return t._callHandler(e)})},e.prototype._isPending=function(){return this._state===State.Pending},e.prototype._isFulfilled=function(){return this._state===State.Fulfilled},e.prototype._isRejected=function(){return this._state===State.Rejected},e.prototype._addHandler=function(e,t){this._handlers.push({onFulfilled:e,onRejected:t})},e.prototype._callHandler=function(e){this._isFulfilled()&&isFunction(e.onFulfilled)?e.onFulfilled(this._value):this._isRejected()&&isFunction(e.onRejected)&&e.onRejected(this._value)},e.prototype.then=function(t,n){var r=this;switch(this._state){case State.Pending:return new e(function(e,o){r._addHandler(function(n){nextTick(function(){try{isFunction(t)?e(t(n)):e(n)}catch(e){o(e)}})},function(t){nextTick(function(){try{isFunction(n)?e(n(t)):o(t)}catch(e){o(e)}})})});
1case State.Fulfilled:return new e(function(e,n){nextTick(function(){try{isFunction(t)?e(t(r._value)):e(r._value)}catch(e){n(e)}})});case State.Rejected:return new e(function(e,t){nextTick(function(){try{isFunction(n)?e(n(r._value)):t(r._value)}catch(e){t(e)}})})}},e}(),Promise$1="undefined"!=typeof Promise?Promise:TinyPromise;try{serverOnlyRequire=eval("require")}catch(err){serverOnlyRequire=function(){return null}}var serverOnlyRequire$1=serverOnlyRequire;function promiseResolve(e){return new Promise$1(function(t){return t(e)})}function tinyFetch(e,t){return void 0===t&&(t={}),new Promise$1(function(n,r){var o=new XMLHttpRequest;if(o.open(t.method||"get",e,!0),t.headers)for(var i in t.headers)o.setRequestHeader(i,t.headers[i]);function a(){var e=[],t=[],n={},r=void 0;return o.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(o,i,a){var s=i;return e.push(s=s.toLowerCase()),t.push([s,a]),r=n[s],n[s]=r?"".concat(r,",").concat(a):a,""}),{ok:(o.status/100|0)==2,status:o.status,statusText:o.statusText,url:o.responseURL,clone:a,text:function(){return promiseResolve(o.responseText)},json:function(){return promiseResolve(o.responseText).then(JSON.parse)},blob:function(){return promiseResolve(new Blob([o.response]))},headers:{keys:function(){return e},entries:function(){return t},get:function(e){return n[e.toLowerCase()]},has:function(e){return e.toLowerCase() in n}}}}o.withCredentials="include"===t.credentials,o.onload=function(){n(a())},o.onerror=r,o.send(t.body)})}function getFetch(){var e=void 0;if(globalThis.fetch)null!=e||(e=globalThis.fetch);else if("undefined"==typeof window)try{null!=e||(e=serverOnlyRequire$1("node-fetch"))}catch(e){console.warn("node-fetch is not installed. consider polyfilling fetch or installing node-fetch."),console.warn(e)}return null!=e?e:tinyFetch}function assign(e){for(var t=Object(e),n=1;n<arguments.length;n++){var r=arguments[n];if(null!=r)for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t}function throttle(e,t,n){void 0===n&&(n={});var r,o,i,a=null,s=0,l=function(){s=!1===n.leading?0:Date.now(),a=null,i=e.apply(r,o),a||(r=o=null)};return function(){var u=Date.now();s||!1!==n.leading||(s=u);var c=t-(u-s);return r=this,o=arguments,c<=0||c>t?(a&&(clearTimeout(a),a=null),s=u,i=e.apply(r,o),a||(r=o=null)):a||!1===n.trailing||(a=setTimeout(l,c)),i}}var camelCaseToKebabCase=function(e){return e?e.replace(/([A-Z])/g,function(e){return"-".concat(e[0].toLowerCase())}):""},Animator=function(){function e(){}return e.prototype.bindAnimations=function(e){for(var t=0,n=e;t<n.length;t++){var r=n[t];switch(r.trigger){case"pageLoad":this.triggerAnimation(r);break;case"hover":this.bindHoverAnimation(r);break;case"scrollInView":this.bindScrollInViewAnimation(r)}}},e.prototype.warnElementNotPresent=function(e){console.warn("Cannot animate element: element with ID ".concat(e," not found!"))},e.prototype.augmentAnimation=function(e,t){for(var n=this.getAllStylesUsed(e),r=getComputedStyle(t),o=[e.steps[0].styles,e.steps[e.steps.length-1].styles],i=0,a=o;i<a.length;i++)for(var s=a[i],l=0,u=n;l<u.length;l++){var c=u[l];c in s||(s[c]=r[c])}},e.prototype.getAllStylesUsed=function(e){for(var t=[],n=0,r=e.steps;n<r.length;n++){var o=r[n];for(var i in o.styles)-1===t.indexOf(i)&&t.push(i)}return t},e.prototype.triggerAnimation=function(e){var t=this,n=Array.prototype.slice.call(document.getElementsByClassName(e.elementId||e.id||""));if(!n.length){this.warnElementNotPresent(e.elementId||e.id||"");return}Array.from(n).forEach(function(n){t.augmentAnimation(e,n),n.style.transition="none",n.style.transitionDelay="0",assign(n.style,e.steps[0].styles),setTimeout(function(){n.style.transition="all ".concat(e.duration,"s ").concat(camelCaseToKebabCase(e.easing)),e.delay&&(n.style.transitionDelay=e.delay+"s"),assign(n.style,e.steps[1].styles),setTimeout(function(){n.style.transition="",n.style.transitionDelay=""},1e3*(e.delay||0)+1e3*e.duration+100)})})},e.prototype.bindHoverAnimation=function(e){var t=this,n=Array.prototype.slice.call(document.getElementsByClassName(e.elementId||e.id||""));if(!n.length){this.warnElementNotPresent(e.elementId||e.id||"");return}
1Array.from(n).forEach(function(n){t.augmentAnimation(e,n);var r=e.steps[0].styles,o=e.steps[1].styles;function i(){assign(n.style,r)}function a(){assign(n.style,o)}i(),n.addEventListener("mouseenter",a),n.addEventListener("mouseleave",i),setTimeout(function(){n.style.transition="all ".concat(e.duration,"s ").concat(camelCaseToKebabCase(e.easing)),e.delay&&(n.style.transitionDelay=e.delay+"s")})})},e.prototype.bindScrollInViewAnimation=function(e){var t=this,n=Array.prototype.slice.call(document.getElementsByClassName(e.elementId||e.id||""));if(!n.length){this.warnElementNotPresent(e.elementId||e.id||"");return}Array.from(n).forEach(function(n){t.augmentAnimation(e,n);var r=!1,o=!1;function i(){!r&&s(n)?(r=!0,o=!0,setTimeout(function(){assign(n.style,e.steps[1].styles),e.repeat||document.removeEventListener("scroll",a),setTimeout(function(){o=!1,e.repeat||(n.style.transition="",n.style.transitionDelay="")},(e.duration+(e.delay||0))*1e3+100)})):e.repeat&&r&&!o&&!s(n)&&(r=!1,assign(n.style,e.steps[0].styles))}var a=throttle(i,200,{leading:!1});function s(t){var n=t.getBoundingClientRect(),r=window.innerHeight,o=(e.thresholdPercent||0)/100*r;return n.bottom>o&&n.top<r-o}var l=e.steps[0].styles;(function(){assign(n.style,l)})(),setTimeout(function(){n.style.transition="all ".concat(e.duration,"s ").concat(camelCaseToKebabCase(e.easing)),e.delay&&(n.style.transitionDelay=e.delay+"s")}),document.addEventListener("scroll",a,{capture:!0,passive:!0}),i()})},e}(),fieldContentRegExp=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,Cookies=function(){function e(e,t){this.request=e,this.response=t}return e.prototype.get=function(e){var t=this.request.headers.cookie;if(t){var n=t.match(getPattern(e));if(n)return n[1]}},e.prototype.set=function(e,t,n){var r=this.response,o=this.request,i=r.getHeader("Set-Cookie")||[],a=void 0!==this.secure?!!this.secure:"https"===o.protocol||o.connection.encrypted,s=new Cookie(e,t,n);if("string"==typeof i&&(i=[i]),!a&&n&&n.secure)throw Error("Cannot send secure cookie over unencrypted connection");return s.secure=a,n&&"secure"in n&&(s.secure=!!n.secure),pushCookie(i,s),r.setHeader.call(r,"Set-Cookie",i),this},e}(),Cookie=function(){function e(e,t,n){if(this.path="/",this.domain=void 0,this.httpOnly=!0,this.sameSite=!1,this.secure=!1,this.overwrite=!1,this.name="",this.value="",!fieldContentRegExp.test(e))throw TypeError("argument name is invalid");if(t&&!fieldContentRegExp.test(t))throw TypeError("argument value is invalid");t||(this.expires=new Date(0)),this.name=e,this.value=t||"",n.expires&&(this.expires=n.expires),n.secure&&(this.secure=n.secure)}return e.prototype.toString=function(){return"".concat(this.name,"=").concat(this.value)},e.prototype.toHeader=function(){var e=this.toString();return this.maxAge&&(this.expires=new Date(Date.now()+this.maxAge)),this.path&&(e+="; path=".concat(this.path)),this.expires&&(e+="; expires=".concat(this.expires.toUTCString())),this.domain&&(e+="; domain=".concat(this.domain)),e+="; SameSite=".concat(!0===this.sameSite?"strict":"None"),this.secure&&(e+="; secure"),this.httpOnly&&(e+="; httponly"),e},e}();function getPattern(e){return new RegExp("(?:^|;) *".concat(e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),"=([^;]*)"))}function pushCookie(e,t){if(t.overwrite)for(var n=e.length-1;n>=0;n--)0===e[n].indexOf("".concat(t.name,"="))&&e.splice(n,1);e.push(t.toHeader())}function omit(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=Object.assign({},e),o=0,i=t;o<i.length;o++){var a=i[o];delete r[a]}return r}function uuidv4(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})}function uuid(){return uuidv4().replace(/-/g,"")}function emptyUrl(){return{query:null,port:null,auth:null,hash:null,host:null,hostname:null,href:null,path:null,pathname:null,protocol:null,search:null,slashes:null}}function parse$1(e){var t,n,r=emptyUrl();return""===e||"/"===e[0]?(n=new URL(e,"http://0.0.0.0/"),r.href=n.href,r.href=null===(t=r.href)||void 0===t?void 0:t.slice(14)):(n=new URL(e),r.href=n.href,r.port=""===n.port?null:n.port,r.hash=""===n.hash?null:n.hash,r.host=n.host,r.hostname=n.hostname,r.href=n.href,r.pathname=n.pathname,r.protocol=n.protocol,r.slashes="/"===e[n.protocol.length]),r.search=n.search,r.query=n.search.slice(1),r.path="".concat(n.pathname).concat(n.search),r.pathname=n.pathname,r}function toError(e){return e instanceof Error?e:Error(String(e))}var DEFAULT_API_VERSION="v3",SDK_VERSION="6.3.0";function datePlusMinutes(e){return void 0===e&&(e=30),new Date(Date.now()+6e4*e)}var isPositiveNumber=function(e){return"number"==typeof e&&!isNaN(e)&&e>=0},isReactNative="object"==typeof navigator&&"ReactNative"===navigator.product,validEnvList=["production","qa","test","development","dev","cdn-qa","cloud","fast","cdn2","cdn-
1prod"];function getQueryParam(e,t){for(var n=(e.split("?")[1]||"").split("&"),r=0;r<n.length;r++){var o=n[r].split("=");if(decodeURIComponent(o[0])===t)return decodeURIComponent(o[1])}return null}var urlParser={parse:function(e){var t=document.createElement("a");t.href=e;for(var n={},r=["username","password","host","hostname","port","protocol","origin","pathname","search","hash"],o=0,i=r;o<i.length;o++){var a=i[o];n[a]=t[a]}return(n.pathname||""===n.pathname)&&"string"==typeof n.pathname&&0!==n.pathname.indexOf("/")&&(n.pathname="/"+n.pathname),n}},parse=isReactNative?function(){return emptyUrl()}:"object"==typeof window?urlParser.parse:parse$1;function setCookie(e,t,n){try{var r="";n&&(r="; expires="+n.toUTCString());var o=!isBrowser||"https:"===location.protocol;document.cookie=e+"="+(t||"")+r+"; path=/"+(o?"; secure; SameSite=None":"")}catch(e){console.warn("Could not set cookie",e)}}function getCookie(e){try{return decodeURIComponent(document.cookie.replace(RegExp("(?:(?:^|.*;)\\s*"+encodeURIComponent(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*([^;]*).*$)|^.*$"),"$1"))||null}catch(e){console.warn("Could not get cookie",e)}}function size(e){return Object.keys(e).length}function find(e,t){for(var n=e,r=n.length>>>0,o=arguments[1],i=0;i<r;i++){var a=n[i];if(t.call(o,a,i,n))return a}}var sessionStorageKey="builderSessionId",localStorageKey="builderVisitorId",isBrowser="undefined"!=typeof window&&!isReactNative,isIframe=isBrowser&&window.top!==window.self;function BuilderComponent(e){return void 0===e&&(e={}),Builder.Component(e)}var Builder=function(){function e(t,n,r,o,i,a){void 0===t&&(t=null),void 0===o&&(o=!1),void 0===i&&(i=null);var s=this;if(this.request=n,this.response=r,this.eventsQueue=[],this.throttledClearEventsQueue=throttle(function(){s.processEventsQueue(),s.setCookie(sessionStorageKey,s.sessionId,datePlusMinutes(30))},5),this.env="production",this.sessionId=this.getSessionId(),this.targetContent=!0,this.contentPerRequest=1,this.allowCustomFonts=!0,this.cookies=null,this.cachebust=!1,this.overrideParams="",this.noCache=!1,this.preview=!1,this.apiEndpoint$=new BehaviorSubject("query"),this.apiVersion$=new BehaviorSubject(void 0),this.canTrack$=new BehaviorSubject(!this.browserTrackingDisabled),this.hasOverriddenCanTrack=!1,this.apiKey$=new BehaviorSubject(null),this.authToken$=new BehaviorSubject(null),this.contentId$=new BehaviorSubject(null),this.userAttributesChanged=new BehaviorSubject(null),this.editingMode$=new BehaviorSubject(isIframe),this.editingModel$=new BehaviorSubject(null),this.userAgent="object"==typeof navigator&&navigator.userAgent||"",this.trackingHooks=[],this.visitorId=this.getVisitorId(),this.autoTrack=!!e.isBrowser&&!this.isDevelopmentEnv&&!(e.isBrowser&&-1!==location.search.indexOf("builder.preview=")),this.trackingUserAttributes={},this.blockContentLoading="",this.observersByKey={},this.noEditorUpdates={},this.overrides={},this.queryOptions={},this.getContentQueue=null,this.priorContentQueue=null,this.totalCountByKey={},this.testCookiePrefix="builder.tests",this.cookieQueue=[],e.isBrowser&&!o&&e.singletonInstance)return e.singletonInstance;if(this.request&&this.response&&(this.setUserAgent(this.request.headers["user-agent"]||""),this.cookies=new Cookies(this.request,this.response)),t&&(this.apiKey=t),a&&(this.apiVersion=a),i&&(this.authToken=i),isBrowser&&e.isEditing&&(this.bindMessageListeners(),parent.postMessage({type:"builder.animatorOptions",data:{options:{version:2}}},"*")),isIframe&&this.messageFrameLoaded(),this.canTrack$.subscribe(function(e){if(e){if("undefined"!=typeof sessionStorage)try{sessionStorage.getItem(sessionStorageKey)||sessionStorage.setItem(sessionStorageKey,s.sessionId)}catch(e){console.debug("Session storage error",e)}s.eventsQueue.length&&s.throttledClearEventsQueue(),s.cookieQueue.length&&(s.cookieQueue.forEach(function(e){s.setCookie(e[0],e[1])}),s.cookieQueue.length=0)}}),isBrowser){this.setTestsFromUrl(),this.getOverridesFromQueryString();var l=this.getCookie(e.attributesCookieName);if(l)try{var u=JSON.parse(l);this.setUserAttributes(u)}catch(e){console.debug("Error parsing user attributes cookie",e)}}}return e.register=function(t,n){"plugin"===t&&(n=this.serializeIncludingFunctions(n,!0));var r=this.registry[t];
1if(r||(r=this.registry[t]=[]),r.push(n),e.isBrowser){var o={type:"builder.register",data:{type:t,info:n}};try{parent.postMessage(o,"*"),parent!==window&&window.postMessage(o,"*")}catch(e){console.debug("Could not postmessage",e)}}this.registryChange.next(this.registry)},e.registerEditor=function(t){if(e.isBrowser){window.postMessage({type:"builder.registerEditor",data:omit(t,"component")},"*");var n=location.hostname;e.isTrustedHost(n)||console.error("Builder.registerEditor() called in the wrong environment! You cannot load custom editors from your app, they must be loaded through the Builder.io app itself. Follow the readme here for more details: https://github.com/builderio/builder/tree/master/plugins/cloudinary or contact chat us in our Spectrum community for help: https://spectrum.chat/builder")}this.editors.push(t)},e.registerPlugin=function(e){this.plugins.push(e)},e.registerAction=function(t){var n;if(this.actions.push(t),e.isBrowser){var r=JSON.parse(JSON.stringify(t));t.action&&(r.action=t.action.toString()),null===(n=window.parent)||void 0===n||n.postMessage({type:"builder.registerAction",data:r},"*")}},e.registerTrustedHost=function(e){this.trustedHosts.push(e)},e.setServerContext=function(e){this.serverContext=e},e.isTrustedHost=function(e){return this.trustedHosts.findIndex(function(t){return t.startsWith("*.")?e.endsWith(t.slice(1)):t===e})>-1},e.isTrustedHostForEvent=function(t){if("null"===t.origin)return!1;var n=parse(t.origin);return n.hostname&&e.isTrustedHost(n.hostname)},e.runAction=function(e){if(!("string"==typeof e?find(this.actions,function(t){return t.name===e}):e))throw Error("Action not found: ".concat(e))},e.fields=function(e,t){var n;null===(n=window.parent)||void 0===n||n.postMessage({type:"builder.fields",data:{name:e,fields:t}},"*")},e.set=function(t){e.register("editor.settings",t)},e.import=function(t){if(!e.isBrowser){console.warn("Builder.import used on the server - this should only be used in the browser");return}var n=window.System;if(!n){console.warn("System.js not available. Please include System.js when using Builder.import");return}return n.import("https://cdn.builder.io/systemjs/".concat(t))},Object.defineProperty(e,"editingPage",{get:function(){return this._editingPage},set:function(e){this._editingPage=e,isBrowser&&isIframe&&(e?document.body.classList.add("builder-editing-page"):document.body.classList.remove("builder-editing-page"))},enumerable:!1,configurable:!0}),e.serializeIncludingFunctions=function(e,t){var n=function(e){var t=e.toString().trim(),n=/^[a-zA-Z0-9_]+\s*=>/i.test(t),r=!t.startsWith("function")&&!t.startsWith("async")&&!t.startsWith("(")&&!n;return"return (".concat(r?"function ":"").concat(t,").apply(this, arguments)")},r=JSON.parse(JSON.stringify(e,function(e,r){var o=t&&"onSave"===e;return"function"!=typeof r||o?r:n(r)}));return t&&(r.onSave=e.onSave),r},e.prepareComponentSpecToSend=function(e){return(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({},this.serializeIncludingFunctions(e)),{class:void 0})},e.registerBlock=function(e,t){this.registerComponent(e,t)},e.registerComponent=function(e,t){var n,r=(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({class:e},e.builderOptions),t);if(this.addComponent(r),t.models&&this.singletonInstance.editingModel?isBrowser&&t.models.includes(this.singletonInstance.editingModel):isBrowser){var o=this.prepareComponentSpecToSend(r);null===(n=window.parent)||void 0===n||n.postMessage({type:"builder.registerComponent",data:o},"*")}},e.addComponent=function(e){var t=find(this.components,function(t){return t.name===e.name});if(t){if(t.class&&!e.class)return;this.components.splice(this.components.indexOf(t),1,e)}else this.components.push(e)},e.component=function(e){var t=this;return void 0===e&&(e={}),function(n){var r,o=(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({},e),{class:n});o.name||(o.name=n.name),t.addComponent(o);var i=t.prepareComponentSpecToSend(o);return isBrowser&&(null===(r=window.parent)||void 0===r||r.postMessage({type:"builder.registerComponent",data:i},"*")),n}},Object.defineProperty(e,"Component",{get:function(){return this.component}
1,enumerable:!1,configurable:!0}),e.prototype.processEventsQueue=function(){if(this.eventsQueue.length){var t=this.eventsQueue;this.eventsQueue=[];for(var n=(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({},e.overrideUserAttributes),this.trackingUserAttributes),r=0,o=t;r<o.length;r++){var i=o[r];i.data.metadata||(i.data.metadata={}),i.data.metadata.user||(i.data.metadata.user={}),Object.assign(i.data.metadata.user,n,i.data.metadata.user)}var a=this.host;getFetch()("".concat(a,"/api/v1/track"),{method:"POST",body:JSON.stringify({events:t}),headers:(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({"content-type":"application/json"},this.getSdkHeaders()),mode:"cors"}).catch(function(){})}},Object.defineProperty(e.prototype,"browserTrackingDisabled",{get:function(){return e.isBrowser&&!!(window.builderNoTrack||!navigator.cookieEnabled)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"canTrack",{get:function(){return this.canTrack$.value},set:function(e){this.hasOverriddenCanTrack=!0,this.canTrack!==e&&this.canTrack$.next(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"apiVersion",{get:function(){return this.apiVersion$.value},set:function(e){this.apiVersion!==e&&this.apiVersion$.next(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"apiEndpoint",{get:function(){return this.apiEndpoint$.value},set:function(e){this.apiEndpoint!==e&&this.apiEndpoint$.next(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"editingMode",{get:function(){return this.editingMode$.value},set:function(e){e!==this.editingMode&&this.editingMode$.next(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"editingModel",{get:function(){return this.editingModel$.value},set:function(e){e!==this.editingModel&&this.editingModel$.next(e)},enumerable:!1,configurable:!0}),e.prototype.findParentElement=function(e,t,n){if(void 0===n&&(n=!0),!(e instanceof HTMLElement))return null;var r=n?e:e.parentElement;do{if(!r)break;if(t(r))return r}while(r=r.parentElement);return null},e.prototype.findBuilderParent=function(e){return this.findParentElement(e,function(e){var t=e.getAttribute("builder-id")||e.id;return!!(t&&0===t.indexOf("builder-"))})},e.prototype.setUserAgent=function(e){this.userAgent=e||""},e.prototype.setTrackingHook=function(e){this.trackingHooks.push(e)},e.prototype.track=function(t,n,r){if(void 0===n&&(n={}),!isIframe&&isBrowser&&!e.isPreviewing){var o=this.apiKey;if(!o){console.error('Builder integration error: Looks like the Builder SDK has not been initialized properly (your API key has not been set). Make sure you are calling `builder.init("\xabYOUR-API-KEY\xbb");` as early as possible in your application\'s code.');return}for(var i=JSON.parse(JSON.stringify({type:t,data:(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({},omit(n,"meta")),{metadata:(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({sdkVersion:e.VERSION,url:location.href},n.meta),n.metadata),ownerId:o,userAttributes:this.getUserAttributes(),sessionId:this.sessionId,visitorId:this.visitorId})})),a=0,s=this.trackingHooks;a<s.length;a++){var l=(0,s[a])(i,r||{});l&&(i=l)}this.eventsQueue.push(i),this.canTrack&&this.throttledClearEventsQueue()}},e.prototype.getSessionId=function(){var t=this,n=null;try{e.isBrowser&&"undefined"!=typeof sessionStorage&&(n=this.getCookie(sessionStorageKey))}catch(e){console.debug("Session storage error",e)}return n||(n=uuid()),e.isBrowser&&setTimeout(function(){try{t.canTrack&&t.setCookie(sessionStorageKey,n,datePlusMinutes(30))}catch(e){console.debug("Cookie setting error",e)}}),n},e.prototype.getVisitorId=function(){var t=this;if(this.visitorId)return this.visitorId;var n=null;try{e.isBrowser&&"undefined"!=typeof localStorage&&(n=localStorage.getItem(localStorageKey))}catch(e){console.debug("Local storage error",e)}return n||(n=uuid()),this.visitorId=n,e.isBrowser&&setTimeout(function(){try{t.canTrack&&"undefined"!=typeof localStorage&&n&&localStorage.setItem(localStorageKey,n)}catch(e){console.debug("Session storage error",e)}}),n},e.prototype.trackImpression=function(t,n,r,o){isIframe||!isBrowser||e.isPreviewing||this.track("impression",{contentId:t,variationId:n!==t?n:void 0,metadata:r},o)}
1,e.prototype.trackConversion=function(t,n,r,o,i){if(!isIframe&&isBrowser&&!e.isPreviewing){var a="object"==typeof n?(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({},n):o&&"object"==typeof o?(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({},o):void 0;void 0!==t&&(a||(a={}),a.amount=t);var s="string"==typeof n?n:void 0;s||n||!this.contentId||(s=this.contentId);var l=r;!l&&s&&(l=this.getTestCookie(s)),this.track("conversion",{amount:t,variationId:l&&s&&l!==s?l:void 0,meta:a,contentId:s},i)}},Object.defineProperty(e.prototype,"isDevelopmentEnv",{get:function(){return e.isIframe||e.isBrowser&&("localhost"===location.hostname||""!==location.port)||"production"!==this.env},enumerable:!1,configurable:!0}),e.prototype.trackInteraction=function(t,n,r,o,i){if(void 0===r&&(r=!1),!isIframe&&isBrowser&&!e.isPreviewing){var a=o&&o.target,s=a&&this.findBuilderParent(a),l={};if(o){var u=o.clientX,c=o.clientY;if(a){var d=a.getBoundingClientRect(),f=u-d.left,p=c-d.top,h=g(f/d.width),m=g(p/d.height);l.targetOffset={x:h,y:m}}if(s){var d=s.getBoundingClientRect(),f=u-d.left,p=c-d.top,h=g(f/d.width),m=g(p/d.height);l.builderTargetOffset={x:h,y:m}}}var v=s&&(s.getAttribute("builder-id")||s.id);v&&s&&(l.builderElementIndex=[].slice.call(document.getElementsByClassName(v)).indexOf(s)),this.track("click",{contentId:t,metadata:l,variationId:n!==t?n:void 0,unique:!r,targetBuilderElement:v||void 0},i)}function g(e){return Math.round(1e3*e)/1e3}},e.prototype.component=function(t){return void 0===t&&(t={}),e.component(t)},Object.defineProperty(e.prototype,"apiKey",{get:function(){return this.apiKey$.value},set:function(e){this.apiKey$.next(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"contentId",{get:function(){return this.contentId$.value},set:function(e){this.contentId$.next(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"authToken",{get:function(){return this.authToken$.value},set:function(e){this.authToken$.next(e)},enumerable:!1,configurable:!0}),e.prototype.modifySearch=function(e){return e.replace(/(^|&|\?)(builder_.*?)=/gi,function(e,t,n){return t+n.replace(/_/g,".")+"="})},e.prototype.setTestsFromUrl=function(){var e=this.getLocation().search;try{var t=QueryString.parseDeep(this.modifySearch(e||"").substr(1)),n=t.builder&&t.builder.tests;if(n&&"object"==typeof n)for(var r in n)n.hasOwnProperty(r)&&this.setTestCookie(r,n[r])}catch(e){console.debug("Error parsing tests from URL",e)}},e.prototype.resetOverrides=function(){e.overrideUserAttributes={},this.cachebust=!1,this.noCache=!1,this.preview=!1,this.editingModel=null,this.overrides={},this.env="production",this.userAgent="",this.request=void 0,this.response=void 0},e.prototype.getOverridesFromQueryString=function(){var t=this.getLocation();try{var n=QueryString.parseDeep(this.modifySearch(t.search||"").substr(1)),r=n.builder;if(r){var o=r.userAttributes,i=r.overrides,a=r.env,s=(r.host,r.api),l=r.cachebust,u=r.noCache,c=r.preview,d=r.editing,f=r.frameEditing,p=r.options,h=r.params;if(o&&this.setUserAttributes(o),p&&(this.queryOptions=(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({},p.locale&&{locale:p.locale}),p.includeRefs&&{includeRefs:p.includeRefs}),p.enrich&&{enrich:p.enrich})),i&&(this.overrides=i),validEnvList.indexOf(a||s)>-1&&(this.env=a||s),e.isEditing){var m=f||d||c;m&&"true"!==m&&(this.editingModel=m)}l&&(this.cachebust=!0),u&&(this.noCache=!0),c&&(this.preview=!0),n&&(this.overrideParams=h)}}catch(e){console.debug("Error parsing overrides from URL",e)}},e.prototype.messageFrameLoaded=function(){var e;null===(e=window.parent)||void 0===e||e.postMessage({type:"builder.loaded",data:{value:!0}},"*")},e.prototype.bindMessageListeners=function(){var t=this;addEventListener("message",function(n){var r,o,i,a;if(e.isTrustedHostForEvent(n)){var s=n.data;if(s)switch(s.type){case"builder.ping":null===(r=window.parent)||void 0===r||r.postMessage({type:"builder.pong",data:{}},"*");break;case"builder.register":if(n.source===window)break;var l=s.data;if(!l)break;var u=l.type,c=l.info,d=e.registry[u];d||(d=e.registry[u]=[]),d.push(c),e.registryChange.next(e.registry);break;case"builder.settingsChange":if(n.source===window)break;var f=s.data;if(!f)break;Object.assign(e.settings,f),e.settingsChange.next(e.settings);break;
vendor: 6,169 bytes, line 1
1case"builder.registerEditor":if(n.source===window)break;var p=s.data;if(!p)break;var h=!!p.component;e.editors.every(function(t,n){return p.name!==t.name||(t.component&&!h||(e.editors[n]=t),!1)});break;case"builder.triggerAnimation":e.animator.triggerAnimation(s.data);break;case"builder.contentUpdate":var m=s.data.key||s.data.alias||s.data.entry||s.data.modelName,v=s.data.data,g=t.observersByKey[m];g&&!t.noEditorUpdates[m]&&g.next([v]);break;case"builder.getComponents":null===(o=window.parent)||void 0===o||o.postMessage({type:"builder.components",data:e.components.map(function(t){return e.prepareComponentSpecToSend(t)})},"*");break;case"builder.editingModel":t.editingModel=s.data.model;break;case"builder.registerComponent":var y=s.data;e.addComponent(y);break;case"builder.blockContentLoading":"string"==typeof s.data.model&&(t.blockContentLoading=s.data.model);break;case"builder.editingMode":s.data?(t.editingMode=!0,document.body.classList.add("builder-editing")):(t.editingMode=!1,document.body.classList.remove("builder-editing"));break;case"builder.editingPageMode":var b=s.data;e.editingPage=b;break;case"builder.overrideUserAttributes":var w=s.data;assign(e.overrideUserAttributes,w),t.flushGetContentQueue(!0);break;case"builder.overrideTestGroup":var x=s.data,k=x.variationId,S=x.contentId;k&&S&&(t.setTestCookie(S,k),t.flushGetContentQueue(!0));break;case"builder.evaluate":var E=s.data.text,C=s.data.arguments||[],T=s.data.id,O=Function(E),M=void 0,I=null;try{M=O.apply(t,C)}catch(e){I=toError(e)}I?null===(i=window.parent)||void 0===i||i.postMessage({type:"builder.evaluateError",data:{id:T,error:I.message}},"*"):M&&"function"==typeof M.then?M.then(function(e){var t;null===(t=window.parent)||void 0===t||t.postMessage({type:"builder.evaluateResult",data:{id:T,result:e}},"*")}).catch(console.error):null===(a=window.parent)||void 0===a||a.postMessage({type:"builder.evaluateResult",data:{result:M,id:T}},"*")}}})},Object.defineProperty(e.prototype,"defaultCanTrack",{get:function(){return!!(e.isBrowser&&navigator.userAgent.trim()&&!navigator.userAgent.match(/bot|crawler|spider|robot|crawling|prerender|google|baidu|bing|msn|duckduckbot|teoma|slurp|yandex|phantom|headless|selenium|puppeteer/i)&&!this.browserTrackingDisabled)},enumerable:!1,configurable:!0}),e.prototype.init=function(e,t,n,r,o,i){return void 0===t&&(t=this.defaultCanTrack),n&&(this.request=n),r&&(this.response=r),this.hasOverriddenCanTrack||(this.canTrack=t),this.apiKey=e,o&&(this.authToken=o),i&&(this.apiVersion=i),this},Object.defineProperty(e.prototype,"previewingModel",{get:function(){var e=this.getLocation().search;return QueryString.parse((e||"").substr(1))["builder.preview"]},enumerable:!1,configurable:!0}),e.prototype.getLocation=function(){var e,t={};return this.request?t=parse(null!==(e=this.request.url)&&void 0!==e?e:""):"object"==typeof location&&(t=parse(location.href)),""===t.pathname&&(t.pathname="/"),t},e.prototype.getUserAttributes=function(t){void 0===t&&(t=this.userAgent||"");var n={Android:function(){return t.match(/Android/i)},BlackBerry:function(){return t.match(/BlackBerry/i)},iOS:function(){return t.match(/iPhone|iPod/i)},Opera:function(){return t.match(/Opera Mini/i)},Windows:function(){return t.match(/IEMobile/i)||t.match(/WPDesktop/i)},any:function(){return n.Android()||n.BlackBerry()||n.iOS()||n.Opera()||n.Windows()}},r=t.match(/Tablet|iPad/i),o=this.getLocation();return(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({urlPath:o.pathname,host:o.host||o.hostname,device:r?"tablet":n.any()?"mobile":"desktop"},e.overrideUserAttributes)},e.prototype.setUserAttributes=function(t){assign(e.overrideUserAttributes,t),this.canTrack&&this.setCookie(e.attributesCookieName,JSON.stringify(this.getUserAttributes())),this.userAttributesChanged.next(t)},e.prototype.setTrackingUserAttributes=function(e){assign(this.trackingUserAttributes,e)},e.prototype.get=function(t,n){void 0===n&&(n={});var r,o=this,i=n.locale||(null===(r=n.userAttributes)||void 0===r?void 0:r.locale)||this.getUserAttributes().locale;"noTraverse"in n||(n.noTraverse=!1);var a=(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({},n),i&&{locale:String(i),userAttributes:(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({locale:String(i)},n.userAttributes)});return e.isBrowser?(n.apiKey&&!this.apiKey&&(this.apiKey=n.apiKey),n.authToken&&!this.authToken&&(this.authToken=n.authToken),n.apiVersion&&!this.apiVersion&&(this.apiVersion=n.apiVersion)):((o=new e(n.apiKey||this.apiKey,n.req,n.res,void 0,n.authToken||this.authToken,n.apiVersion||this.apiVersion)).apiEndpoint=this.apiEndpoint,o.setUserAttributes(this.getUserAttributes())),o.queueGetContent(t,a).map(function(t){var n=t&&t[0];if(e.isStatic)return n;var r=n&&n.data;return r?(void 0!==r.blocksString&&(r.blocks=JSON.parse(r.blocksString),delete r.blocksString),{data:r,id:n.id,variationId:n.testVariationId||n.variationId||null,testVariationId:n.testVariationId||n.variationId||null,testVariationName:n.testVariationName||null,lastUpdated:n.lastUpdated||null}):null})},e.prototype.queueGetContent=function(t,n){var r=this;void 0===n&&(n={});var o=n.key||n.alias||t,i=this.editingModel===t,a=this.observersByKey[o];"DEMO"!==this.apiKey||this.overrides[o]||n.initialContent||(n.initialContent=[]);var s=n.initialContent;if(a&&(!a.value||n.cache))return a.value&&nextTick(function(){a.next(a.value)}),a;if(i&&e.isBrowser&&parent.postMessage({type:"builder.updateContent",data:{options:n}},"*"),!s){if(this.getContentQueue||(this.getContentQueue=[]),this.getContentQueue.push((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({},n),{model:t,key:o})),this.getContentQueue&&this.getContentQueue.length>=this.contentPerRequest){var l=this.getContentQueue.slice();this.getContentQueue=[],nextTick(function(){r.flushGetContentQueue(!1,l)})}else nextTick(function(){r.flushGetContentQueue()})}var u=new BehaviorSubject(null);return this.observersByKey[o]=u,n.noEditorUpdates&&(this.noEditorUpdates[o]=!0),s&&nextTick(function(){u.next(s)}),u},e.prototype.requestUrl=function(e,t){return getFetch()(e,this.addSdkHeaders(t)).then(function(e){return e.json()})}
1,Object.defineProperty(e.prototype,"host",{get:function(){switch(this.env){case"qa":return"https://qa.builder.io";case"test":return"https://builder-io-test.web.app";case"fast":return"https://fast.builder.io";case"cloud":return"https://cloud.builder.io";case"cdn2":return"https://cdn2.builder.io";case"cdn-qa":return"https://cdn-qa.builder.io";case"development":case"dev":return"http://localhost:5000";case"cdn-prod":return"https://cdn.builder.io";default:return e.overrideHost||"https://cdn.builder.io"}},enumerable:!1,configurable:!0}),e.prototype.getSdkHeaders=function(){return e.sdkInfo?{"X-Builder-SDK":e.sdkInfo.name,"X-Builder-SDK-GEN":"1","X-Builder-SDK-Version":e.sdkInfo.version}:{}},e.prototype.addSdkHeaders=function(e){return(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({},e),{headers:(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({},e.headers),this.getSdkHeaders())})},e.prototype.makeFetchApiCall=function(e,t){return getFetch()(e,this.addSdkHeaders(t))},e.prototype.flattenMongoQuery=function(e,t,n){for(var r in void 0===n&&(n={}),e){var o=e[r],i=t?t+"."+r:r;!o||"object"!=typeof o||Array.isArray(o)||Object.keys(o).find(function(e){return e.startsWith("$")})?n[i]=o:this.flattenMongoQuery(o,i,n)}return n},e.prototype.flushGetContentQueue=function(t,n){var r,o,i,a=this;if(void 0===t&&(t=!1),!this.apiKey)throw Error("Fetching content failed, expected apiKey to be defined instead got: ".concat(this.apiKey));if(this.apiVersion){if(!["v1","v3"].includes(this.apiVersion))throw Error("Invalid apiVersion: expected 'v1' or 'v3', received '".concat(this.apiVersion,"'"))}else this.apiVersion=DEFAULT_API_VERSION;if(t||this.getContentQueue){var s=n||(t?this.priorContentQueue:this.getContentQueue)||[];this.getOverridesFromQueryString();var l=(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({omit:null!==(r=s[0].omit)&&void 0!==r?r:"meta.componentsUsed",apiKey:this.apiKey},s[0].options),this.queryOptions);s[0].locale&&(l.locale=s[0].locale),s[0].fields&&(l.fields=s[0].fields),s[0].format&&(l.format=s[0].format),"noTraverse"in s[0]&&(l.noTraverse=s[0].noTraverse),"includeUnpublished"in s[0]&&(l.includeUnpublished=s[0].includeUnpublished),s[0].sort&&(l.sort=s[0].sort);var u=("undefined"!=typeof location?QueryString.parseDeep(location.search.substr(1)):void 0)||{},c=s&&s[0].userAttributes?s[0].userAttributes:this.targetContent?this.getUserAttributes():{urlPath:this.getLocation().pathname};if(s.find(function(e){return!!e.includeUrl})){var d=this.getLocation();d.origin&&(l.url="".concat(d.origin).concat(d.pathname).concat(d.search))}var f=null==n?void 0:n.find(function(e){return e.url});if((null==f?void 0:f.url)&&(c.urlPath=f.url.split("?")[0]),l.userAttributes=JSON.stringify(c),t||n||(this.priorContentQueue=s,this.getContentQueue=null),(this.cachebust||isIframe||u.cachebust||u["builder.cachebust"]||"production"!==this.env)&&(l.cachebust=!0),e.isEditing&&(l.isEditing=!0),(this.noCache||"production"!==this.env)&&(l.noCache=!0),size(this.overrides))for(var p in this.overrides)this.overrides.hasOwnProperty(p)&&(l["overrides.".concat(p)]=this.overrides[p]);for(var h=0,m=s;h<m.length;h++){var v=m[h],g=v.format;g&&(l.format=g),v.static&&(l.static=v.static),v.cachebust&&(l.cachebust=v.cachebust),isPositiveNumber(v.cacheSeconds)&&(l.cacheSeconds=v.cacheSeconds),isPositiveNumber(v.staleCacheSeconds)&&(l.staleCacheSeconds=v.staleCacheSeconds),"content"===this.apiEndpoint&&(l.includeRefs=!0),"query"===this.apiEndpoint&&("enrich"in v&&void 0!==v.enrich&&(l.enrich=v.enrich),v.enrichOptions&&this.flattenEnrichOptions(v.enrichOptions,"enrichOptions",l));for(var y=["prerender","extractCss","limit","offset","query","preview","model","entry","rev","static","includeRefs","fetchTotalCount"],b=0,w=y;b<w.length;b++){var p=w[b],x=v[p];void 0!==x&&("query"===this.apiEndpoint?(l.options=l.options||{},l.options[v.key]=l.options[v.key]||{},l.options[v.key][p]=JSON.stringify(x)):l[p]=JSON.stringify(x))}"content"===this.apiEndpoint&&("enrich"in v&&void 0!==v.enrich&&(l.enrich=v.enrich),v.enrichOptions&&this.flattenEnrichOptions(v.enrichOptions,"enrichOptions",l))}this.preview&&this.previewingModel===(null===(o=null==s?void 0:s[0])||void 0===o?void 0:o.model)&&(l.preview="true");var k=Object.keys(l).length>0,S=this.host,E=s.map(function(e){return encodeURIComponent(e.key)}).join(",");this.overrideParams&&assign(l,omit(QueryString.parse(this.overrideParams),"apiKey"));var C=l.format,T="solid"===C||"react"===C,O=T||"query"===this.apiEndpoint;if("content"===this.apiEndpoint&&s[0].query){delete l.query;var M={query:s[0].query},I=this.flattenMongoQuery(M);for(var p in I)l[p]=JSON.stringify(I[p])}var R=QueryString.stringifyDeep(l),P=(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({headers:{}},s[0].fetchOptions);return this.authToken&&(P.headers=(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({},P.headers),{Authorization:"Bearer ".concat(this.authToken)})),i=(T?"".concat(S,"/api/v1/codegen/").concat(this.apiKey,"/").concat(E):"query"===this.apiEndpoint?"".concat(S,"/api/v3/query/").concat(this.apiKey,"/").concat(E):"".concat(S,"/api/v3/content/").concat(s[0].model))+(l&&k?"?".concat(R):""),this.makeFetchApiCall(i,P).then(function(e){return e.json()}).then(function(t){for(var n=0,r=s;n<r.length;n++){var o=r[n],i=o.key;if(o.model!==a.blockContentLoading||o.noEditorUpdates){a.editingModel===o.model&&e.isEditing&&parent.postMessage({type:"builder.updateContent",data:{options:o}},"*");var l=a.observersByKey[i];if(!l)return;var u=O?t[i]:t.results;void 0!==t.totalCount&&(a.totalCountByKey[i]=t.totalCount);var c=u;if(u){var d=e.isServer?c:a.processResultsForTests(c);l.next(d)}else{if((a.getLocation().search||"").includes("builder.preview="+o.model)){var f={id:"preview",name:"Preview",data:{}};l.next([f])}l.next([])}}}},function(e){for(var t=0,n=s;t<n.length;t++){var r=n[t],o=a.observersByKey[r.key];if(!o)return;o.error(e)}})}},e.prototype.processResultsForTests=function(e){var t,n=this,r=e.map(function(e){if(!e.variations)return e;var t=n.getTestCookie(e.id),r=t===e.id?e:e.variations[t];if(r)return(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({},e),{data:r.data,variationId:t,testVariationId:t,testVariationName:r.name});if(n.canTrack&&e.variations&&size(e.variations)){var o=0,i=Math.random();for(var a in e.variations){var s=e.variations[a];if(i<(o+=s.testRatio)){n.setTestCookie(e.id,s.id);var l=s.name||(s.id===e.id?"Default variation":"");return(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({},e),{data:s.data,variationId:s.id,testVariationId:s.id,variationName:l,testVariationName:l})}}n.setTestCookie(e.id,e.id)}return(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({},e),{variationId:e.id}),e.variations&&size(e.variations)&&{testVariationId:e.id,testVariationName:"Default variation"})});return isIframe&&(null===(t=window.parent)||void 0===t||t.postMessage({type:"builder.contentResults",data:{results:r}},"*")),r},e.prototype.getTestCookie=function(e){return this.getCookie("".concat(this.testCookiePrefix,".").concat(e))},e.prototype.setTestCookie=function(e,t){if(!this.canTrack){this.cookieQueue.push([e,t]);return}var n=new Date;return n.setDate(n.getDate()+30),this.setCookie("".concat(this.testCookiePrefix,".").concat(e),t,n)},e.prototype.getCookie=function(t){return this.cookies?this.cookies.get(t):e.isBrowser&&getCookie(t)},e.prototype.setCookie=function(t,n,r){return this.cookies&&!(e.isServer&&e.isStatic)?this.cookies.set(t,n,{expires:r,secure:"https:"===this.getLocation().protocol}
1):e.isBrowser&&setCookie(t,n,r)},e.prototype.flattenEnrichOptions=function(e,t,n){for(var r=0,o=Object.entries(e);r<o.length;r++){var i=o[r],a=i[0],s=i[1],l="".concat(t,".").concat(a);s&&"object"==typeof s&&!Array.isArray(s)?this.flattenEnrichOptions(s,l,n):n[l]=s}},e.prototype.getContent=function(e,t){if(void 0===t&&(t={}),!this.apiKey)throw Error("Fetching content from model ".concat(e," failed, expected apiKey to be defined instead got: ").concat(this.apiKey));return this.queueGetContent(e,t)},e.prototype.getAll=function(t,n){void 0===n&&(n={});var r=this;e.isBrowser?(n.apiKey&&!this.apiKey&&(this.apiKey=n.apiKey),n.authToken&&!this.authToken&&(this.authToken=n.authToken),n.apiVersion&&!this.apiVersion&&(this.apiVersion=n.apiVersion)):((r=new e(n.apiKey||this.apiKey,n.req,n.res,!1,n.authToken||this.authToken,n.apiVersion||this.apiVersion)).apiEndpoint=this.apiEndpoint,r.setUserAttributes(this.getUserAttributes())),"noTraverse"in n||(n.noTraverse=!0);var o=n.key||e.isBrowser||n.fetchTotalCount?"".concat(t,":").concat(hash_sum__WEBPACK_IMPORTED_MODULE_0___default()(omit(n,"initialContent","req","res"))):void 0;return r.getContent(t,(0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)((0,tslib__WEBPACK_IMPORTED_MODULE_1__.pi)({limit:30},n),{key:o})).promise().then(function(e){var t;return n.fetchTotalCount?{results:e,totalCount:void 0!==o&&null!==(t=r.totalCountByKey[o])&&void 0!==t?t:0}:e})},e.VERSION=SDK_VERSION,e.components=[],e.isStatic=!0,e.animator=new Animator,e.nextTick=nextTick,e.throttle=throttle,e.editors=[],e.trustedHosts=["*.beta.builder.io","beta.builder.io","builder.io","localhost","qa.builder.io"],e.plugins=[],e.actions=[],e.registry={},e.attributesCookieName="builder.userAttributes",e.registryChange=new BehaviorSubject({}),e._editingPage=!1,e.isIframe=isIframe,e.isBrowser=isBrowser,e.isReactNative=isReactNative,e.isServer=!isBrowser&&!isReactNative,e.previewingModel=e.isBrowser&&getQueryParam(location.href,"builder.preview"),e.settings={},e.settingsChange=new BehaviorSubject({}),e.isEditing=!!(isIframe&&(document.referrer&&document.referrer.match(/builder\.io|localhost:1234/)||-1!==location.search.indexOf("builder.frameEditing="))),e.isPreviewing=!!(isBrowser&&(-1!==location.search.indexOf("builder.preview=")||-1!==location.search.indexOf("builder.frameEditing="))),e.isReact=!1,e.sdkInfo=void 0,e.overrideUserAttributes={},e}(),builder=new Builder(null,void 0,void 0,!0);Builder.singletonInstance=builder},14258:function(e,t,n){"use strict";var r=n(56350),o=n(61846),i=n(8247),a=n(60933),s=n(76857),l=n.n(s),u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.divRef=i.createRef(),t.sliderRef=i.createRef(),t}return(0,o.ZT)(t,e),t.prototype.componentDidMount=function(){var e=this;setTimeout(function(){var t;null===(t=e.divRef.current)||void 0===t||t.dispatchEvent(new CustomEvent("builder:carousel:load",{bubbles:!0,cancelable:!1,detail:{block:e.props.builderBlock,carousel:e.sliderRef.current}}))})},t.prototype.render=function(){var e=this,t=this.props.slides;return t&&!r.Ib.isBrowser&&(t=t.slice(0,1)),i.createElement(r.Zu.Consumer,null,function(t){return e._errors=t&&t.errors,e._logs=t&&t.logs,i.createElement(r.zC.Consumer,null,function(t){return i.createElement("div",{ref:e.divRef,className:"builder-carousel"},r.Ib.isServer?i.createElement("style",{type:"text/css",dangerouslySetInnerHTML:{__html:c}}):i.createElement("style",{type:"text/css"},c),i.createElement(a.Z,(0,o.pi)({responsive:e.props.responsive,ref:e.sliderRef,afterChange:function(t){var n;e.divRef&&(null===(n=e.divRef.current)||void 0===n||n.dispatchEvent(new CustomEvent("builder:carousel:change",{bubbles:!0,cancelable:!1,detail:{slide:t,block:e.props.builderBlock,carousel:e.sliderRef.current}})))},autoplay:e.props.autoplay,autoplaySpeed:e.props.autoplaySpeed?1e3*e.props.autoplaySpeed:void 0,dots:!e.props.hideDots,nextArrow:i.createElement("div",null,i.createElement(r.Wp,{parentElementId:e.props.builderBlock.id,dataPath:"component.options.prevButton",blocks:e.props.prevButton})),prevArrow:i.createElement("div",null,i.createElement(r.Wp,{parentElementId:e.props.builderBlock.id,dataPath:"component.options.nextButton",blocks:e.props.nextButton}))},e.props.slickProps),e.props.useChildrenForSlides?e.props.builderBlock&&e.props.builderBlock.children&&e.props.builderBlock.children.map(function(n,a){if(n.repeat&&n.repeat.collection){var s=n.repeat.collection,l=(s||"").split(/\.\w+\(/)[0].trim().split(".").pop(),u=n.repeat.itemName||(l?l+"Item":"item"),c=(0,r.JS)(s,!0,e._errors,e._logs)(t.state);if(Array.isArray(c))return r.Ib.isBrowser||(c=c.slice(0,1)),c.map(function(e,a){var s,l=(0,o.pi)((0,o.pi)({},t.state),((s={})[u]=e,s.$index=a,s.$item=e,s));return i.createElement(r.zC.Provider,{key:n.id,value:(0,o.pi)((0,o.pi)({},t),{state:l})},i.createElement(r.s6,{block:(0,o.pi)((0,o.pi)({},n),{repeat:null}),index:a,child:!0}))})}return i.createElement(r.s6,{key:n.id,block:n,index:a,child:!0})}):e.props.slides&&e.props.slides.map(function(t,n){return i.createElement(i.Fragment,{key:n},i.createElement(r.Wp,{parentElementId:e.props.builderBlock&&e.props.builderBlock.id,dataPath:"component.options.slides.".concat(n,".content"),child:!0,blocks:t.content||t}))})))})})},t}(i.Component),c="@charset 'UTF-8';\n\n.builder-carousel .slick-list,\n.builder-carousel .slick-slider,\n.builder-carousel .slick-track {\n position: relative;\n display: block\n}\n\n.builder-carousel .slick-loading .slick-slide,\n.builder-carousel .slick-loading .slick-track {\n visibility: hidden\n}\n\n.builder-carousel .slick-slider {\n box-sizing: border-box;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n -webkit-touch-callout: none;\n -khtml-user-select: none;\n -ms-touch-action: pan-y;\n touch-action: pan-y;\n -webkit-tap-highlight-color: transparent\n}\n\n.builder-carousel .slick-list {\n overflow: hidden;\n margin: 0;\n padding: 0\n}\n\n.builder-carousel .slick-list:focus {\n outline: 0\n}\n\n.builder-carousel .slick-list.dragging {\n cursor: pointer;
1\n cursor: hand\n}\n\n.builder-carousel .slick-slider .slick-list,\n.builder-carousel .slick-slider .slick-track {\n -webkit-transform: translate3d(0, 0, 0);\n -moz-transform: translate3d(0, 0, 0);\n -ms-transform: translate3d(0, 0, 0);\n -o-transform: translate3d(0, 0, 0);\n transform: translate3d(0, 0, 0)\n}\n\n.builder-carousel .slick-track {\n top: 0;\n left: 0\n}\n\n.builder-carousel .slick-track:after,\n.builder-carousel .slick-track:before {\n display: table;\n content: ''\n}\n\n.builder-carousel .slick-track:after {\n clear: both\n}\n\n.builder-carousel .slick-slide {\n display: none;\n float: left;\n height: auto;\n min-height: 1px\n}\n\n.builder-carousel [dir=rtl] .slick-slide {\n float: right\n}\n\n.builder-carousel .slick-slide img {\n display: block\n}\n\n.builder-carousel .slick-slide.slick-loading img {\n display: none\n}\n\n.builder-carousel .slick-slide.dragging img {\n pointer-events: none\n}\n\n.builder-carousel .slick-initialized .slick-slide {\n display: block\n}\n\n.builder-carousel .slick-vertical .slick-slide {\n display: block;\n height: auto;\n border: 1px solid transparent\n}\n\n.builder-carousel .slick-arrow.slick-hidden {\n display: none\n}\n\n.builder-carousel .slick-dots,\n.builder-carousel .slick-next,\n.builder-carousel .slick-prev {\n position: absolute;\n display: block;\n padding: 0\n}\n\n.builder-carousel .slick-dots li button:before,\n.builder-carousel .slick-next:before,\n.builder-carousel .slick-prev:before {\n font-family: slick;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale\n}\n\n.builder-carousel .slick-loading .slick-list {\n background: url(ajax-loader.gif) center center no-repeat #fff\n}\n\n@font-face {\n font-display: swap;\n font-family: slick;\n font-weight: 400;\n font-style: normal;\n src: url(https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/fonts/slick.eot);\n src: local(\"slick\"), url(https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/fonts/slick.eot?#iefix) format('embedded-opentype'), url(https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/fonts/slick.woff) format('woff'), url(https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/fonts/slick.ttf) format('truetype'), url(https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/fonts/slick.svg#slick) format('svg')\n}\n\n.builder-carousel .slick-next,\n.builder-carousel .slick-prev {\n font-size: 0;\n line-height: 0;\n top: 50%;\n width: 20px;\n height: 20px;\n -webkit-transform: translate(0, -50%);\n -ms-transform: translate(0, -50%);\n transform: translate(0, -50%);\n cursor: pointer;\n color: transparent;\n border: none;\n outline: 0;\n background: 0 0\n}\n\n.builder-carousel .slick-next:focus,\n.builder-carousel .slick-next:hover,\n.builder-carousel .slick-prev:focus,\n.builder-carousel .slick-prev:hover {\n color: transparent;\n outline: 0;\n background: 0 0\n}\n\n.builder-carousel .slick-next:focus:before,\n.builder-carousel .slick-next:hover:before,\n.builder-carousel .slick-prev:focus:before,\n.builder-carousel .slick-prev:hover:before {\n opacity: 1\n}\n\n.builder-carousel .slick-next.slick-disabled:before,\n.builder-carousel .slick-prev.slick-disabled:before {\n opacity: .25\n}\n\n.builder-carousel .slick-next:before,\n.builder-carousel .slick-prev:before {\n font-size: 20px;\n line-height: 1;\n opacity: .75;\n color: #fff\n}\n\n.builder-carousel .slick-prev {\n left: -25px\n}\n\n.builder-carousel [dir=rtl] .slick-prev {\n right: -25px;\n left: auto\n}\n\n.builder-carousel .slick-prev:before {\n content: ''\n}\n\n.builder-carousel .slick-next:before,\n.builder-carousel [dir=rtl] .slick-prev:before {\n content: ''\n}\n\n.builder-carousel .slick-next {\n right: -25px\n}\n\n.builder-carousel [dir=rtl] .slick-next {\n right: auto;\n left: -25px\n}\n\n.builder-carousel [dir=rtl] .slick-next:before {\n content: 'â¢\x90'\n}\n\n.builder-carousel .slick-dotted.slick-slider {\n margin-bottom: 30px\n}\n\n.builder-carousel .slick-dots {\n bottom: -25px;\n width: 100%;\n margin: 0;\n list-style: none;\n text-align: center\n}\n\n.builder-carousel .slick-dots li {\n position: relative;\n display: inline-block;
1\n width: 20px;\n height: 20px;\n margin: 0 5px;\n padding: 0;\n cursor: pointer\n}\n\n.builder-carousel .slick-dots li button {\n font-size: 0;\n line-height: 0;\n display: block;\n width: 20px;\n height: 20px;\n padding: 5px;\n cursor: pointer;\n color: transparent;\n border: 0;\n outline: 0;\n background: 0 0\n}\n\n.builder-carousel .slick-dots li button:focus,\n.builder-carousel .slick-dots li button:hover {\n outline: 0\n}\n\n.builder-carousel .slick-dots li button:focus:before,\n.builder-carousel .slick-dots li button:hover:before {\n opacity: 1\n}\n\n.builder-carousel .slick-dots li button:before {\n font-size: 6px;\n line-height: 20px;\n position: absolute;\n top: 0;\n left: 0;\n width: 20px;\n height: 20px;\n content: 'â¢';\n text-align: center;\n opacity: .25;\n color: #000\n}\n\n.builder-carousel .slick-dots li.slick-active button:before {\n opacity: .75;\n color: #000\n}\n\n.builder-carousel img {\n pointer-events: none\n}\n",d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={activeTab:0},t}return(0,o.ZT)(t,e),Object.defineProperty(t.prototype,"activeTabSpec",{get:function(){return this.props.tabs&&this.props.tabs[this.state.activeTab]},enumerable:!1,configurable:!0}),t.prototype.componentWillMount=function(){this.props.defaultActiveTab&&(this.activeTab=this.props.defaultActiveTab-1)},Object.defineProperty(t.prototype,"activeTab",{get:function(){return this.state.activeTab},set:function(e){this.setState((0,o.pi)((0,o.pi)({},this.state),{activeTab:e}))},enumerable:!1,configurable:!0}),t.prototype.render=function(){var e=this;return i.createElement(i.Fragment,null,i.createElement("span",{style:{display:"flex",flexDirection:"row",justifyContent:this.props.tabHeaderLayout,overflow:"auto",WebkitOverflowScrolling:"touch"},className:"builder-tabs-wrap"},this.props.tabs&&this.props.tabs.map(function(t,n){return i.createElement("span",{key:n,className:"builder-tab-wrap "+(e.activeTabSpec===t?"builder-tab-active":""),style:(0,o.pi)({},e.activeTabSpec===t&&e.props.activeTabStyle||void 0),onClick:function(){n===e.activeTab&&e.props.collapsible?e.activeTab=-1:e.activeTab=n}},i.createElement(r.Wp,{parentElementId:e.props.builderBlock.id,dataPath:"component.options.tabs.".concat(e.state.activeTab,".label"),blocks:t.label}))})),this.activeTabSpec&&i.createElement(r.Wp,{parentElementId:this.props.builderBlock.id,dataPath:"component.options.tabs.".concat(this.state.activeTab,".content"),blocks:this.activeTabSpec.content}))},t}(i.Component),f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.divRef=null,t.state={open:[]},t}return(0,o.ZT)(t,e),t.prototype.componentDidMount=function(){var e=this;setTimeout(function(){e.divRef&&e.divRef.dispatchEvent(new CustomEvent("builder:accordion:load",{bubbles:!0,cancelable:!1,detail:{ref:e}}))})},t.prototype.getAccordionItem=function(e,t,n,a,s,l){var u=this;void 0===l&&(l=!1);var c=-1!==this.state.open.indexOf(n),d=this.props.grid;return i.createElement(i.Fragment,{key:n},i.createElement("div",{className:"builder-accordion-title builder-accordion-title-".concat(c?"open":"closed"),style:(0,o.pi)({cursor:"pointer",display:"flex",flexDirection:"column",alignItems:"stretch"},d&&(0,o.pi)({width:this.props.gridRowWidth},"number"==typeof a&&{order:n<a?n:n+1})),"data-index":n,onClick:function(){c?u.setState((0,o.pi)((0,o.pi)({},u.state),{open:s?[]:u.state.open.filter(function(e){return e!==n})})):u.setState((0,o.pi)((0,o.pi)({},u.state),{open:s?[n]:u.state.open.concat(n)}))}},l?e.map(function(e,t){return i.createElement(r.s6,{key:t,block:(0,o.pi)((0,o.pi)({},e),{repeat:null}),index:t,child:!0})}):i.createElement(r.Wp,{blocks:e,dataPath:"items.".concat(n,".title")})),c&&i.createElement("div",{className:"builder-accordion-detail builder-accordion-detail-".concat(c?"open":"closed"),style:(0,o.pi)({order:"number"==typeof a?a:void 0},d&&{width:"100%"})},c&&(l?t.map(function(e,t){return i.createElement(r.s6,{key:t,block:(0,o.pi)((0,o.pi)({},e),{repeat:null}),index:t,child:!0})}):i.createElement(r.Wp,{blocks:t,dataPath:"items.".concat(n,".detail")}))))},t.prototype.render=function(){var e=this,t=this.props,n=t.grid,a=t.oneAtATime,s=!!(n||a),l=n&&this.state.open.length,u=null;if(l&&this.divRef){var c=this.state.open[0],d=this.divRef.querySelector('.builder-accordion-title[data-index="'.concat(c,'"]'));if(u=c,d){for(var f=d.getBoundingClientRect();d=d&&d.nextElementSibling;)if(d){if(d.classList.contains("builder-accordion-detail"))continue;var p=d.getBoundingClientRect();if(p.left>f.left){var h=parseInt(d.getAttribute("data-index")||"",10);isNaN(h)||(f=p,u=h)}else break}}}return"number"==typeof u&&(u+=1),i.createElement(r.Zu.Consumer,null,function(t){return e._errors=t&&t.errors,e._logs=t&&t.logs,i.createElement(r.zC.Consumer,null,function(t){return i.createElement("div",{ref:function(t){return e.divRef=t},className:"builder-accordion",style:(0,o.pi)({display:"flex",alignItems:"stretch",flexDirection:"column"},n&&{flexDirection:"row",alignItems:"flex-start",flexWrap:"wrap"})},e.props.useChildrenForItems?e.props.builderBlock&&e.props.builderBlock.children&&e.props.builderBlock.children.map(function(n,a){if(n.repeat&&n.repeat.collection){var l=n.repeat.collection,c=(l||"").split(/\.\w+\(/)[0].trim().split(".").pop(),d=n.repeat.itemName||(c?c+"Item":"item"),f=(0,r.JS)(l,!0,e._errors,e._logs)(t.state);if(Array.isArray(f))return f.map(function(a,l){var c,f=(0,o.pi)((0,o.pi)({},t.state),((c={$index:l,$item:a}
1)[d]=a,c));return i.createElement(r.zC.Provider,{key:n.id,value:(0,o.pi)((0,o.pi)({},t),{state:f})},e.getAccordionItem(n.children?[n.children[0]]:[],n.children?[n.children[1]]:[],l,u,s,!0))})}return e.getAccordionItem(n.children?[n.children[0]]:[],n.children?[n.children[1]]:[],a,u,s,!0)}):e.props.items&&e.props.items.map(function(t,n){return e.getAccordionItem(t.title,t.detail,n,u,s)}))})})},t}(i.Component),p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.divRef=null,t.masonryRef=null,t.state={layoutComplete:!1},t}return(0,o.ZT)(t,e),t.prototype.componentDidMount=function(){var e=this;setTimeout(function(){e.divRef&&e.divRef.dispatchEvent(new CustomEvent("builder:masonry:load",{bubbles:!0,cancelable:!1,detail:{block:e.props.builderBlock,ref:e.divRef,masonry:e.masonryRef}})),r.Ib.isEditing})},t.prototype.render=function(){var e=this;this.props.tiles;var t={display:"flex",flexDirection:"column",alignItems:"stretch",width:this.props.columnWidth};return i.createElement("div",{style:{opacity:r.Ib.isBrowser&&this.state.layoutComplete?1:0,transition:"opacity 0.2s"}},i.createElement(r.Zu.Consumer,null,function(n){return e._errors=n&&n.errors,e._logs=n&&n.logs,i.createElement(r.zC.Consumer,null,function(n){return i.createElement("div",{ref:function(t){return e.divRef=t},className:"builder-masonry"},i.createElement(l(),{onLayoutComplete:function(){e.state.layoutComplete||e.setState((0,o.pi)((0,o.pi)({},e.state),{layoutComplete:!0}))},options:{gutter:e.props.gutterSize,fitWidth:!(e.props.columnWidth&&e.props.columnWidth.endsWith("%")),percentPosition:e.props.columnWidth&&(e.props.columnWidth.endsWith("%")||e.props.columnWidth.startsWith("."))||!1},ref:function(t){return e.masonryRef=t}},e.props.useChildrenForTiles?e.props.builderBlock&&e.props.builderBlock.children&&e.props.builderBlock.children.map(function(a,s){if(a.repeat&&a.repeat.collection){var l=a.repeat.collection,u=(l||"").split(/\.\w+\(/)[0].trim().split(".").pop(),c=a.repeat.itemName||(u?u+"Item":"item"),d=(0,r.JS)(l,!0,e._errors,e._logs)(n.state);if(Array.isArray(d))return r.Ib.isBrowser||(d=d.slice(0,1)),d.map(function(e,s){var l,u=(0,o.pi)((0,o.pi)({},n.state),((l={$index:s,$item:e})[c]=e,l));return i.createElement("div",{className:"masonry-item",style:t},i.createElement(r.zC.Provider,{key:a.id,value:(0,o.pi)((0,o.pi)({},n),{state:u})},i.createElement(r.s6,{block:(0,o.pi)((0,o.pi)({},a),{repeat:null}),index:s,child:!0})))})}return i.createElement("div",{style:t,className:"masonry-item"},i.createElement(r.s6,{key:a.id,block:a,index:s,child:!0}))}):e.props.tiles&&e.props.tiles.map(function(n,o){return i.createElement("div",{style:t,className:"masonry-item"},i.createElement(r.Wp,{key:o,parentElementId:e.props.builderBlock&&e.props.builderBlock.id,dataPath:"component.options.tiles.".concat(o,".content"),child:!0,blocks:n.content||n}))})))})}))},t}(i.Component),h={"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{position:"relative",display:"flex",alignItems:"stretch",flexDirection:"column",height:"400px"}},children:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{marginTop:"50px",textAlign:"center",display:"flex",flexDirection:"column"}},component:{name:"Text",options:{text:"I am a slide"}}}]},m={"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{position:"relative",display:"flex",alignItems:"stretch",flexDirection:"column",height:"30px"}}},v={name:"Builder:Carousel",canHaveChildren:!0,defaultStyles:{paddingLeft:"30px",paddingRight:"30px",paddingBottom:"30px"},inputs:[{name:"slides",type:"list",broadcast:!0,subFields:[{name:"content",type:"uiBlocks",hideFromUI:!0,defaultValue:[h]}],defaultValue:[{content:[h]},{content:[h]}],showIf:function(e){return!e.get("useChildrenForSlides")}},{name:"hideDots",helperText:"Hide pagination dots",type:"boolean",defaultValue:!1},{name:"autoplay",helperText:"Automatically rotate to the next slide every few seconds",type:"boolean",defaultValue:!1},{name:"autoplaySpeed",type:"number",defaultValue:5,helperText:"If auto play is on, how many seconds to wait before automatically changing each slide",showIf:function(e){return e.get("autoplay")}},{name:"prevButton",type:"uiBlocks",hideFromUI:!0,defaultValue:[(0,o.pi)((0,o.pi)({},m),{component:{name:"Image",options:{image:"https://cdn.builder.io/api/v1/image/assets%2FagZ9n5CUKRfbL9t6CaJOyVSK4Es2%2Fd909a5b91650499c9e0524cc904eeb77"}}})]},{name:"nextButton",type:"uiBlocks",hideFromUI:!0,defaultValue:[(0,o.pi)((0,o.pi)({},m),{component:{name:"Image",options:{image:"https://cdn.builder.io/api/v1/image/assets%2FagZ9n5CUKRfbL9t6CaJOyVSK4Es2%2Fdb2a9827561249aea3817b539aacdcdc"}}})]},{name:"useChildrenForSlides",type:"boolean",helperText:"Use child elements for each slide, instead of the array. Useful for dynamically repeating slides",advanced:!0,defaultValue:!1,onChange:function(e){!0===e.get("useChildrenForSlides")&&e.set("slides",[])}},{name:"responsive",type:"array",helperText:"Responsive settings - e.g. see https://kenwheeler.github.io/slick/",advanced:!0,defaultValue:[{width:3e3,slidesToShow:2,slidesToScroll:2},{width:400,slidesToShow:1,slidesToScroll:1}],subFields:[{name:"breakpoint",type:"number",defaultValue:400,required:!0},{name:"settings",type:"object",defaultValue:{slidesToShow:2,slidesToScroll:2},subFields:[{name:"slidesToShow",type:"number",defaultValue:2},{name:"slidesToScroll",type:"number",defaultValue:2},{name:"infinite",type:"boolean",defaultValue:!0},{name:"dots",type:"boolean",defaultValue:!0}]}]}]},g={"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{paddingLeft:"20px",paddingRight:"20px",paddingTop:"10px",paddingBottom:"10px",minWidth:"100px",textAlign:"center",display:"flex",flexDirection:"column",cursor:"pointer",userSelect:"none"}},component:{name:"Text",options:{text:"New tab"}}},y={"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{height:"200px",display:"flex",marginTop:"20px",flexDirection:"column"}},component:{name:"Text",options:{text:"New tab content "}}},b={name:"Builder: Tabs",inputs:[{name:"tabs",type:"list",broadcast:!0,subFields:[{name:"label",type:"uiBlocks",hideFromUI:!0,defaultValue:[g]},{name:"content",type:"uiBlocks",hideFromUI:!0,defaultValue:[y]}],defaultValue:[{label:[(0,o.pi)((0,o.pi)({},g),{component:{name:"Text",options:{text:"Tab 1"}}})],content:[(0,o.pi)((0,o.pi)({},y),{component:{name:"Text",options:{text:"Tab 1 content"}}})]},{label:[(0,o.pi)((0,o.pi)({},g),{component:{name:"Text",options:{text:"Tab 2"}}})],content:[(0,o.pi)((0,o.pi)({},y),{component:{name:"Text",options:{text:"Tab 2 content"}}})]}]},{name:"activeTabStyle",type:"uiStyle",helperText:"CSS styles for the active tab",defaultValue:{backgroundColor:"rgba(0, 0, 0, 0.1)"}},{name:"defaultActiveTab",type:"number",helperText:'Deafult tab to open to. Set to "1" for the first tab, "2" for the second, or choose "0" for none',defaultValue:1,advanced:!0},{name:"collapsible",type:"boolean",helperText:"If on, clicking an open tab closes it so no tabs are active",defaultValue:!1,advanced:!0},{name:"tabHeaderLayout",type:"enum",helperText:"Change the layout of the tab headers (uses justify-content)",defaultValue:"flex-start",enum:[{label:"Center",value:"center"},{label:"Space between",value:"space-between"},{label:"Space around",value:"space-around"},{label:"Left",value:"flex-start"},{label:"Right",value:"flex-end"}]}]},w={"@type":"@builder.io/sdk:Element",layerName:"Accordion item title",responsiveStyles:{large:{marginTop:"10px",position:"relative",display:"flex",alignItems:"stretch",flexDirection:"column",paddingBottom:"10px"}},children:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{textAlign:"left",display:"flex",flexDirection:"column"}},component:{name:"Text",options:{text:"I am an accordion title. Click me!"}}}]},x={"@type":"@builder.io/sdk:Element",layerName:"Accordion item detail",responsiveStyles:{large:{position:"relative",display:"flex",alignItems:"stretch",flexDirection:"column",marginTop:"10px",paddingBottom:"10px"}},children:[{"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{paddingTop:"50px",textAlign:"left",display:"flex",flexDirection:"column",paddingBottom:"50px"}},component:{name:"Text",options:{text:"I am an accordion detail, hello!"}}}]},k={name:"Builder:Accordion",canHaveChildren:!0,image:"https://cdn.builder.io/api/v1/image/assets%2FagZ9n5CUKRfbL9t6CaJOyVSK4Es2%2Ffab6c1fd3fe542408cbdec078bca7f35",defaultStyles:{display:"flex",flexDirection:"column",alignItems:"stretch"},inputs:[{name:"items",type:"list",broadcast:!0,subFields:[{name:"title",type:"uiBlocks",hideFromUI:!0,defaultValue:[w]},{name:"detail",type:"uiBlocks",hideFromUI:!0,defaultValue:[x]}],defaultValue:[{title:[w],detail:[x]},{title:[w],detail:[x]}],showIf:function(e){return!e.get("useChildrenForItems")}},{name:"oneAtATime",helperText:"Only allow opening one at a time (collapse all others when new item openned)",type:"boolean",defaultValue:!1},{name:"grid",helperText:"Display as a grid",type:"boolean",defaultValue:!1},{name:"gridRowWidth",helperText:"Display as a grid",type:"string",showIf:function(e){return e.get("grid")},defaultValue:"25%"},{name:"useChildrenForItems",type:"boolean",helperText:"Use child elements for each slide, instead of the array. Useful for dynamically repeating items",advanced:!0,defaultValue:!1,onChange:function(e){!0===e.get("useChildrenForItems")&&e.set("items",[])}}]},S=function(){return(0,o.pi)((0,o.pi)({},E),{component:(0,o.pi)((0,o.pi)({},E.component),{options:(0,o.pi)((0,o.pi)({},E.component.options),{aspectRatio:Math.round((1.5*Math.random()+.5)*100)/100})})})},E={"@type":"@builder.io/sdk:Element",responsiveStyles:{large:{display:"flex",flexDirection:"column",alignItems:"stretch",position:"relative",flexShrink:"0",boxSizing:"border-box",marginTop:"20px",minHeight:"20px",minWidth:"20px",overflow:"hidden",marginLeft:"20px"}},component:{name:"Image",options:{image:"https://builder.io/api/v1/image/assets%2Fpwgjf0RoYWbdnJSbpBAjXNRMe9F2%2Ffb27a7c790324294af8be1c35fe30f4d?width=2000&height=1200",backgroundSize:"cover",backgroundPosition:"center",aspectRatio:.7041}}},C={name:"Builder:Masonry",image:"https://cdn.builder.io/api/v1/image/assets%2FBvYIl5jKN9QpChUB3PVzsTe2ZSI2%2F7ed6bd8129d148608ecec09300786d71?width=2000&height=1200",canHaveChildren:!0,defaultStyles:{paddingLeft:"20px",paddingRight:"20px",paddingBottom:"20px"},defaultChildren:[S(),S(),S(),S(),S(),S(),S(),S(),S()],inputs:[{name:"columnWidth",type:"string",helperText:'Width of each tile, as a CSS value. E.g. "200px" or "50%"',defaultValue:"200px"},{name:"gutterSize",type:"number",helperText:'Horizontal space between tiles in pixels, e.g. "20" for 20 pixels wide',defaultValue:0,advanced:!0},{name:"tiles",type:"list",subFields:[{name:"content",type:"uiBlocks",hideFromUI:!0,defaultValue:[E]}],defaultValue:[],showIf:function(e){return!e.get("useChildrenForTiles")}},{name:"useChildrenForTiles",type:"boolean",helperText:"Use child elements for each slide, instead of the array. Useful for dynamically repeating tiles",advanced:!0,defaultValue:!0,onChange:function(e){!0===e.get("useChildrenForTiles")&&e.set("tiles",[])}}]};r.Ib.registerComponent(u,v),r.Ib.registerComponent(d,b),r.Ib.registerComponent(f,k),r.Ib.registerComponent(p,C)},55809:function(e,t,n){"use strict";n.d(t,{ms:function(){return U},iv:function(){return F},tZ:function(){return B}});var r,o=n(8247);function i(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function a(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t}var s=function(){function e(e){this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.before=null}var t=e.prototype;return t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t,n=a(this);t=0===this.tags.length?this.before:this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(n,t),this.tags.push(n)}
vendor: 1,726 bytes, line 1
1var r=this.tags[this.tags.length-1];if(this.isSpeedy){var o=i(r);try{var s=105===e.charCodeAt(1)&&64===e.charCodeAt(0);o.insertRule(e,s?0:o.cssRules.length)}catch(e){}}else r.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){return e.parentNode.removeChild(e)}),this.tags=[],this.ctr=0},e}(),l=function(e){function t(e,r,l,u,c){for(var p,h,m,v,g,x=0,S=0,E=0,C=0,T=0,O=0,_=m=p=0,D=0,L=0,W=0,F=0,B=l.length,z=B-1,H="",V="",U="",q="";D<B;){if(h=l.charCodeAt(D),D===z&&0!==S+C+E+x&&(0!==S&&(h=47===S?10:47),C=E=x=0,B++,z++),0===S+C+E+x){if(D===z&&(0<L&&(H=H.replace(f,"")),0<H.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:H+=l.charAt(D)}h=59}switch(h){case 123:for(p=(H=H.trim()).charCodeAt(0),m=1,F=++D;D<B;){switch(h=l.charCodeAt(D)){case 123:m++;break;case 125:m--;break;case 47:switch(h=l.charCodeAt(D+1)){case 42:case 47:e:{for(_=D+1;_<z;++_)switch(l.charCodeAt(_)){case 47:if(42===h&&42===l.charCodeAt(_-1)&&D+2!==_){D=_+1;break e}break;case 10:if(47===h){D=_+1;break e}}D=_}}break;case 91:h++;case 40:h++;case 34:case 39:for(;D++<z&&l.charCodeAt(D)!==h;);}if(0===m)break;D++}if(m=l.substring(F,D),0===p&&(p=(H=H.replace(d,"").trim()).charCodeAt(0)),64===p){switch(0<L&&(H=H.replace(f,"")),h=H.charCodeAt(1)){case 100:case 109:case 115:case 45:L=r;break;default:L=j}if(F=(m=t(r,L,m,h,c+1)).length,0<A&&(g=s(3,m,L=n(j,H,W),r,I,M,F,h,c,u),H=L.join(""),void 0!==g&&0===(F=(m=g.trim()).length)&&(h=0,m="")),0<F)switch(h){case 115:H=H.replace(k,a);case 100:case 109:case 45:m=H+"{"+m+"}";break;case 107:m=(H=H.replace(y,"$1 $2"))+"{"+m+"}",m=1===P||2===P&&i("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=H+m,112===u&&(V+=m,m="")}else m=""}
vendor: 4,139 bytes, line 1
1else m=t(r,n(r,H,W),m,u,c+1);U+=m,m=W=L=_=p=0,H="",h=l.charCodeAt(++D);break;case 125:case 59:if(1<(F=(H=(0<L?H.replace(f,""):H).trim()).length))switch(0===_&&(45===(p=H.charCodeAt(0))||96<p&&123>p)&&(F=(H=H.replace(" ",":")).length),0<A&&void 0!==(g=s(1,H,r,e,I,M,V.length,u,c,u))&&0===(F=(H=g.trim()).length)&&(H="\0\0"),p=H.charCodeAt(0),h=H.charCodeAt(1),p){case 0:break;case 64:if(105===h||99===h){q+=H+l.charAt(D);break}default:58!==H.charCodeAt(F-1)&&(V+=o(H,p,h,H.charCodeAt(2)))}W=L=_=p=0,H="",h=l.charCodeAt(++D)}}switch(h){case 13:case 10:47===S?S=0:0===1+p&&107!==u&&0<H.length&&(L=1,H+="\0"),0<A*N&&s(0,H,r,e,I,M,V.length,u,c,u),M=1,I++;break;case 59:case 125:if(0===S+C+E+x){M++;break}default:switch(M++,v=l.charAt(D),h){case 9:case 32:if(0===C+x+S)switch(T){case 44:case 58:case 9:case 32:v="";break;default:32!==h&&(v=" ")}break;case 0:v="\\0";break;case 12:v="\\f";break;case 11:v="\\v";break;case 38:0===C+S+x&&(L=W=1,v="\f"+v);break;case 108:if(0===C+S+x+R&&0<_)switch(D-_){case 2:112===T&&58===l.charCodeAt(D-3)&&(R=T);case 8:111===O&&(R=O)}break;case 58:0===C+S+x&&(_=D);break;case 44:0===S+E+C+x&&(L=1,v+="\r");break;case 34:case 39:0===S&&(C=C===h?0:0===C?h:C);break;case 91:0===C+S+E&&x++;break;case 93:0===C+S+E&&x--;break;case 41:0===C+S+x&&E--;break;case 40:0===C+S+x&&(0===p&&(2*T+3*O==533||(p=1)),E++);break;case 64:0===S+E+C+x+_+m&&(m=1);break;case 42:case 47:if(!(0<C+x+E))switch(S){case 0:switch(2*h+3*l.charCodeAt(D+1)){case 235:S=47;break;case 220:F=D,S=42}break;case 42:47===h&&42===T&&F+2!==D&&(33===l.charCodeAt(F+2)&&(V+=l.substring(F,D+1)),v="",S=0)}}0===S&&(H+=v)}O=T,T=h,D++}if(0<(F=V.length)){if(L=r,0<A&&void 0!==(g=s(2,V,L,e,I,M,F,u,c,u))&&0===(V=g).length)return q+V+U;if(V=L.join(",")+"{"+V+"}",0!=P*R){switch(2!==P||i(V,2)||(R=0),R){case 111:V=V.replace(w,":-moz-$1")+V;break;case 112:V=V.replace(b,"::-webkit-input-$1")+V.replace(b,"::-moz-$1")+V.replace(b,":-ms-input-$1")+V}R=0}}return q+V+U}function n(e,t,n){var o=t.trim().split(v);t=o;var i=o.length,a=e.length;switch(a){case 0:case 1:var s=0;for(e=0===a?"":e[0]+" ";s<i;++s)t[s]=r(e,t[s],n).trim();break;default:var l=s=0;for(t=[];s<i;++s)for(var u=0;u<a;++u)t[l++]=r(e[u]+" ",o[s],n).trim()}return t}function r(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(g,"$1"+e.trim());case 58:return e.trim()+t.replace(g,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(g,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function o(e,t,n,r){var a=e+";",s=2*t+3*n+4*r;if(944===s){e=a.indexOf(":",9)+1;var l=a.substring(e,a.length-1).trim();return l=a.substring(0,e).trim()+l+";",1===P||2===P&&i(l,1)?"-webkit-"+l+l:l}if(0===P||2===P&&!i(a,1))return a;switch(s){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(O,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(l=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+l+a;case 1005:return h.test(a)?a.replace(p,":-webkit-")+a.replace(p,":-moz-")+a:a;case 1e3:switch(t=(l=a.substring(13).trim()).indexOf("-")+1,l.charCodeAt(0)+l.charCodeAt(t)){case 226:l=a.replace(x,"tb");break;case 232:l=a.replace(x,"tb-rl");break;case 220:l=a.replace(x,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+l+a;case 1017:if(-1===a.indexOf("sticky",9))break;
vendor: 4,198 bytes, line 1
1case 975:switch(t=(a=e).length-10,s=(l=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|l.charCodeAt(7))){case 203:if(111>l.charCodeAt(8))break;case 115:a=a.replace(l,"-webkit-"+l)+";"+a;break;case 207:case 102:a=a.replace(l,"-webkit-"+(102<s?"inline-":"")+"box")+";"+a.replace(l,"-webkit-"+l)+";"+a.replace(l,"-ms-"+l+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return l=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+l+"-ms-flex-"+l+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(E,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(E,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===T.test(e))return 115===(l=e.substring(e.indexOf(":")+1)).charCodeAt(0)?o(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):a.replace(l,"-webkit-"+l)+a.replace(l,"-moz-"+l.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+r&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(m,"$1-webkit-$2")+a}return a}function i(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),D(2!==t?r:r.replace(C,"$1"),n,t)}function a(e,t){var n=o(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(S," or ($1)").substring(4):"("+t+")"}function s(e,t,n,r,o,i,a,s,l,u){for(var d,f=0,p=t;f<A;++f)switch(d=_[f].call(c,e,p,n,r,o,i,a,s,l,u)){case void 0:case!1:case!0:case null:break;default:p=d}if(p!==t)return p}function l(e){switch(e){case void 0:case null:A=_.length=0;break;default:if("function"==typeof e)_[A++]=e;else if("object"==typeof e)for(var t=0,n=e.length;t<n;++t)l(e[t]);else N=0|!!e}return l}function u(e){return void 0!==(e=e.prefix)&&(D=null,e?"function"!=typeof e?P=1:(P=2,D=e):P=0),u}function c(e,n){var r=e;if(33>r.charCodeAt(0)&&(r=r.trim()),r=[L=r],0<A){var o=s(-1,n,r,r,I,M,0,0,0,0);void 0!==o&&"string"==typeof o&&(n=o)}var i=t(j,r,n,0,0);return 0<A&&void 0!==(o=s(-2,i,r,r,I,M,i.length,0,0,0))&&(i=o),L="",R=0,M=I=1,i}var d=/^\0+/g,f=/[\0\r\f]/g,p=/: */g,h=/zoo|gra/,m=/([,: ])(transform)/g,v=/,\r+?/g,g=/([\t\r\n ])*\f?&/g,y=/@(k\w+)\s*(\S*)\s*/,b=/::(place)/g,w=/:(read-only)/g,x=/[svh]\w+-[tblr]{2}/,k=/\(\s*(.*)\s*\)/g,S=/([\s\S]*?);/g,E=/-self|flex-/g,C=/[^]*?(:[rp][el]a[\w-]+)[^]*/,T=/stretch|:\s*\w+\-(?:conte|avail)/,O=/([^-])(image-set\()/,M=1,I=1,R=0,P=1,j=[],_=[],A=0,D=null,N=0,L="";return c.use=l,c.set=u,void 0!==e&&u(e),c},u="/*|*/",c=u+"}";function d(e){e&&f.current.insert(e+"}")}var f={current:null},p=function(e,t,n,r,o,i,a,s,l,p){switch(e){case 1:switch(t.charCodeAt(0)){case 64:return f.current.insert(t+";"),"";case 108:if(98===t.charCodeAt(2))return""}break;case 2:if(0===s)return t+u;break;case 3:switch(s){case 102:case 112:return f.current.insert(n[0]+t),"";default:return t+(0===p?u:"")}case -2:t.split(c).forEach(d)}},h=function(e){void 0===e&&(e={});var t,n,r,o=e.key||"css";void 0!==e.prefix&&(t={prefix:e.prefix});var i=new l(t),a={};n=e.container||document.head;var u=document.querySelectorAll("style[data-emotion-"+o+"]");Array.prototype.forEach.call(u,function(e){e.getAttribute("data-emotion-"+o).split(" ").forEach(function(e){a[e]=!0}),e.parentNode!==n&&n.appendChild(e)}),i.use(e.stylisPlugins)(p),r=function(e,t,n,r){var o=t.name;f.current=n,i(e,t.styles),r&&(c.inserted[o]=!0)};var c={key:o,sheet:new s({key:o,container:n,nonce:e.nonce,speedy:e.speedy}),nonce:e.nonce,inserted:a,registered:{},insert:r};return c},m=!0;function v(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]):r+=n+" "}),r}var g=function(e,t,n){var r=e.key+"-"+t.name;if((!1===n||!1===m&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles),void 0===e.inserted[t.name]){var o=t;do e.insert("."+r,o,e.sheet,!0),o=o.next;while(void 0!==o)}},y=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))*1540483477+((t>>
1>16)*59797<<16),t^=t>>>24,n=(65535&t)*1540483477+((t>>>16)*59797<<16)^(65535&n)*1540483477+((n>>>16)*59797<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n^=255&e.charCodeAt(r),n=(65535&n)*1540483477+((n>>>16)*59797<<16)}return n^=n>>>13,(((n=(65535&n)*1540483477+((n>>>16)*59797<<16))^n>>>15)>>>0).toString(36)},b={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},w=/[A-Z]|^ms/g,x=/_EMO_([^_]+?)_([^]*?)_EMO_/g,k=function(e){return 45===e.charCodeAt(1)},S=function(e){return null!=e&&"boolean"!=typeof e},E=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}(function(e){return k(e)?e:e.replace(w,"-$&").toLowerCase()}),C=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(x,function(e,t,n){return r={name:t,styles:n,next:r},t})}return 1===b[e]||k(e)||"number"!=typeof t||0===t?t:t+"px"};function T(e,t,n,o){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return r={name:n.name,styles:n.styles,next:r},n.name;if(void 0!==n.styles){var i=n.next;if(void 0!==i)for(;void 0!==i;)r={name:i.name,styles:i.styles,next:r},i=i.next;return n.styles+";"}return O(e,t,n);case"function":if(void 0!==e){var a=r,s=n(e);return r=a,T(e,t,s,o)}}if(null==t)return n;var l=t[n];return void 0===l||o?n:l}function O(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=T(e,t,n[o],!1);else for(var i in n){var a=n[i];if("object"!=typeof a)null!=t&&void 0!==t[a]?r+=i+"{"+t[a]+"}":S(a)&&(r+=E(i)+":"+C(i,a)+";");else if(Array.isArray(a)&&"string"==typeof a[0]&&(null==t||void 0===t[a[0]]))for(var s=0;s<a.length;s++)S(a[s])&&(r+=E(i)+":"+C(i,a[s])+";");else{var l=T(e,t,a,!1);switch(i){case"animation":case"animationName":r+=E(i)+":"+l+";";break;default:r+=i+"{"+l+"}"}}}return r}var M=/label:\s*([^\s;\n{]+)\s*;/g,I=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var o,i=!0,a="";r=void 0;var s=e[0];null==s||void 0===s.raw?(i=!1,a+=T(n,t,s,!1)):a+=s[0];for(var l=1;l<e.length;l++)a+=T(n,t,e[l],46===a.charCodeAt(a.length-1)),i&&(a+=s[l]);M.lastIndex=0;for(var u="";null!==(o=M.exec(a));)u+="-"+o[1];return{name:y(a)+u,styles:a,next:r}},R=Object.prototype.hasOwnProperty,P=(0,o.createContext)("undefined"!=typeof HTMLElement?h():null),j=(0,o.createContext)({});P.Provider;var _=function(e){var t=function(t,n){return(0,o.createElement)(P.Consumer,null,function(r){return e(t,r,n)})};return(0,o.forwardRef)(t)},A="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",D=function(e,t){var n={};for(var r in t)R.call(t,r)&&(n[r]=t[r]);return n[A]=e,n},N=function(){return null},L=function(e,t,n,r){var i=null===n?t.css:t.css(n);"string"==typeof i&&void 0!==e.registered[i]&&(i=e.registered[i]);var a=t[A],s=[i],l="";"string"==typeof t.className?l=v(e.registered,s,t.className):null!=t.className&&(l=t.className+" ");var u=I(s);g(e,u,"string"==typeof a),l+=e.key+"-"+u.name;var c={};for(var d in t)R.call(t,d)&&"css"!==d&&d!==A&&(c[d]=t[d]);c.ref=r,c.className=l;var f=(0,o.createElement)(a,c),p=(0,o.createElement)(N,null);return(0,o.createElement)(o.Fragment,null,p,f)},W=_(function(e,t,n){return"function"==typeof e.css?(0,o.createElement)(j.Consumer,null,function(r){return L(t,e,r,n)}):L(t,e,null,n)}),F=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return I(t)},B=function(e,t){var n=arguments;if(null==t||!R.call(t,"css"))return o.createElement.apply(void 0,n);var r=n.length,i=Array(r);i[0]=W,i[1]=D(e,t);for(var a=2;a<r;a++)i[a]=n[a];return o.createElement.apply(null,i)},z=function e(t){for(var n=t.length,r=0,o="";r<n;r++){var i=t[r];
1if(null!=i){var a=void 0;switch(typeof i){case"boolean":break;case"object":if(Array.isArray(i))a=e(i);else for(var s in a="",i)i[s]&&s&&(a&&(a+=" "),a+=s);break;default:a=i}a&&(o&&(o+=" "),o+=a)}}return o};function H(e,t,n){var r=[],o=v(e,r,n);return r.length<2?n:o+t(r)}var V=function(){return null},U=_(function(e,t){return(0,o.createElement)(j.Consumer,null,function(n){var r=!1,i=function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=I(n,t.registered);return g(t,o,!1),t.key+"-"+o.name},a=function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return H(t.registered,i,z(n))},s={css:i,cx:a,theme:n},l=e.children(s);r=!0;var u=(0,o.createElement)(V,null);return(0,o.createElement)(o.Fragment,null,u,l)})})},3020:function(e,t,n){"use strict";n.d(t,{Ry:function(){return d}});var r=function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},o=new WeakMap,i=new WeakMap,a={},s=0,l=function(e){return e&&(e.host||l(e.parentNode))},u=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=l(t);return n&&e.contains(n)?n:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)}).filter(function(e){return!!e})},c=function(e,t,n,r){var l=u(t,Array.isArray(e)?e:[e]);a[n]||(a[n]=new WeakMap);var c=a[n],d=[],f=new Set,p=new Set(l),h=function(e){!e||f.has(e)||(f.add(e),h(e.parentNode))};l.forEach(h);var m=function(e){!e||p.has(e)||Array.prototype.forEach.call(e.children,function(e){if(f.has(e))m(e);else try{var t=e.getAttribute(r),a=null!==t&&"false"!==t,s=(o.get(e)||0)+1,l=(c.get(e)||0)+1;o.set(e,s),c.set(e,l),d.push(e),1===s&&a&&i.set(e,!0),1===l&&e.setAttribute(n,"true"),a||e.setAttribute(r,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return m(t),f.clear(),s++,function(){d.forEach(function(e){var t=o.get(e)-1,a=c.get(e)-1;o.set(e,t),c.set(e,a),t||(i.has(e)||e.removeAttribute(r),i.delete(e)),a||e.removeAttribute(n)}),--s||(o=new WeakMap,o=new WeakMap,i=new WeakMap,a={})}},d=function(e,t,n){void 0===n&&(n="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),i=t||r(e);return i?(o.push.apply(o,Array.from(i.querySelectorAll("[aria-live]"))),c(o,i,n,"aria-hidden")):function(){return null}}},9818:function(e,t,n){"use strict";var r=n(71026);function o(){var e={},t=0,n=0,r=0;return{add:function(o,i){i||(i=o,o=0),o>n?n=o:o<r&&(r=o),e[o]||(e[o]=[]),e[o].push(i),t++},process:function(){for(var t=r;t<=n;t++)for(var o=e[t],i=0;i<o.length;i++)(0,o[i])()},size:function(){return t}}}e.exports=function(e){var t,n=(e=e||{}).reporter,i=r.getOption(e,"async",!0),a=r.getOption(e,"auto",!0);a&&!i&&(n&&n.warn("Invalid options combination. auto=true and async=false is invalid. Setting async=true."),i=!0);var s=o(),l=!1;function u(){for(l=!0;s.size();){var e=s;s=o(),e.process()}l=!1}function c(){t=f(u)}function d(e){return clearTimeout(e)}function f(e){return function(e){return setTimeout(e,0)}(e)}return{add:function(e,t){!l&&a&&i&&0===s.size()&&c(),s.add(e,t)},force:function(e){l||(void 0===e&&(e=i),t&&(d(t),t=null),e?c():u())}}}},71026:function(e){"use strict";function t(e,t,n){var r=e[t];return null==r&&void 0!==n?n:r}(e.exports={}).getOption=t},81106:function(e,t,n){"use strict";var r,o=n(69528),i={},a=function(e){};function s(e,t,n,r,o,i,s,l){if(a(t),!e){var u;if(void 0===t)u=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,s,l],d=0;(u=Error(t.replace(/%s/g,function(){return c[d++]}))).name="Invariant Violation"}throw u.framesToPop=1,u}}var l="mixins";function u(e){return e}function c(e,t,n){var r=[],a={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",UNSAFE_componentWillMount:"DEFINE_MANY",UNSAFE_componentWillReceiveProps:"DEFINE_MANY",UNSAFE_componentWillUpdate:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},c={getDerivedStateFromProps:"DEFINE_MANY_MERGED"},d={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;n<t.length;n++)p(e,t[n])},childContextTypes:function(e,t){e.childContextTypes=o({},e.childContextTypes,t)}
1,contextTypes:function(e,t){e.contextTypes=o({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps?e.getDefaultProps=v(e.getDefaultProps,t):e.getDefaultProps=t},propTypes:function(e,t){e.propTypes=o({},e.propTypes,t)},statics:function(e,t){h(e,t)},autobind:function(){}};function f(e,t){var n=a.hasOwnProperty(t)?a[t]:null;k.hasOwnProperty(t)&&s("OVERRIDE_BASE"===n,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",t),e&&s("DEFINE_MANY"===n||"DEFINE_MANY_MERGED"===n,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",t)}function p(e,n){if(n){s("function"!=typeof n,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),s(!t(n),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var r=e.prototype,o=r.__reactAutoBindPairs;for(var i in n.hasOwnProperty(l)&&d.mixins(e,n.mixins),n)if(n.hasOwnProperty(i)&&i!==l){var u=n[i],c=r.hasOwnProperty(i);if(f(c,i),d.hasOwnProperty(i))d[i](e,u);else{var p=a.hasOwnProperty(i);if("function"!=typeof u||p||c||!1===n.autobind){if(c){var h=a[i];s(p&&("DEFINE_MANY_MERGED"===h||"DEFINE_MANY"===h),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",h,i),"DEFINE_MANY_MERGED"===h?r[i]=v(r[i],u):"DEFINE_MANY"===h&&(r[i]=g(r[i],u))}else r[i]=u}else o.push(i,u),r[i]=u}}}}function h(e,t){if(t)for(var n in t){var r=t[n];if(t.hasOwnProperty(n)){if(s(!(n in d),'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',n),n in e){s("DEFINE_MANY_MERGED"===(c.hasOwnProperty(n)?c[n]:null),"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",n),e[n]=v(e[n],r);return}e[n]=r}}}function m(e,t){for(var n in s(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects."),t)t.hasOwnProperty(n)&&(s(void 0===e[n],"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",n),e[n]=t[n]);return e}function v(e,t){return function(){var n=e.apply(this,arguments),r=t.apply(this,arguments);if(null==n)return r;if(null==r)return n;var o={};return m(o,n),m(o,r),o}}function g(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function y(e,t){return t.bind(e)}function b(e){for(var t=e.__reactAutoBindPairs,n=0;n<t.length;n+=2){var r=t[n],o=t[n+1];e[r]=y(e,o)}}var w={componentDidMount:function(){this.__isMounted=!0}},x={componentWillUnmount:function(){this.__isMounted=!1}},k={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e,t)},isMounted:function(){return!!this.__isMounted}},S=function(){};return o(S.prototype,e.prototype,k),function(e){var t=u(function(e,r,o){this.__reactAutoBindPairs.length&&b(this),this.props=e,this.context=r,this.refs=i,this.updater=o||n,this.state=null;var a=this.getInitialState?this.getInitialState():null;s("object"==typeof a&&!Array.isArray(a),"%s.getInitialState(): must return an object or null",t.displayName||"ReactCompositeComponent"),this.state=a});for(var o in t.prototype=new S,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],r.forEach(p.bind(null,t)),p(t,w),p(t,e),p(t,x),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),s(t.prototype.render,"createClass(...): Class specification must implement a `render` method."),a)t.prototype[o]||(t.prototype[o]=null);return t}}r={},e.exports=c},81298:function(e,t,n){"use strict";var r=n(8247),o=n(81106);if(void 0===r)throw Error("create-react-class could not find the React object. If you are using script tags, make sure that React is being loaded before create-react-class.");var i=new r.Component().updater;e.exports=o(r.Component,r.isValidElement,i)},38574:function(e,t,n){var r,o;!function(i,a){"use strict";void 0!==(o="function"==typeof(r=a)?r.call(t,n,t,e):r)&&(e.exports=o)}(window,function(){"use strict";var e=function(){var e=window.Element.prototype;if(e.matches)return"matches";if(e.matchesSelector)return"matchesSelector";for(var t=["webkit","moz","ms","o"],n=0;n<t.length;n++){var r=t[n]+"MatchesSelector";if(e[r])return r}}();return function(t,n){return t[e](n)}})},12614:function(e,t){"use strict";var n;function r(e){return e.type===n.Tag||e.type===n.Script||e.type===n.Style}
vendor: 4,131 bytes, line 1
1Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(n=t.ElementType||(t.ElementType={})),t.isTag=r,t.Root=n.Root,t.Text=n.Text,t.Directive=n.Directive,t.Comment=n.Comment,t.Script=n.Script,t.Style=n.Style,t.Tag=n.Tag,t.CDATA=n.CDATA,t.Doctype=n.Doctype},88795:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var i=n(12614),a=n(36373);o(n(36373),t);var s={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},l=function(){function e(e,t,n){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(n=t,t=s),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:s,this.elementCB=null!=n?n:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var n=this.options.xmlMode?i.ElementType.Tag:void 0,r=new a.Element(e,t,void 0,n);this.addNode(r),this.tagStack.push(r)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===i.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var n=new a.Text(e);this.addNode(n),this.lastNode=n}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===i.ElementType.Comment){this.lastNode.data+=e;return}var t=new a.Comment(e);this.addNode(t),this.lastNode=t},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new a.Text(""),t=new a.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var n=new a.ProcessingInstruction(e,t);this.addNode(n)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=l,t.default=l},36373:function(e,t,n){"use strict";var r=this&&this.__extends||function(){var e=function(t,n){return(e=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(t,n)};return function(t,n){if("function"!=typeof n&&null!==n)throw TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};
1Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.CDATA=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var i=n(12614),a=function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),k(this,e)},e}();t.Node=a;var s=function(e){function t(t){var n=e.call(this)||this;return n.data=t,n}return r(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(a);t.DataNode=s;var l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=i.ElementType.Text,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t}(s);t.Text=l;var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=i.ElementType.Comment,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),t}(s);t.Comment=u;var c=function(e){function t(t,n){var r=e.call(this,n)||this;return r.name=t,r.type=i.ElementType.Directive,r}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t}(s);t.ProcessingInstruction=c;var d=function(e){function t(t){var n=e.call(this)||this;return n.children=t,n}return r(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(a);t.NodeWithChildren=d;var f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=i.ElementType.CDATA,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(d);t.CDATA=f;var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=i.ElementType.Root,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(d);t.Document=p;var h=function(e){function t(t,n,r,o){void 0===r&&(r=[]),void 0===o&&(o="script"===t?i.ElementType.Script:"style"===t?i.ElementType.Style:i.ElementType.Tag);var a=e.call(this,r)||this;return a.name=t,a.attribs=n,a.type=o,a}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map(function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}})},enumerable:!1,configurable:!0}),t}(d);function m(e){return(0,i.isTag)(e)}function v(e){return e.type===i.ElementType.CDATA}function g(e){return e.type===i.ElementType.Text}function y(e){return e.type===i.ElementType.Comment}function b(e){return e.type===i.ElementType.Directive}function w(e){return e.type===i.ElementType.Root}function x(e){return Object.prototype.hasOwnProperty.call(e,"children")}function k(e,t){if(void 0===t&&(t=!1),g(e))n=new l(e.data);else if(y(e))n=new u(e.data);else if(m(e)){var n,r=t?S(e.children):[],i=new h(e.name,o({},e.attribs),r);r.forEach(function(e){return e.parent=i}),null!=e.namespace&&(i.namespace=e.namespace),e["x-attribsNamespace"]&&(i["x-attribsNamespace"]=o({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(i["x-attribsPrefix"]=o({},e["x-attribsPrefix"])),n=i}else if(v(e)){var r=t?S(e.children):[],a=new f(r);r.forEach(function(e){return e.parent=a}),n=a}else if(w(e)){var r=t?S(e.children):[],s=new p(r);r.forEach(function(e){return e.parent=s}),e["x-mode"]&&(s["x-mode"]=e["x-mode"]),n=s}else if(b(e)){var d=new c(e.name,e.data);null!=e["x-name"]&&(d["x-name"]=e["x-name"],d["x-publicId"]=e["x-publicId"],d["x-systemId"]=e["x-systemId"]),n=d}else throw Error("Not implemented yet: ".concat(e.type));return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function S(e){for(var t=e.map(function(e){return k(e,!0)}),n=1;n<t.length;n++)t[n].prev=t[n-1],t[n-1].next=t[n];return t}t.Element=h,t.isTag=m,t.isCDATA=v,t.isText=g,t.isComment=y,t.isDirective=b,t.isDocument=w,t.hasChildren=x,t.cloneNode=k},53895:function(e){"use strict";var t=e.exports={};t.isIE=function(e){return!!function(){var e=navigator.userAgent.toLowerCase();return -1!==e.indexOf("msie")||-1!==e.indexOf("trident")||-1!==e.indexOf(" edge/")}()&&(!e||e===function(){var e,t=3,n=document.createElement("div"),r=n.getElementsByTagName("i");do n.innerHTML="<!--[if gt IE "+ ++t+"]><i></i><![endif]-->";while(r[0]);return t>4?t:e}())},t.isLegacyOpera=function(){return!!window.opera}},30459:function(e){"use strict";(e.exports={}
1).forEach=function(e,t){for(var n=0;n<e.length;n++){var r=t(e[n]);if(r)return r}}},41547:function(e,t,n){"use strict";var r=n(53895);e.exports=function(e){var t=(e=e||{}).reporter,n=e.batchProcessor,o=e.stateHandler.getState;if(!t)throw Error("Missing required dependency: reporter.");function i(t){var n=e.important?" !important; ":"; ";return(t.join(n)+n).trim()}function a(e){return o(e).object}return{makeDetectable:function(e,a,s){function l(a,s){var l=i(["display: block","position: absolute","top: 0","left: 0","width: 100%","height: 100%","border: none","padding: 0","margin: 0","opacity: 0","z-index: -1000","pointer-events: none"]),u=!1,c=window.getComputedStyle(a),d=a.offsetWidth,f=a.offsetHeight;function p(){function n(){if("static"===c.position){a.style.setProperty("position","relative",e.important?"important":"");var n=function(t,n,r,o){function i(e){return e.replace(/[^-\d\.]/g,"")}var a=r[o];"auto"!==a&&"0"!==i(a)&&(t.warn("An element that is positioned static has style."+o+"="+a+" which is ignored due to the static positioning. The element will need to be positioned relative, so the style."+o+" will be set to 0. Element: ",n),n.style.setProperty(o,"0",e.important?"important":""))};n(t,a,c,"top"),n(t,a,c,"right"),n(t,a,c,"bottom"),n(t,a,c,"left")}}function i(){function e(t,n){if(!t.contentDocument){var r=o(t);r.checkForObjectDocumentTimeoutId&&window.clearTimeout(r.checkForObjectDocumentTimeoutId),r.checkForObjectDocumentTimeoutId=setTimeout(function(){r.checkForObjectDocumentTimeoutId=0,e(t,n)},100);return}n(t.contentDocument)}u||n();var t=this;e(t,function(e){s(a)})}""!==c.position&&(n(c),u=!0);var d=document.createElement("object");d.style.cssText=l,d.tabIndex=-1,d.type="text/html",d.setAttribute("aria-hidden","true"),d.onload=i,r.isIE()||(d.data="about:blank"),o(a)&&(a.appendChild(d),o(a).object=d,r.isIE()&&(d.data="about:blank"))}o(a).startSize={width:d,height:f},n?n.add(p):p()}s||(s=a,a=e,e=null),(e=e||{}).debug,r.isIE(8)?s(a):l(a,s)},addListener:function(e,t){function n(){t(e)}if(r.isIE(8))o(e).object={proxy:n},e.attachEvent("onresize",n);else{var i=a(e);if(!i)throw Error("Element is not detectable by this strategy.");i.contentDocument.defaultView.addEventListener("resize",n)}},uninstall:function(e){if(o(e)){var t=a(e);t&&(r.isIE(8)?e.detachEvent("onresize",t.proxy):e.removeChild(t),o(e).checkForObjectDocumentTimeoutId&&window.clearTimeout(o(e).checkForObjectDocumentTimeoutId),delete o(e).object)}}}}},91459:function(e,t,n){"use strict";var r=n(30459).forEach;e.exports=function(e){var t=(e=e||{}).reporter,n=e.batchProcessor,o=e.stateHandler.getState;e.stateHandler.hasState;var i=e.idHandler;if(!n)throw Error("Missing required dependency: batchProcessor");if(!t)throw Error("Missing required dependency: reporter.");var a=d(),s="erd_scroll_detection_scrollbar_style",l="erd_scroll_detection_container";function u(e){f(e,s,l)}function c(t){var n=e.important?" !important; ":"; ";return(t.join(n)+n).trim()}function d(){var e=500,t=500,n=document.createElement("div");n.style.cssText=c(["position: absolute","width: "+2*e+"px","height: "+2*t+"px","visibility: hidden","margin: 0","padding: 0"]);var r=document.createElement("div");r.style.cssText=c(["position: absolute","width: "+e+"px","height: "+t+"px","overflow: scroll","visibility: none","top: "+-(3*e)+"px","left: "+-(3*t)+"px","visibility: hidden","margin: 0","padding: 0"]),r.appendChild(n),document.body.insertBefore(r,document.body.firstChild);var o=e-r.clientWidth,i=t-r.clientHeight;return document.body.removeChild(r),{width:o,height:i}}function f(e,t,n){function r(n,r){r=r||function(t){e.head.appendChild(t)};var o=e.createElement("style");return o.innerHTML=n,o.id=t,r(o),o}if(!e.getElementById(t)){var o=n+"_animation",i=n+"_animation_active",a="/* Created by the element-resize-detector library. */\n";r(a+="."+n+" > div::-webkit-scrollbar { "+c(["display: none"])+" }\n\n"+("."+i+" { ")+c(["-webkit-animation-duration: 0.1s","animation-duration: 0.1s","-webkit-animation-name: "+o,"animation-name: "+o])+" }\n@-webkit-keyframes "+o+" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }\n@keyframes "+o+" { 0% { opacity: 1; } 50% { opacity: 0; } 100% { opacity: 1; } }")}}function p(e){e.className+=" "+l+"_animation_active"}function h(e,n,r){if(e.addEventListener)e.addEventListener(n,r);else{if(!e.attachEvent)return t.error("[scroll] Don't know how to add event listeners.");e.attachEvent("on"+n,r)}}function m(e,n,r){if(e.removeEventListener)e.removeEventListener(n,r);else{if(!e.detachEvent)return t.error("[scroll] Don't know how to remove event listeners.");e.detachEvent("on"+n,r)}}function v(e){return o(e).container.childNodes[0].childNodes[0].childNodes[0]}function g(e){return o(e).container.childNodes[0].childNodes[0].childNodes[1]}return u(window.document),{makeDetectable:function(e,s,u){function d(){if(e.debug){var n=Array.prototype.slice.call(arguments);if(n.unshift(i.get(s),"Scroll: "),t.log.apply)t.log.apply(null,n);else for(var r=0;r<n.length;r++)t.log(n[r])}}function f(e){return!function(e){var t=e.getRootNode&&e.getRootNode().contains(e);return e===e.ownerDocument.body||e.ownerDocument.body.contains(e)||t}(e)||null===window.getComputedStyle(e)}function m(e){var t=o(e).container.childNodes[0],n=window.getComputedStyle(t);return!n.width||-1===n.width.indexOf("px")}function y(){var e=window.getComputedStyle(s),t={};return t.position=e.position,t.width=s.offsetWidth,t.height=s.offsetHeight,t.top=e.top,t.right=e.right,t.bottom=e.bottom,t.left=e.left,t.widthCSS=e.width,t.height
1CSS=e.height,t}function b(){var e=y();o(s).startSize={width:e.width,height:e.height},d("Element start size",o(s).startSize)}function w(){o(s).listeners=[]}function x(){if(d("storeStyle invoked."),!o(s)){d("Aborting because element has been uninstalled");return}var e=y();o(s).style=e}function k(e,t,n){o(e).lastWidth=t,o(e).lastHeight=n}function S(e){return v(e).childNodes[0]}function E(){return 2*a.width+1}function C(){return 2*a.height+1}function T(e){return e+10+E()}function O(e){return e+10+C()}function M(e){return 2*e+E()}function I(e){return 2*e+C()}function R(e,t,n){var r=v(e),o=g(e),i=T(t),a=O(n),s=M(t),l=I(n);r.scrollLeft=i,r.scrollTop=a,o.scrollLeft=s,o.scrollTop=l}function P(){var e=o(s).container;if(!e){(e=document.createElement("div")).className=l,e.style.cssText=c(["visibility: hidden","display: inline","width: 0px","height: 0px","z-index: -1","overflow: hidden","margin: 0","padding: 0"]),o(s).container=e,p(e),s.appendChild(e);var t=function(){o(s).onRendered&&o(s).onRendered()};h(e,"animationstart",t),o(s).onAnimationStart=t}return e}function j(){function n(){var n=o(s).style;if("static"===n.position){s.style.setProperty("position","relative",e.important?"important":"");var r=function(e,t,n,r){function o(e){return e.replace(/[^-\d\.]/g,"")}var i=n[r];"auto"!==i&&"0"!==o(i)&&(e.warn("An element that is positioned static has style."+r+"="+i+" which is ignored due to the static positioning. The element will need to be positioned relative, so the style."+r+" will be set to 0. Element: ",t),t.style[r]=0)};r(t,s,n,"top"),r(t,s,n,"right"),r(t,s,n,"bottom"),r(t,s,n,"left")}}function r(e,t,n,r){return["left: "+(e=e?e+"px":"0"),"top: "+(t=t?t+"px":"0"),"right: "+(r=r?r+"px":"0"),"bottom: "+(n=n?n+"px":"0")]}if(d("Injecting elements"),!o(s)){d("Aborting because element has been uninstalled");return}n();var i=o(s).container;i||(i=P());var u=a.width,f=a.height,p=c(["position: absolute","flex: none","overflow: hidden","z-index: -1","visibility: hidden","width: 100%","height: 100%","left: 0px","top: 0px"]),m=c(["position: absolute","flex: none","overflow: hidden","z-index: -1","visibility: hidden"].concat(r(-(1+u),-(1+f),-f,-u))),v=c(["position: absolute","flex: none","overflow: scroll","z-index: -1","visibility: hidden","width: 100%","height: 100%"]),g=c(["position: absolute","flex: none","overflow: scroll","z-index: -1","visibility: hidden","width: 100%","height: 100%"]),y=c(["position: absolute","left: 0","top: 0"]),b=c(["position: absolute","width: 200%","height: 200%"]),w=document.createElement("div"),x=document.createElement("div"),k=document.createElement("div"),S=document.createElement("div"),E=document.createElement("div"),C=document.createElement("div");function T(){var e=o(s);e&&e.onExpand?e.onExpand():d("Aborting expand scroll handler: element has been uninstalled")}function O(){var e=o(s);e&&e.onShrink?e.onShrink():d("Aborting shrink scroll handler: element has been uninstalled")}w.dir="ltr",w.style.cssText=p,w.className=l,x.className=l,x.style.cssText=m,k.style.cssText=v,S.style.cssText=y,E.style.cssText=g,C.style.cssText=b,k.appendChild(S),E.appendChild(C),x.appendChild(k),x.appendChild(E),w.appendChild(x),i.appendChild(w),h(k,"scroll",T),h(E,"scroll",O),o(s).onExpandScroll=T,o(s).onShrinkScroll=O}function _(){function a(t,n,r){var o=S(t),i=T(n),a=O(r);o.style.setProperty("width",i+"px",e.important?"important":""),o.style.setProperty("height",a+"px",e.important?"important":"")}function l(r){var l=s.offsetWidth,c=s.offsetHeight,f=l!==o(s).lastWidth||c!==o(s).lastHeight;d("Storing current size",l,c),k(s,l,c),n.add(0,function(){if(f){if(!o(s)){d("Aborting because element has been uninstalled");return}if(!u()){d("Aborting because element container has not been initialized");return}if(e.debug){var n=s.offsetWidth,r=s.offsetHeight;(n!==l||r!==c)&&t.warn(i.get(s),"Scroll: Size changed before updating detector elements.")}a(s,l,c)}}),n.add(1,function(){if(!o(s)){d("Aborting because element has been uninstalled");return}if(!u()){d("Aborting because element container has not been initialized");return}R(s,l,c)}),f&&r&&n.add(2,function(){if(!o(s)){d("Aborting because element has been uninstalled");return}if(!u()){d("Aborting because element container has not been initialized");return}r()})}function u(){return!!o(s).container}function c(){function e(){return void 0===o(s).lastNotifiedWidth}d("notifyListenersIfNeeded invoked");var t=o(s);return e()&&t.lastWidth===t.startSize.width&&t.lastHeight===t.startSize.height?d("Not notifying: Size is the same as the start size, and there has been no notification yet."):t.lastWidth===t.lastNotifiedWidth&&t.lastHeight===t.lastNotifiedHeight?d("Not notifying: Size already notified"):void(d("Current size not notified, notifying..."),t.lastNotifiedWidth=t.lastWidth,t.lastNotifiedHeight=t.lastHeight,r(o(s).listeners,function(e){e(s)}))}function f(){if(d("startanimation triggered."),m(s)){d("Ignoring since element is still unrendered...");return}d("Element rendered.");var e=v(s),t=g(s);(0===e.scrollLeft||0===e.scrollTop||0===t.scrollLeft||0===t.scrollTop)&&(d("Scrollbars out of sync. Updating detector elements..."),l(c))}function p(){if(d("Scroll detected."),m(s)){d("Scroll event fired while unrendered. Ignoring...");return}l(c)}if(d("registerListenersAndPositionElements invoked."),!o(s)){d("Aborting because element has been uninstalled");return}o(s).onRendered=f,o(s).onExpand=p,o(s).onShrink=p;var h=o(s).style;a(s,h.width,h.height)}function A(){if(d("finalizeDomMutation invoked."),!o(s)){d("Aborting because element has been uninstalled");return}var e=o(s).style;k(s,e.width,e.height),R(s,e.width,e.height)}function D(){u(s)}function N(){d("Installing..."),w(),b(),n.add(0,x),n.add(1,j),n.add(2,_),n.add(3,A),n.add(4,D)}u||(u=s,s=e,e=null),e=e||{},d("Making detectable..."),f(s)?(d("Element is detached"),P(),d("Waiting until element is attached..."),o(s).onRendered=function(){d("Element is now attached"),N()}):N()},addListener:function(e,t){if(!o(e).listeners.push)throw Error("Cannot add listener to an element that is not detectable.");o(e).listeners.push(t)},uninstall:function(e){var t=o(e);t&&(t.onExpandScroll&&m(v(e),"scroll",t.onExpandScroll),t.onShrinkScroll&&m(g(e),"scroll",t.onShrinkScroll),t.onAnimationStart&&m(t.container,"animationstart",t.onAnimationStart),t.container&&e.removeChild(t.container))},initDocument:u}}},86025:function(e,t,n){"use strict";var r=n(30459).forEach,o=n(75432),i=n(66450),a=n(94418),s=n(93805),l=n(24105),u=n(53895),c=n(9818),d=n(44323),f=n(41547),p=n(91459);function h(e){return Array.isArray(e)||void 0!==e.length}function m(e){if(Array.isArray(e))return e;var t=[];return r(e,function(e){t.push(e)}),t}function v(e){return e&&1===e.nodeType}function g(e,t,n){var r=e[t];return null==r&&void 0!==n?n:r}e.exports=function(e){if((e=e||{}).idHandler)t={get:function(t){return e.idHandler.get(t,!0)},set:e.idHandler.set};else{var t,n;t=s({idGenerator:a(),stateHandler:d})}var y=e.reporter;y||(y=l(!1===y));var b=g(e,"batchProcessor",c({reporter:y})),w={};w.callOnAdd=!!g(e,"callOnAdd",!0),w.debug=!!g(e,"debug",!1);var x=i(t),k=o({stateHandler:d}),S=g(e,"strategy","object"),E=g(e,"important",!1),C={reporter:y,batchProcessor:b,stateHandler:d,idHandler:t,important:E};if("scroll"===S&&(u.isLegacyOpera()?(y.warn("Scroll strategy is not supported on legacy Opera. Changing to object strategy."),S="object"):u.isIE(9)&&(y.warn("Scroll strategy is not supported on IE9. Changing to object strategy."),S="object")),"scroll"===S)n=p(C);else if("object"===S)n=f(C);else throw Error("Invalid strategy name: "+S);var T={};function O(e){if(!e)return y.error("At least one element is required.");
1if(v(e))e=[e];else{if(!h(e))return y.error("Invalid arguments. Must be a DOM element or a collection of DOM elements.");e=m(e)}r(e,function(e){x.removeAllListeners(e),n.uninstall(e),d.cleanState(e)})}function M(e){n.initDocument&&n.initDocument(e)}return{listenTo:function(e,o,i){function a(e){r(x.get(e),function(t){t(e)})}function s(e,t,n){x.add(t,n),e&&n(t)}if(i||(i=o,o=e,e={}),!o)throw Error("At least one element required.");if(!i)throw Error("Listener required.");if(v(o))o=[o];else{if(!h(o))return y.error("Invalid arguments. Must be a DOM element or a collection of DOM elements.");o=m(o)}var l=0,u=g(e,"callOnAdd",w.callOnAdd),c=g(e,"onReady",function(){}),f=g(e,"debug",w.debug);r(o,function(e){d.getState(e)||(d.initState(e),t.set(e));var p=t.get(e);if(f&&y.log("Attaching listener to element",p,e),!k.isDetectable(e)){if(f&&y.log(p,"Not detectable."),k.isBusy(e)){f&&y.log(p,"System busy making it detectable"),s(u,e,i),T[p]=T[p]||[],T[p].push(function(){++l===o.length&&c()});return}return f&&y.log(p,"Making detectable..."),k.markBusy(e,!0),n.makeDetectable({debug:f,important:E},e,function(e){if(f&&y.log(p,"onElementDetectable"),d.getState(e)){k.markAsDetectable(e),k.markBusy(e,!1),n.addListener(e,a),s(u,e,i);var t=d.getState(e);if(t&&t.startSize){var h=e.offsetWidth,m=e.offsetHeight;(t.startSize.width!==h||t.startSize.height!==m)&&a(e)}T[p]&&r(T[p],function(e){e()})}else f&&y.log(p,"Element uninstalled before being detectable.");delete T[p],++l===o.length&&c()})}f&&y.log(p,"Already detecable, adding listener."),s(u,e,i),l++}),l===o.length&&c()},removeListener:x.removeListener,removeAllListeners:x.removeAllListeners,uninstall:O,initDocument:M}}},75432:function(e){"use strict";e.exports=function(e){var t=e.stateHandler.getState;return{isDetectable:function(e){var n=t(e);return n&&!!n.isDetectable},markAsDetectable:function(e){t(e).isDetectable=!0},isBusy:function(e){return!!t(e).busy},markBusy:function(e,n){t(e).busy=!!n}}}},94418:function(e){"use strict";e.exports=function(){var e=1;return{generate:function(){return e++}}}},93805:function(e){"use strict";e.exports=function(e){var t=e.idGenerator,n=e.stateHandler.getState;return{get:function(e){var t=n(e);return t&&void 0!==t.id?t.id:null},set:function(e){var r=n(e);if(!r)throw Error("setId required the element to have a resize detection state.");var o=t.generate();return r.id=o,o}}}},66450:function(e){"use strict";e.exports=function(e){var t={};function n(n){var r=e.get(n);return void 0===r?[]:t[r]||[]}function r(e,t){for(var r=n(e),o=0,i=r.length;o<i;++o)if(r[o]===t){r.splice(o,1);break}}function o(e){var t=n(e);t&&(t.length=0)}return{get:n,add:function(n,r){var o=e.get(n);t[o]||(t[o]=[]),t[o].push(r)},removeListener:r,removeAllListeners:o}}},24105:function(e){"use strict";e.exports=function(e){function t(){}var n={log:t,warn:t,error:t};if(!e&&window.console){var r=function(e,t){e[t]=function(){var e=console[t];if(e.apply)e.apply(console,arguments);else for(var n=0;n<arguments.length;n++)e(arguments[n])}};r(n,"log"),r(n,"warn"),r(n,"error")}return n}},44323:function(e){"use strict";var t="_erd";function n(e){return e[t]={},r(e)}function r(e){return e[t]}function o(e){delete e[t]}e.exports={initState:n,getState:r,cleanState:o}},65876:function(e,t,n){var r=n(84082),o=n(67159).each;function i(e,t){this.query=e,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(e);var n=this;this.listener=function(e){n.mql=e.currentTarget||e,n.assess()},this.mql.addListener(this.listener)}i.prototype={constuctor:i,addHandler:function(e){var t=new r(e);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(e){var t=this.handlers;o(t,function(n,r){if(n.equals(e))return n.destroy(),!t.splice(r,1)})},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){o(this.handlers,function(e){e.destroy()}),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var e=this.matches()?"on":"off";o(this.handlers,function(t){t[e]()})}},e.exports=i},78781:function(e,t,n){var r=n(65876),o=n(67159),i=o.each,a=o.isFunction,s=o.isArray;
1function l(){if(!window.matchMedia)throw Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}l.prototype={constructor:l,register:function(e,t,n){var o=this.queries,l=n&&this.browserIsIncapable;return o[e]||(o[e]=new r(e,l)),a(t)&&(t={match:t}),s(t)||(t=[t]),i(t,function(t){a(t)&&(t={match:t}),o[e].addHandler(t)}),this},unregister:function(e,t){var n=this.queries[e];return n&&(t?n.removeHandler(t):(n.clear(),delete this.queries[e])),this}},e.exports=l},84082:function(e){function t(e){this.options=e,e.deferSetup||this.setup()}t.prototype={constructor:t,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){this.initialised||this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},e.exports=t},67159:function(e){function t(e,t){for(var n=0,r=e.length;n<r&&!1!==t(e[n],n);n++);}function n(e){return"[object Array]"===Object.prototype.toString.apply(e)}function r(e){return"function"==typeof e}e.exports={isFunction:r,isArray:n,each:t}},65476:function(e,t,n){var r=n(78781);e.exports=new r},24673:function(e,t,n){var r,o;!function(i,a){void 0!==(o="function"==typeof(r=a)?r.call(t,n,t,e):r)&&(e.exports=o)}("undefined"!=typeof window&&window,function(){"use strict";function e(){}var t=e.prototype;return t.on=function(e,t){if(e&&t){var n=this._events=this._events||{},r=n[e]=n[e]||[];return -1==r.indexOf(t)&&r.push(t),this}},t.once=function(e,t){if(e&&t){this.on(e,t);var n=this._onceEvents=this._onceEvents||{};return(n[e]=n[e]||{})[t]=!0,this}},t.off=function(e,t){var n=this._events&&this._events[e];if(n&&n.length){var r=n.indexOf(t);return -1!=r&&n.splice(r,1),this}},t.emitEvent=function(e,t){var n=this._events&&this._events[e];if(n&&n.length){n=n.slice(0),t=t||[];for(var r=this._onceEvents&&this._onceEvents[e],o=0;o<n.length;o++){var i=n[o];r&&r[i]&&(this.off(e,i),delete r[i]),i.apply(this,t)}return this}},t.allOff=function(){delete this._events,delete this._onceEvents},e})},72945:function(e,t,n){var r;!function(o,i){void 0!==(r=(function(e){return i(o,e)}).apply(t,[n(38574)]))&&(e.exports=r)}(window,function(e,t){"use strict";var n={};n.extend=function(e,t){for(var n in t)e[n]=t[n];return e},n.modulo=function(e,t){return(e%t+t)%t};var r=Array.prototype.slice;n.makeArray=function(e){return Array.isArray(e)?e:null==e?[]:"object"==typeof e&&"number"==typeof e.length?r.call(e):[e]},n.removeFrom=function(e,t){var n=e.indexOf(t);-1!=n&&e.splice(n,1)},n.getParent=function(e,n){for(;e.parentNode&&e!=document.body;)if(t(e=e.parentNode,n))return e},n.getQueryElement=function(e){return"string"==typeof e?document.querySelector(e):e},n.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},n.filterFindElements=function(e,r){e=n.makeArray(e);var o=[];return e.forEach(function(e){if(e instanceof HTMLElement){if(!r){o.push(e);return}t(e,r)&&o.push(e);for(var n=e.querySelectorAll(r),i=0;i<n.length;i++)o.push(n[i])}}),o},n.debounceMethod=function(e,t,n){n=n||100;var r=e.prototype[t],o=t+"Timeout";e.prototype[t]=function(){clearTimeout(this[o]);var e=arguments,t=this;this[o]=setTimeout(function(){r.apply(t,e),delete t[o]},n)}},n.docReady=function(e){var t=document.readyState;"complete"==t||"interactive"==t?setTimeout(e):document.addEventListener("DOMContentLoaded",e)},n.toDashed=function(e){return e.replace(/(.)([A-Z])/g,function(e,t,n){return t+"-"+n}).toLowerCase()};var o=e.console;return n.htmlInit=function(t,r){n.docReady(function(){var i=n.toDashed(r),a="data-"+i,s=document.querySelectorAll("["+a+"]"),l=document.querySelectorAll(".js-"+i),u=n.makeArray(s).concat(n.makeArray(l)),c=a+"-options",d=e.jQuery;u.forEach(function(e){var n,i=e.getAttribute(a)||e.getAttribute(c);try{n=i&&JSON.parse(i)}catch(t){o&&o.error("Error parsing "+a+" on "+e.className+": "+t);return}var s=new t(e,n);d&&d.data(e,r,s)})})},n})},95879:function(e,t,n){var r,o;!function(i,a){void 0!==(o="function"==typeof(r=a)?r.call(t,n,t,e):r)&&(e.exports=o)}(window,function(){"use strict";function e(e){var t=parseFloat(e);return -1==e.indexOf("%")&&!isNaN(t)&&t}function t(){}var n,r="undefined"==typeof console?t:function(e){console.error(e)},o=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],i=o.length;function a(){for(var e={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},t=0;t<i;t++)e[o[t]]=0;return e}function s(e){var t=getComputedStyle(e);return t||r("Style returned "+t+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),t}var l=!1;function u(){if(!l){l=!0;var t=document.createElement("div");t.style.width="200px",t.style.padding="1px 2px 3px 4px",t.style.borderStyle="solid",t.style.borderWidth="1px 2px 3px 4px",t.style.boxSizing="border-box";var r=document.body||document.documentElement;r.appendChild(t),n=200==Math.round(e(s(t).width)),c.isBoxSizeOuter=n,r.removeChild(t)}}function c(t){if(u(),"string"==typeof t&&(t=document.querySelector(t)),t&&"object"==typeof t&&t.nodeType){var r=s(t);if("none"==r.display)return a();var l={};l.width=t.offsetWidth,l.height=t.offsetHeight;for(var c=l.isBorderBox="border-box"==r.boxSizing,d=0;d<i;d++){var f=o[d],p=parseFloat(r[f]);l[f]=isNaN(p)?0:p}var h=l.paddingLeft+l.paddingRight,m=l.paddingTop+l.paddingBottom,v=l.marginLeft+l.marginRight,g=l.marginTop+l.marginBottom,y=l.borderLeftWidth+l.borderRightWidth,b=l.borderTopWidth+l.borderBottomWidth,w=c&&n,x=e(r.width);!1!==x&&(l.width=x+(w?0:h+y));var k=e(r.height);return!1!==k&&(l.height=k+(w?0:m+b)),l.innerWidth=l.width-(h+y),l.innerHe
1ight=l.height-(m+b),l.outerWidth=l.width+v,l.outerHeight=l.height+g,l}}return c})},26218:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CARRIAGE_RETURN_PLACEHOLDER_REGEX=t.CARRIAGE_RETURN_PLACEHOLDER=t.CARRIAGE_RETURN_REGEX=t.CARRIAGE_RETURN=t.CASE_SENSITIVE_TAG_NAMES_MAP=t.CASE_SENSITIVE_TAG_NAMES=void 0,t.CASE_SENSITIVE_TAG_NAMES=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"],t.CASE_SENSITIVE_TAG_NAMES_MAP=t.CASE_SENSITIVE_TAG_NAMES.reduce(function(e,t){return e[t.toLowerCase()]=t,e},{}),t.CARRIAGE_RETURN="\r",t.CARRIAGE_RETURN_REGEX=RegExp(t.CARRIAGE_RETURN,"g"),t.CARRIAGE_RETURN_PLACEHOLDER="__HTML_DOM_PARSER_CARRIAGE_RETURN_PLACEHOLDER_".concat(Date.now(),"__"),t.CARRIAGE_RETURN_PLACEHOLDER_REGEX=RegExp(t.CARRIAGE_RETURN_PLACEHOLDER,"g")},60448:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=y;var r,o=n(77394),i="html",a="head",s="body",l=/<([a-zA-Z]+[0-9]?)/,u=/<head[^]*>/i,c=/<body[^]*>/i,d=function(e,t){throw Error("This browser does not support `document.implementation.createHTMLDocument`")},f=function(e,t){throw Error("This browser does not support `DOMParser.prototype.parseFromString`")},p="object"==typeof window&&window.DOMParser;if("function"==typeof p){var h=new p,m="text/html";d=f=function(e,t){return t&&(e="<".concat(t,">").concat(e,"</").concat(t,">")),h.parseFromString(e,m)}}if("object"==typeof document&&document.implementation){var v=document.implementation.createHTMLDocument();d=function(e,t){if(t){var n=v.documentElement.querySelector(t);return n&&(n.innerHTML=e),v}return v.documentElement.innerHTML=e,v}}var g="object"==typeof document&&document.createElement("template");function y(e){var t,n,p=(e=(0,o.escapeSpecialCharacters)(e)).match(l),h=p&&p[1]?p[1].toLowerCase():"";switch(h){case i:var m=f(e);if(!u.test(e)){var v=m.querySelector(a);null===(t=null==v?void 0:v.parentNode)||void 0===t||t.removeChild(v)}if(!c.test(e)){var v=m.querySelector(s);null===(n=null==v?void 0:v.parentNode)||void 0===n||n.removeChild(v)}return m.querySelectorAll(i);case a:case s:var g=d(e).querySelectorAll(h);if(c.test(e)&&u.test(e))return g[0].parentNode.childNodes;return g;default:if(r)return r(e);var v=d(e,s).querySelector(s);return v.childNodes}}g&&g.content&&(r=function(e){return g.innerHTML=e,g.content.childNodes})},14497:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var o=r(n(60448)),i=n(77394),a=/<(![a-zA-Z\s]+)>/;function s(e){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];var t=e.match(a),n=t?t[1]:void 0;return(0,i.formatDOM)((0,o.default)(e),null,n)}},77394:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatAttributes=a,t.escapeSpecialCharacters=l,t.revertEscapedCharacters=u,t.formatDOM=c;var r=n(88795),o=n(26218);function i(e){return o.CASE_SENSITIVE_TAG_NAMES_MAP[e]}function a(e){for(var t={},n=0,r=e.length;n<r;n++){var o=e[n];t[o.name]=o.value}return t}function s(e){return i(e=e.toLowerCase())||e}function l(e){return e.replace(o.CARRIAGE_RETURN_REGEX,o.CARRIAGE_RETURN_PLACEHOLDER)}function u(e){return e.replace(o.CARRIAGE_RETURN_PLACEHOLDER_REGEX,o.CARRIAGE_RETURN)}function c(e,t,n){void 0===t&&(t=null);for(var o,i=[],l=0,d=e.length;l<d;l++){var f=e[l];switch(f.nodeType){case 1:var p=s(f.nodeName);(o=new r.Element(p,a(f.attributes))).children=c("template"===p?f.content.childNodes:f.childNodes,o);break;case 3:o=new r.Text(u(f.nodeValue));break;case 8:o=new r.Comment(f.nodeValue);break;default:continue}var h=i[l-1]||null;h&&(h.next=o),o.parent=t,o.prev=h,o.next=null,i.push(o)}return n&&((o=new r.ProcessingInstruction(n.substring(0,n.indexOf(" ")).toLowerCase(),n)).next=i[0]||null,o.parent=t,i.unshift(o),i[1]&&(i[1].prev=i[0])),i}},617:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var r=n(47843),o=n(11572),i=["checked","value"],a=["input","select","textarea"],s={reset:!0,submit:!0};function l(e,t){void 0===e&&(e={});var n={},l=!!(e.type&&s[e.type]);for(var c in e){var d=e[c];if((0,r.isCustomAttribute)(c)){n[c]=d;continue}var f=c.toLowerCase(),p=u(f);if(p){var h=(0,r.getPropertyInfo)(p);switch(i.includes(p)&&a.includes(t)&&!l&&(p=u("default"+f)),n[p]=d,h&&h.type){case r.BOOLEAN:n[p]=!0;break;case r.OVERLOADED_BOOLEAN:""===d&&(n[p]=!0)}continue}o.PRESERVE_CUSTOM_ATTRIBUTES&&(n[c]=d)}return(0,o.setStyleProp)(e.style,n),n}function u(e){return r.possibleStandardNames[e]}},95380:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var o=n(8247),i=r(n(617)),a=n(11572),s={cloneElement:o.cloneElement,createElement:o.createElement,isValidElement:o.isValidElement};function l(e,t){void 0===t&&(t={});for(var n=[],r="function"==typeof t.replace,o=t.transform||a.returnFirstArg,c=t.library||s,d=c.cloneElement,f=c.createElement,p=c.isValidElement,h=e.length,m=0;m<h;m++){var v=e[m];if(r){var g=t.replace(v,m);if(p(g)){h>1&&(g=d(g,{key:g.key||m})),n.push(o(g,v,m));continue}}if("text"===v.type){var y=!v.data.trim().length;if(y&&v.parent&&!(0,a.canTextBeChildOfNode)(v.parent)||t.trim&&y)continue;n.push(o(v.data,v,m));continue}var b=v,w={};u(b)?((0,a.setStyleProp)(b.attribs.style,b.attribs),w=b.attribs):b.attribs&&(w=(0,i.default)(b.attribs,b.name));var x=void 0;switch(v.type){case"script":case"style":v.children[0]&&(w.dangerouslySetInnerHTML={__html:v.children[0].data});break;case"tag":"textarea"===v.name&&v.children[0]?w.defaultValue=v.children[0].data:v.children&&v.children.length&&(x=l(v.children,t));break;default:continue}h>1&&(w.key=m),n.push(o(f(v.name,w,x),v,m))}return 1===n.length?n[0]:n}function u(e){return a.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===e.type&&(0,a.isCustomComponent)(e.name,e.attribs)}},96682:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.htmlToDOM=t.domToReact=t.attributesToProps=t.Text=t.ProcessingInstruction=t.Element=t.Comment=void 0,t.default=u;var o=r(n(14497));t.htmlToDOM=o.default;var i=r(n(617));t.attributesToProps=i.default;var a=r(n(95380));t.domToReact=a.default;var s=n(88795);Object.defineProperty(t,"Comment",{enumerable:!0,get:function(){return s.Comment}}),Object.defineProperty(t,"Element",{enumerable:!0,get:function(){return s.Element}}),Object.defineProperty(t,"ProcessingInstruction",{enumerable:!0,get:function(){return s.ProcessingInstruction}}),Object.defineProperty(t,"Text",{enumerable:!0,get:function(){return s.Text}});var l={lowerCaseAttributeNames:!1};function u(e,t){if("string"!=typeof e)throw TypeError("First argument must be a string");return e?(0,a.default)((0,o.default)(e,(null==t?void 0:t.htmlparser2)||l),t):[]}},11572:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.returnFirstArg=t.canTextBeChildOfNode=t.ELEMENTS_WITH_NO_TEXT_CHILDREN=t.PRESERVE_CUSTOM_ATTRIBUTES=void 0,t.isCustomComponent=s,t.setStyleProp=u;var o=n(8247),i=r(n(41662)),a=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]);function s(e,t){return e.includes("-")?!a.has(e):!!(t&&"string"==typeof t.is)}var l={reactCompat:!0};function u(e,t){if("string"==typeof e){if(!e.trim()){t.style={};return}try{t.style=(0,i.default)(e,l)}catch(e){t.style={}}}}t.PRESERVE_CUSTOM_ATTRIBUTES=Number(o.version.split(".")[0])>=16,t.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);var c=function(e){return!t.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(e.name)};t.canTextBeChildOfNode=c;var d=function(e){return e};t.returnFirstArg=d},35209:function(e,t,n){var r;!function(o,i){"use strict";void 0!==(r=(function(e){return i(o,e)}).apply(t,[n(24673)]))&&(e.exports=r)}("undefined"!=typeof window?window:this,function(e,t){"use strict";var n=e.jQuery,r=e.console;function o(e,t){for(var n in t)e[n]=t[n];return e}var i=Array.prototype.slice;function a(e){return Array.isArray(e)?e:"object"==typeof e&&"number"==typeof e.length?
1i.call(e):[e]}function s(e,t,i){if(!(this instanceof s))return new s(e,t,i);var l=e;if("string"==typeof e&&(l=document.querySelectorAll(e)),!l){r.error("Bad element for imagesLoaded "+(l||e));return}this.elements=a(l),this.options=o({},this.options),"function"==typeof t?i=t:o(this.options,t),i&&this.on("always",i),this.getImages(),n&&(this.jqDeferred=new n.Deferred),setTimeout(this.check.bind(this))}s.prototype=Object.create(t.prototype),s.prototype.options={},s.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},s.prototype.addElementImages=function(e){"IMG"==e.nodeName&&this.addImage(e),!0===this.options.background&&this.addElementBackgroundImages(e);var t=e.nodeType;if(t&&l[t]){for(var n=e.querySelectorAll("img"),r=0;r<n.length;r++){var o=n[r];this.addImage(o)}if("string"==typeof this.options.background){var i=e.querySelectorAll(this.options.background);for(r=0;r<i.length;r++){var a=i[r];this.addElementBackgroundImages(a)}}}};var l={1:!0,9:!0,11:!0};function u(e){this.img=e}function c(e,t){this.url=e,this.element=t,this.img=new Image}return s.prototype.addElementBackgroundImages=function(e){var t=getComputedStyle(e);if(t)for(var n=/url\((['"])?(.*?)\1\)/gi,r=n.exec(t.backgroundImage);null!==r;){var o=r&&r[2];o&&this.addBackground(o,e),r=n.exec(t.backgroundImage)}},s.prototype.addImage=function(e){var t=new u(e);this.images.push(t)},s.prototype.addBackground=function(e,t){var n=new c(e,t);this.images.push(n)},s.prototype.check=function(){var e=this;if(this.progressedCount=0,this.hasAnyBroken=!1,!this.images.length){this.complete();return}function t(t,n,r){setTimeout(function(){e.progress(t,n,r)})}this.images.forEach(function(e){e.once("progress",t),e.check()})},s.prototype.progress=function(e,t,n){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded,this.emitEvent("progress",[this,e,t]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,e),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&r&&r.log("progress: "+n,e,t)},s.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(e,[this]),this.emitEvent("always",[this]),this.jqDeferred){var t=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[t](this)}},u.prototype=Object.create(t.prototype),u.prototype.check=function(){if(this.getIsImageComplete()){this.confirm(0!==this.img.naturalWidth,"naturalWidth");return}this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.src},u.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},u.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.img,t])},u.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},u.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},u.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},u.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},c.prototype=Object.create(u.prototype),c.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},c.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},c.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.element,t])},s.makeJQueryPlugin=function(t){(t=t||e.jQuery)&&((n=t).fn.imagesLoaded=function(e,t){return new s(this,e,t).jqDeferred.promise(n(this))})},s.makeJQueryPlugin(),s})},99870:function(e){var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;
1\s]*/,l=/^\s+|\s+$/g,u="\n",c="/",d="*",f="",p="comment",h="declaration";function m(e){return e?e.replace(l,f):f}e.exports=function(e,l){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];l=l||{};var v=1,g=1;function y(e){var t=e.match(n);t&&(v+=t.length);var r=e.lastIndexOf(u);g=~r?e.length-r:g+e.length}function b(){var e={line:v,column:g};return function(t){return t.position=new w(e),E(),t}}function w(e){this.start=e,this.end={line:v,column:g},this.source=l.source}w.prototype.content=e;var x=[];function k(t){var n=Error(l.source+":"+v+":"+g+": "+t);if(n.reason=t,n.filename=l.source,n.line=v,n.column=g,n.source=e,l.silent)x.push(n);else throw n}function S(t){var n=t.exec(e);if(n){var r=n[0];return y(r),e=e.slice(r.length),n}}function E(){S(r)}function C(e){var t;for(e=e||[];t=T();)!1!==t&&e.push(t);return e}function T(){var t=b();if(c==e.charAt(0)&&d==e.charAt(1)){for(var n=2;f!=e.charAt(n)&&(d!=e.charAt(n)||c!=e.charAt(n+1));)++n;if(n+=2,f===e.charAt(n-1))return k("End of comment missing");var r=e.slice(2,n-2);return g+=2,y(r),e=e.slice(n),g+=2,t({type:p,comment:r})}}function O(){var e=b(),n=S(o);if(n){if(T(),!S(i))return k("property missing ':'");var r=S(a),l=e({type:h,property:m(n[0].replace(t,f)),value:r?m(r[0].replace(t,f)):f});return S(s),l}}function M(){var e,t=[];for(C(t);e=O();)!1!==e&&(t.push(e),C(t));return t}return E(),M()}},53746:function(e,t,n){var r=n(14612),o=function(e){return/[height|width]$/.test(e)},i=function(e){var t="",n=Object.keys(e);return n.forEach(function(i,a){var s=e[i];o(i=r(i))&&"number"==typeof s&&(s+="px"),!0===s?t+=i:!1===s?t+="not "+i:t+="("+i+": "+s+")",a<n.length-1&&(t+=" and ")}),t},a=function(e){var t="";return"string"==typeof e?e:e instanceof Array?(e.forEach(function(n,r){t+=i(n),r<e.length-1&&(t+=", ")}),t):i(e)};e.exports=a},91137:function(e,t,n){var r="Expected a function",o=0/0,i="[object Symbol]",a=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt,d="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,f="object"==typeof self&&self&&self.Object===Object&&self,p=d||f||Function("return this")(),h=Object.prototype.toString,m=Math.max,v=Math.min,g=function(){return p.Date.now()};function y(e,t,n){var o,i,a,s,l,u,c=0,d=!1,f=!1,p=!0;if("function"!=typeof e)throw TypeError(r);function h(t){var n=o,r=i;return o=i=void 0,c=t,s=e.apply(r,n)}function y(e){return c=e,l=setTimeout(S,t),d?h(e):s}function w(e){var n=e-u,r=e-c,o=t-n;return f?v(o,a-r):o}function x(e){var n=e-u,r=e-c;return void 0===u||n>=t||n<0||f&&r>=a}function S(){var e=g();if(x(e))return E(e);l=setTimeout(S,w(e))}function E(e){return(l=void 0,p&&o)?h(e):(o=i=void 0,s)}function C(){void 0!==l&&clearTimeout(l),c=0,o=u=i=l=void 0}function T(){return void 0===l?s:E(g())}function O(){var e=g(),n=x(e);if(o=arguments,i=this,u=e,n){if(void 0===l)return y(u);if(f)return l=setTimeout(S,t),h(u)}return void 0===l&&(l=setTimeout(S,t)),s}return t=k(t)||0,b(n)&&(d=!!n.leading,a=(f="maxWait"in n)?m(k(n.maxWait)||0,t):a,p="trailing"in n?!!n.trailing:p),O.cancel=C,O.flush=T,O}function b(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function w(e){return!!e&&"object"==typeof e}function x(e){return"symbol"==typeof e||w(e)&&h.call(e)==i}function k(e){if("number"==typeof e)return e;if(x(e))return o;if(b(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=b(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(a,"");var n=l.test(e);return n||u.test(e)?c(e.slice(2),n?2:8):s.test(e)?o:+e}e.exports=y},99170:function(e,t,n){var r=n(76963)(n(49168),"DataView");e.exports=r},43355:function(e,t,n){var r=n(80110),o=n(77859),i=n(6071),a=n(5019),s=n(51236);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},67931:function(e,t,n){var r=n(96920),o=n(37938),i=n(44236),a=n(49001),s=n(92091);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},45715:function(e,t,n){var r=n(76963)(n(49168),"Map");e.exports=r},13210:function(e,t,n){var r=n(43573),o=n(11660),i=n(8781),a=n(69584),s=n(28601);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},95619:function(e,t,n){var r=n(76963)(n(49168),"Promise");e.exports=r},77200:function(e,t,n){var r=n(76963)(n(49168),"Set");e.exports=r},69675:function(e,t,n){var r=n(67931),o=n(67922),i=n(14139),a=n(8995),s=n(43492),l=n(198
164);function u(e){var t=this.__data__=new r(e);this.size=t.size}u.prototype.clear=o,u.prototype.delete=i,u.prototype.get=a,u.prototype.has=s,u.prototype.set=l,e.exports=u},33662:function(e,t,n){var r=n(49168).Symbol;e.exports=r},95343:function(e,t,n){var r=n(49168).Uint8Array;e.exports=r},67639:function(e,t,n){var r=n(76963)(n(49168),"WeakMap");e.exports=r},35962:function(e){function t(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}e.exports=t},78289:function(e){function t(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}e.exports=t},82558:function(e){function t(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}e.exports=t},73663:function(e,t,n){var r=n(74275),o=n(16778),i=n(63644),a=n(30699),s=n(15278),l=n(80029),u=Object.prototype.hasOwnProperty;function c(e,t){var n=i(e),c=!n&&o(e),d=!n&&!c&&a(e),f=!n&&!c&&!d&&l(e),p=n||c||d||f,h=p?r(e.length,String):[],m=h.length;for(var v in e)(t||u.call(e,v))&&!(p&&("length"==v||d&&("offset"==v||"parent"==v)||f&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||s(v,m)))&&h.push(v);return h}e.exports=c},46018:function(e){function t(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}e.exports=t},30095:function(e){function t(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}e.exports=t},76531:function(e,t,n){var r=n(26593),o=n(85637),i=Object.prototype.hasOwnProperty;function a(e,t,n){var a=e[t];i.call(e,t)&&o(a,n)&&(void 0!==n||t in e)||r(e,t,n)}e.exports=a},17805:function(e,t,n){var r=n(85637);function o(e,t){for(var n=e.length;n--;
1)if(r(e[n][0],t))return n;return -1}e.exports=o},15837:function(e,t,n){var r=n(88717),o=n(83073);function i(e,t){return e&&r(t,o(t),e)}e.exports=i},30346:function(e,t,n){var r=n(88717),o=n(66041);function i(e,t){return e&&r(t,o(t),e)}e.exports=i},26593:function(e,t,n){var r=n(97059);function o(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}e.exports=o},20256:function(e,t,n){var r=n(69675),o=n(78289),i=n(76531),a=n(15837),s=n(30346),l=n(16825),u=n(41149),c=n(63876),d=n(67612),f=n(95815),p=n(99304),h=n(8573),m=n(81315),v=n(61963),g=n(18385),y=n(63644),b=n(30699),w=n(46331),x=n(39800),k=n(83225),S=n(83073),E=n(66041),C=1,T=2,O=4,M="[object Arguments]",I="[object Array]",R="[object Boolean]",P="[object Date]",j="[object Error]",_="[object Function]",A="[object GeneratorFunction]",D="[object Map]",N="[object Number]",L="[object Object]",W="[object RegExp]",F="[object Set]",B="[object String]",z="[object Symbol]",H="[object WeakMap]",V="[object ArrayBuffer]",U="[object DataView]",q="[object Float32Array]",Y="[object Float64Array]",$="[object Int8Array]",K="[object Int16Array]",G="[object Int32Array]",Z="[object Uint8Array]",X="[object Uint8ClampedArray]",Q="[object Uint16Array]",J="[object Uint32Array]",ee={};function et(e,t,n,I,R,P){var j,D=t&C,N=t&T,W=t&O;if(n&&(j=R?n(e,I,R,P):n(e)),void 0!==j)return j;if(!x(e))return e;var F=y(e);if(F){if(j=m(e),!D)return u(e,j)}else{var B=h(e),z=B==_||B==A;if(b(e))return l(e,D);if(B==L||B==M||z&&!R){if(j=N||z?{}:g(e),!D)return N?d(e,s(j,e)):c(e,a(j,e))}else{if(!ee[B])return R?e:{};j=v(e,B,D)}}P||(P=new r);var H=P.get(e);if(H)return H;P.set(e,j),k(e)?e.forEach(function(r){j.add(et(r,t,n,r,e,P))}):w(e)&&e.forEach(function(r,o){j.set(o,et(r,t,n,o,e,P))});var V=W?N?p:f:N?E:S,U=F?void 0:V(e);return o(U||e,function(r,o){U&&(r=e[o=r]),i(j,o,et(r,t,n,o,e,P))}),j}ee[M]=ee[I]=ee[V]=ee[U]=ee[R]=ee[P]=ee[q]=ee[Y]=ee[$]=ee[K]=ee[G]=ee[D]=ee[N]=ee[L]=ee[W]=ee[F]=ee[B]=ee[z]=ee[Z]=ee[X]=ee[Q]=ee[J]=!0,ee[j]=ee[_]=ee[H]=!1,e.exports=et},46120:function(e,t,n){var r=n(39800),o=Object.create,i=function(){function e(){}return function(t){if(!r(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=i},83724:function(e,t,n){var r=n(30095),o=n(24183);function i(e,t,n,a,s){var l=-1,u=e.length;for(n||(n=o),s||(s=[]);++l<u;){var c=e[l];t>0&&n(c)?t>1?i(c,t-1,n,a,s):r(s,c):a||(s[s.length]=c)}return s}e.exports=i},61069:function(e,t,n){var r=n(97956),o=n(8341);function i(e,t){t=r(t,e);for(var n=0,i=t.length;null!=e&&n<i;)e=e[o(t[n++])];return n&&n==i?e:void 0}e.exports=i},50368:function(e,t,n){var r=n(30095),o=n(63644);function i(e,t,n){var i=t(e);return o(e)?i:r(i,n(e))}e.exports=i},52960:function(e,t,n){var r=n(33662),o=n(24014),i=n(84471),a="[object Null]",s="[object Undefined]",l=r?r.toStringTag:void 0;function u(e){return null==e?void 0===e?s:a:l&&l in Object(e)?o(e):i(e)}e.exports=u},37455:function(e,t,n){var r=n(52960),o=n(16453),i="[object Arguments]";function a(e){return o(e)&&r(e)==i}e.exports=a},82283:function(e,t,n){var r=n(8573),o=n(16453),i="[object Map]";function a(e){return o(e)&&r(e)==i}e.exports=a},99462:function(e,t,n){var r=n(84888),o=n(78957),i=n(39800),a=n(89673),s=/[\\^$.*+?()[\]{}|]/g,l=/^\[object .+?Constructor\]$/,u=Object.prototype,c=Function.prototype.toString,d=u.hasOwnProperty,f=RegExp("^"+c.call(d).replace(s,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function p(e){return!(!i(e)||o(e))&&(r(e)?f:l).test(a(e))}e.exports=p},49479:function(e,t,n){var r=n(8573),o=n(16453),i="[object Set]";function a(e){return o(e)&&r(e)==i}e.exports=a},96892:function(e,t,n){var r=n(52960),o=n(89848),i=n(16453),a="[object Arguments]",s="[object Array]",l="[object Boolean]",u="[object Date]",c="[object Error]",d="[object Function]",f="[object Map]",p="[object Number]",h="[object Object]",m="[object RegExp]",v="[object Set]",g="[object String]",y="[object WeakMap]",b="[object ArrayBuffer]",w="[object DataView]",x="[object Float64Array]",k="[object Int8Array]",S="[object Int16Array]",E="[object Int32Array]",C="[object Uint8Array]",T="[object Uint8ClampedArray]",O="[object Uint16Array]",M="[object Uint32Array]",I={};function R(e){return i(e)&&o(e.length)&&!!I[r(e)]}I["[object Float32Array]"]=I[x]=I[k]=I[S]=I[E]=I[C]=I[T]=I[O]=I[M]=!0,I[a]=I[s]=I[b]=I[l]=I[w]=I[u]=I[c]=I[d]=I[f]=I[p]=I[h]=I[m]=I[v]=I[g]=I[y]=!1,e.exports=R},49537:function(e,t,n){var r=n(43217),o=n(22967),i=Object.prototype.hasOwnProperty;function a(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}e.exports=a},3828:function(e,t,n){var r=n(39800),o=n(43217),i=n(4056),a=Object.prototype.hasOwnProperty;function s(e){if(!r(e))return i(e);var t=o(e),n=[];for(var s in e)"constructor"==s&&(t||!a.call(e,s))||n.push(s);return n}
1e.exports=s},78706:function(e,t,n){var r=n(25407),o=n(79590),i=n(24249);function a(e,t){return i(o(e,t,r),e+"")}e.exports=a},10777:function(e,t,n){var r=n(11147),o=n(97059),i=n(25407),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},223:function(e){function t(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i}e.exports=t},74275:function(e){function t(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}e.exports=t},59857:function(e,t,n){var r=n(33662),o=n(46018),i=n(63644),a=n(82952),s=1/0,l=r?r.prototype:void 0,u=l?l.toString:void 0;function c(e){if("string"==typeof e)return e;if(i(e))return o(e,c)+"";if(a(e))return u?u.call(e):"";var t=e+"";return"0"==t&&1/e==-s?"-0":t}e.exports=c},78640:function(e,t,n){var r=n(91384),o=/^\s+/;function i(e){return e?e.slice(0,r(e)+1).replace(o,""):e}e.exports=i},28754:function(e){function t(e){return function(t){return e(t)}}e.exports=t},18631:function(e,t,n){var r=n(97956),o=n(57094),i=n(53833),a=n(8341);function s(e,t){return t=r(t,e),null==(e=i(e,t))||delete e[a(o(t))]}e.exports=s},97956:function(e,t,n){var r=n(63644),o=n(36508),i=n(7499),a=n(11088);function s(e,t){return r(e)?e:o(e,t)?[e]:i(a(e))}e.exports=s},64576:function(e,t,n){var r=n(95343);function o(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}e.exports=o},16825:function(e,t,n){e=n.nmd(e);var r=n(49168),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;function l(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}e.exports=l},32292:function(e,t,n){var r=n(64576);function o(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}e.exports=o},61076:function(e){var t=/\w*$/;function n(e){var n=new e.constructor(e.source,t.exec(e));return n.lastIndex=e.lastIndex,n}e.exports=n},92207:function(e,t,n){var r=n(33662),o=r?r.prototype:void 0,i=o?o.valueOf:void 0;function a(e){return i?Object(i.call(e)):{}}e.exports=a},36484:function(e,t,n){var r=n(64576);function o(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}e.exports=o},41149:function(e){function t(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}e.exports=t},88717:function(e,t,n){var r=n(76531),o=n(26593);function i(e,t,n,i){var a=!n;n||(n={});for(var s=-1,l=t.length;++s<l;){var u=t[s],c=i?i(n[u],e[u],u,n,e):void 0;void 0===c&&(c=e[u]),a?o(n,u,c):r(n,u,c)}return n}e.exports=i},63876:function(e,t,n){var r=n(88717),o=n(91378);function i(e,t){return r(e,o(e),t)}e.exports=i},67612:function(e,t,n){var r=n(88717),o=n(78580);function i(e,t){return r(e,o(e),t)}e.exports=i},4294:function(e,t,n){var r=n(49168)["__core-js_shared__"];e.exports=r},9703:function(e,t,n){var r=n(78706),o=n(74606);function i(e){return r(function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,s&&o(n[0],n[1],s)&&(a=i<3?void 0:a,i=1),t=Object(t);++r<i;){var l=n[r];l&&e(t,l,r,a)}return t})}e.exports=i},66721:function(e,t,n){var r=n(34883);function o(e){return r(e)?void 0:e}e.exports=o},97059:function(e,t,n){var r=n(76963),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},72707:function(e,t,n){var r=n(48027),o=n(79590),i=n(24249);function a(e){return i(o(e,void 0,r),e+"")}e.exports=a},1304:function(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},95815:function(e,t,n){var r=n(50368),o=n(91378),i=n(83073);function a(e){return r(e,i,o)}e.exports=a},99304:function(e,t,n){var r=n(50368),o=n(78580),i=n(66041);function a(e){return r(e,i,o)}e.exports=a},85805:function(e,t,n){var r=n(34096);function o(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}e.exports=o},76963:function(e,t,n){var r=n(99462),o=n(7011);function i(e,t){var n=o(e,t);return r(n)?n:void 0}e.exports=i},73223:function(e,t,n){var r=n(87328)(Object.getPrototypeOf,Object);e.exports=r},24014:function(e,t,n){var r=n(33662),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;function l(e){var t=i.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=a.call(e);return r&&(t?e[s]=n:delete e[s]),o}e.exports=l},91378:function(e,t,n){var r=n(82558),o=n(32891),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:r(a(e=Object(e)),function(t){return i.call(e,t)})}:o;e.exports=s},78580:function(e,t,n){var r=n(30095),o=n(73223),i=n(91378),a=n(32891),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,i(e)),e=o(e);return t}:a;e.exports=s},8573:function(e,t,n){var r=n(99170),o=n(45715),i=n(95619),a=n(77200),s=n(67639),l=n(52960),u=n(89673),c="[object Map]",d="[object Object]",f="[object Promise]",p="[object Set]",h="[object WeakMap]",m="[object DataView]",v=u(r),g=u(o),y=u(i),b=u(a),w=u(s),x=l;(r&&x(new r(new ArrayBuffer(1)))!=m||o&&x(new o)!=c||i&&x(i.resolve())!=f||a&&x(new a)!=p||s&&x(new s)!=h)&&
vendor: 2,338 bytes, line 1
1(x=function(e){var t=l(e),n=t==d?e.constructor:void 0,r=n?u(n):"";if(r)switch(r){case v:return m;case g:return c;case y:return f;case b:return p;case w:return h}return t}),e.exports=x},7011:function(e){function t(e,t){return null==e?void 0:e[t]}e.exports=t},80110:function(e,t,n){var r=n(22838);function o(){this.__data__=r?r(null):{},this.size=0}e.exports=o},77859:function(e){function t(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}e.exports=t},6071:function(e,t,n){var r=n(22838),o="__lodash_hash_undefined__",i=Object.prototype.hasOwnProperty;function a(e){var t=this.__data__;if(r){var n=t[e];return n===o?void 0:n}return i.call(t,e)?t[e]:void 0}e.exports=a},5019:function(e,t,n){var r=n(22838),o=Object.prototype.hasOwnProperty;function i(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}e.exports=i},51236:function(e,t,n){var r=n(22838),o="__lodash_hash_undefined__";function i(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?o:t,this}e.exports=i},81315:function(e){var t=Object.prototype.hasOwnProperty;function n(e){var n=e.length,r=new e.constructor(n);return n&&"string"==typeof e[0]&&t.call(e,"index")&&(r.index=e.index,r.input=e.input),r}e.exports=n},61963:function(e,t,n){var r=n(64576),o=n(32292),i=n(61076),a=n(92207),s=n(36484),l="[object Boolean]",u="[object Date]",c="[object Map]",d="[object Number]",f="[object RegExp]",p="[object Set]",h="[object String]",m="[object Symbol]",v="[object ArrayBuffer]",g="[object DataView]",y="[object Float32Array]",b="[object Float64Array]",w="[object Int8Array]",x="[object Int16Array]",k="[object Int32Array]",S="[object Uint8Array]",E="[object Uint8ClampedArray]",C="[object Uint16Array]",T="[object Uint32Array]";function O(e,t,n){var O=e.constructor;switch(t){case v:return r(e);case l:case u:return new O(+e);case g:return o(e,n);case y:case b:case w:case x:case k:case S:case E:case C:case T:return s(e,n);case c:return new O;case d:case h:return new O(e);case f:return i(e);case p:return new O;case m:return a(e)}}e.exports=O},18385:function(e,t,n){var r=n(46120),o=n(73223),i=n(43217);function a(e){return"function"!=typeof e.constructor||i(e)?{}:r(o(e))}e.exports=a},24183:function(e,t,n){var r=n(33662),o=n(16778),i=n(63644),a=r?r.isConcatSpreadable:void 0;function s(e){return i(e)||o(e)||!!(a&&e&&e[a])}
1e.exports=s},15278:function(e){var t=9007199254740991,n=/^(?:0|[1-9]\d*)$/;function r(e,r){var o=typeof e;return!!(r=null==r?t:r)&&("number"==o||"symbol"!=o&&n.test(e))&&e>-1&&e%1==0&&e<r}e.exports=r},74606:function(e,t,n){var r=n(85637),o=n(77095),i=n(15278),a=n(39800);function s(e,t,n){if(!a(n))return!1;var s=typeof t;return("number"==s?!!(o(n)&&i(t,n.length)):"string"==s&&t in n)&&r(n[t],e)}e.exports=s},36508:function(e,t,n){var r=n(63644),o=n(82952),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;function s(e,t){if(r(e))return!1;var n=typeof e;return!!("number"==n||"symbol"==n||"boolean"==n||null==e||o(e))||a.test(e)||!i.test(e)||null!=t&&e in Object(t)}e.exports=s},34096:function(e){function t(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}e.exports=t},78957:function(e,t,n){var r=n(4294),o=function(){var e=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function i(e){return!!o&&o in e}e.exports=i},43217:function(e){var t=Object.prototype;function n(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}e.exports=n},96920:function(e){function t(){this.__data__=[],this.size=0}e.exports=t},37938:function(e,t,n){var r=n(17805),o=Array.prototype.splice;function i(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():o.call(t,n,1),--this.size,!0)}e.exports=i},44236:function(e,t,n){var r=n(17805);function o(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}e.exports=o},49001:function(e,t,n){var r=n(17805);function o(e){return r(this.__data__,e)>-1}e.exports=o},92091:function(e,t,n){var r=n(17805);function o(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}e.exports=o},43573:function(e,t,n){var r=n(43355),o=n(67931),i=n(45715);function a(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}e.exports=a},11660:function(e,t,n){var r=n(85805);function o(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}e.exports=o},8781:function(e,t,n){var r=n(85805);function o(e){return r(this,e).get(e)}e.exports=o},69584:function(e,t,n){var r=n(85805);function o(e){return r(this,e).has(e)}e.exports=o},28601:function(e,t,n){var r=n(85805);function o(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}e.exports=o},71592:function(e,t,n){var r=n(7036),o=500;function i(e){var t=r(e,function(e){return n.size===o&&n.clear(),e}),n=t.cache;return t}e.exports=i},22838:function(e,t,n){var r=n(76963)(Object,"create");e.exports=r},22967:function(e,t,n){var r=n(87328)(Object.keys,Object);e.exports=r},4056:function(e){function t(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}e.exports=t},94298:function(e,t,n){e=n.nmd(e);var r=n(1304),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,s=function(){try{var e=i&&i.require&&i.require("util").types;if(e)return e;return a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s},84471:function(e){var t=Object.prototype.toString;function n(e){return t.call(e)}e.exports=n},87328:function(e){function t(e,t){return function(n){return e(t(n))}}e.exports=t},79590:function(e,t,n){var r=n(35962),o=Math.max;function i(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,s=o(i.length-t,0),l=Array(s);++a<s;)l[a]=i[t+a];a=-1;for(var u=Array(t+1);++a<t;)u[a]=i[a];return u[t]=n(l),r(e,this,u)}}e.exports=i},53833:function(e,t,n){var r=n(61069),o=n(223);function i(e,t){return t.length<2?e:r(e,o(t,0,-1))}e.exports=i},49168:function(e,t,n){var r=n(1304),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},24249:function(e,t,n){var r=n(10777),o=n(39220)(r);e.exports=o},39220:function(e){var t=800,n=16,r=Date.now;function o(e){var o=0,i=0;return function(){var a=r(),s=n-(a-i);if(i=a,s>0){if(++o>=t)return arguments[0]}else o=0;return e.apply(void 0,arguments)}}e.exports=o},67922:function(e,t,n){var r=n(67931);function o(){this.__data__=new r,this.size=0}e.exports=o},14139:function(e){function t(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}
1e.exports=t},8995:function(e){function t(e){return this.__data__.get(e)}e.exports=t},43492:function(e){function t(e){return this.__data__.has(e)}e.exports=t},19864:function(e,t,n){var r=n(67931),o=n(45715),i=n(13210),a=200;function s(e,t){var n=this.__data__;if(n instanceof r){var s=n.__data__;if(!o||s.length<a-1)return s.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(s)}return n.set(e,t),this.size=n.size,this}e.exports=s},7499:function(e,t,n){var r=n(71592),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,function(e,n,r,o){t.push(r?o.replace(i,"$1"):n||e)}),t});e.exports=a},8341:function(e,t,n){var r=n(82952),o=1/0;function i(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-o?"-0":t}e.exports=i},89673:function(e){var t=Function.prototype.toString;function n(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}e.exports=n},91384:function(e){var t=/\s/;function n(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}e.exports=n},69738:function(e,t,n){var r=n(76531),o=n(88717),i=n(9703),a=n(77095),s=n(43217),l=n(83073),u=Object.prototype.hasOwnProperty,c=i(function(e,t){if(s(t)||a(t)){o(t,l(t),e);return}for(var n in t)u.call(t,n)&&r(e,n,t[n])});e.exports=c},11147:function(e){function t(e){return function(){return e}}e.exports=t},10606:function(e,t,n){var r=n(39800),o=n(81669),i=n(96930),a="Expected a function",s=Math.max,l=Math.min;function u(e,t,n){var u,c,d,f,p,h,m=0,v=!1,g=!1,y=!0;if("function"!=typeof e)throw TypeError(a);function b(t){var n=u,r=c;return u=c=void 0,m=t,f=e.apply(r,n)}function w(e){return m=e,p=setTimeout(S,t),v?b(e):f}function x(e){var n=e-h,r=e-m,o=t-n;return g?l(o,d-r):o}function k(e){var n=e-h,r=e-m;return void 0===h||n>=t||n<0||g&&r>=d}function S(){var e=o();if(k(e))return E(e);p=setTimeout(S,x(e))}function E(e){return(p=void 0,y&&u)?b(e):(u=c=void 0,f)}function C(){void 0!==p&&clearTimeout(p),m=0,u=h=c=p=void 0}function T(){return void 0===p?f:E(o())}function O(){var e=o(),n=k(e);if(u=arguments,c=this,h=e,n){if(void 0===p)return w(h);if(g)return clearTimeout(p),p=setTimeout(S,t),b(h)}return void 0===p&&(p=setTimeout(S,t)),f}return t=i(t)||0,r(n)&&(v=!!n.leading,d=(g="maxWait"in n)?s(i(n.maxWait)||0,t):d,y="trailing"in n?!!n.trailing:y),O.cancel=C,O.flush=T,O}e.exports=u},85637:function(e){function t(e,t){return e===t||e!=e&&t!=t}e.exports=t},48027:function(e,t,n){var r=n(83724);function o(e){return(null==e?0:e.length)?r(e,1):[]}e.exports=o},25407:function(e){function t(e){return e}e.exports=t},16778:function(e,t,n){var r=n(37455),o=n(16453),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},63644:function(e){var t=Array.isArray;e.exports=t},77095:function(e,t,n){var r=n(84888),o=n(89848);function i(e){return null!=e&&o(e.length)&&!r(e)}e.exports=i},30699:function(e,t,n){e=n.nmd(e);var r=n(49168),o=n(17501),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,s=a&&a.exports===i?r.Buffer:void 0,l=(s?s.isBuffer:void 0)||o;e.exports=l},84888:function(e,t,n){var r=n(52960),o=n(39800),i="[object AsyncFunction]",a="[object Function]",s="[object GeneratorFunction]",l="[object Proxy]";function u(e){if(!o(e))return!1;var t=r(e);return t==a||t==s||t==i||t==l}e.exports=u},89848:function(e){var t=9007199254740991;function n(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=t}e.exports=n},46331:function(e,t,n){var r=n(82283),o=n(28754),i=n(94298),a=i&&i.isMap,s=a?o(a):r;e.exports=s},39800:function(e){function t(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=t},16453:function(e){function t(e){return null!=e&&"object"==typeof e}e.exports=t},34883:function(e,t,n){var r=n(52960),o=n(73223),i=n(16453),a="[object Object]",s=Object.prototype,l=Function.prototype.toString,u=s.hasOwnProperty,c=l.call(Object);function d(e){if(!i(e)||r(e)!=a)return!1;var t=o(e);if(null===t)return!0;var n=u.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==c}e.exports=d},83225:function(e,t,n){var r=n(49479),o=n(28754),i=n(94298),a=i&&i.isSet,s=a?o(a):r;e.exports=s},82952:function(e,t,n){var r=n(52960),o=n(16453),i="[object Symbol]";function a(e){return"symbol"==typeof e||o(e)&&r(e)==i}e.exports=a},80029:function(e,t,n){var r=n(96892),o=n(28754),i=n(94298),a=i&&i.isTypedArray,s=a?o(a):r;e.exports=s},83073:function(e,t,n){var r=n(73663),o=n(49537),i=n(77095);function a(e){return i(e)?r(e):o(e)}e.exports=a},66041:function(e,t,n){var r=n(73663),o=n(3828),i=n(77095);function a(e){return i(e)?r(e,!0):o(e)}e.exports=a},57094:function(e){function t(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}e.exports=t},7036:function(e,t,n){var r=n(13210),o="Expected a function";function i(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw TypeError(o);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(i.Cache||r),n}i.Cache=r,e.exports=i},81669:function(e,t,n){var r=n(49168),o=function(){return r.Date.now()};e.exports=o},49771:function(e,t,n){var r=n(46018),o=n(20256),i=n(18631),a=n(97956),s=n(88717),l=n(66721),u=n(72707),c=n(99304),d=1,f=2,p=4,h=u(function(e,t){var n={};if(null==e)return n;var u=!1;t=r(t,function(t){return t=a(t,e),u||(u=t.length>1),t}),s(e,c(e),n),u&&(n=o(n,d|f|p,l));for(var h=t.length;h--;)i(n,t[h]);return n});e.exports=h}
1,32891:function(e){function t(){return[]}e.exports=t},17501:function(e){function t(){return!1}e.exports=t},96930:function(e,t,n){var r=n(78640),o=n(39800),i=n(82952),a=0/0,s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;function d(e){if("number"==typeof e)return e;if(i(e))return a;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=l.test(e);return n||u.test(e)?c(e.slice(2),n?2:8):s.test(e)?a:+e}e.exports=d},11088:function(e,t,n){var r=n(59857);function o(e){return null==e?"":r(e)}e.exports=o},58082:function(e,t,n){var r,o,i;!function(a,s){o=[n(29118),n(95879)],void 0!==(i="function"==typeof(r=s)?r.apply(t,o):r)&&(e.exports=i)}(window,function(e,t){"use strict";var n=e.create("masonry");n.compatOptions.fitWidth="isFitWidth";var r=n.prototype;return r._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var e=0;e<this.cols;e++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},r.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var e=this.items[0],n=e&&e.element;this.columnWidth=n&&t(n).outerWidth||this.containerWidth}var r=this.columnWidth+=this.gutter,o=this.containerWidth+this.gutter,i=o/r,a=r-o%r;i=Math[a&&a<1?"round":"floor"](i),this.cols=Math.max(i,1)},r.getContainerWidth=function(){var e=t(this._getOption("fitWidth")?this.element.parentNode:this.element);this.containerWidth=e&&e.innerWidth},r._getItemLayoutPosition=function(e){e.getSize();var t=e.size.outerWidth%this.columnWidth,n=Math[t&&t<1?"round":"ceil"](e.size.outerWidth/this.columnWidth);n=Math.min(n,this.cols);for(var r=this[this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition"](n,e),o={x:this.columnWidth*r.col,y:r.y},i=r.y+e.size.outerHeight,a=n+r.col,s=r.col;s<a;s++)this.colYs[s]=i;return o},r._getTopColPosition=function(e){var t=this._getTopColGroup(e),n=Math.min.apply(Math,t);return{col:t.indexOf(n),y:n}},r._getTopColGroup=function(e){if(e<2)return this.colYs;for(var t=[],n=this.cols+1-e,r=0;r<n;r++)t[r]=this._getColGroupY(r,e);return t},r._getColGroupY=function(e,t){if(t<2)return this.colYs[e];var n=this.colYs.slice(e,e+t);return Math.max.apply(Math,n)},r._getHorizontalColPosition=function(e,t){var n=this.horizontalColIndex%this.cols;n=e>1&&n+e>this.cols?0:n;var r=t.size.outerWidth&&t.size.outerHeight;return this.horizontalColIndex=r?n+e:this.horizontalColIndex,{col:n,y:this._getColGroupY(n,e)}},r._manageStamp=function(e){var n=t(e),r=this._getElementOffset(e),o=this._getOption("originLeft")?r.left:r.right,i=o+n.outerWidth,a=Math.floor(o/this.columnWidth);a=Math.max(0,a);var s=Math.floor(i/this.columnWidth);s-=i%this.columnWidth?0:1,s=Math.min(this.cols-1,s);for(var l=(this._getOption("originTop")?r.top:r.bottom)+n.outerHeight,u=a;u<=s;u++)this.colYs[u]=Math.max(l,this.colYs[u])},r._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var e={height:this.maxY};return this._getOption("fitWidth")&&(e.width=this._getContainerFitWidth()),e},r._getContainerFitWidth=function(){for(var e=0,t=this.cols;--t&&0===this.colYs[t];)e++;return(this.cols-e)*this.columnWidth-this.gutter},r.needsResizeLayout=function(){var e=this.containerWidth;return this.getContainerWidth(),e!=this.containerWidth},n})},69528:function(e){"use strict";var t=Object.assign.bind(Object);e.exports=t,e.exports.default=e.exports},73204:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});let r=n(31669),o=n(31711),i=r._(n(8247)),a=r._(n(89842)),s={400:"Bad Request",404:"This page could not be found",405:"Method Not Allowed",500:"Internal Server Error"};function l(e){let{res:t,err:n}=e;return{statusCode:t&&t.statusCode?t.statusCode:n?n.statusCode:404}}let u={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{lineHeight:"48px"},h1:{display:"inline-block",margin:"0 20px 0 0",paddingRight:23,fontSize:24,fontWeight:500,verticalAlign:"top"},h2:{fontSize:14,fontWeight:400,lineHeight:"28px"}
1,wrap:{display:"inline-block"}};class c extends i.default.Component{render(){let{statusCode:e,withDarkMode:t=!0}=this.props,n=this.props.title||s[e]||"An unexpected error has occurred";return(0,o.jsxs)("div",{style:u.error,children:[(0,o.jsx)(a.default,{children:(0,o.jsx)("title",{children:e?e+": "+n:"Application error: a client-side exception has occurred"})}),(0,o.jsxs)("div",{style:u.desc,children:[(0,o.jsx)("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}"+(t?"@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}":"")}}),e?(0,o.jsx)("h1",{className:"next-error-h1",style:u.h1,children:e}):null,(0,o.jsx)("div",{style:u.wrap,children:(0,o.jsxs)("h2",{style:u.h2,children:[this.props.title||e?n:(0,o.jsx)(o.Fragment,{children:"Application error: a client-side exception has occurred (see the browser console for more information)"}),"."]})})]})]})}}c.displayName="ErrorPage",c.getInitialProps=l,c.origGetInitialProps=l,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},48921:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return r}});let r=n(31669)._(n(8247)).default.createContext({})},95470:function(e,t){"use strict";function n(e){let{ampFirst:t=!1,hybrid:n=!1,hasQuery:r=!1}=void 0===e?{}:e;return t||n&&r}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return n}})},89842:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return v},defaultHead:function(){return d}});let r=n(31669),o=n(2461),i=n(31711),a=o._(n(8247)),s=r._(n(22714)),l=n(48921),u=n(79977),c=n(95470);function d(e){void 0===e&&(e=!1);let t=[(0,i.jsx)("meta",{charSet:"utf-8"})];return e||t.push((0,i.jsx)("meta",{name:"viewport",content:"width=device-width"})),t}function f(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===a.default.Fragment?e.concat(a.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}n(20021);let p=["name","httpEquiv","charSet","itemProp"];function h(){let e=new Set,t=new Set,n=new Set,r={};return o=>{let i=!0,a=!1;if(o.key&&"number"!=typeof o.key&&o.key.indexOf("$")>0){a=!0;let t=o.key.slice(o.key.indexOf("$")+1);e.has(t)?i=!1:e.add(t)}switch(o.type){case"title":case"base":t.has(o.type)?i=!1:t.add(o.type);break;case"meta":for(let e=0,t=p.length;e<t;e++){let t=p[e];if(o.props.hasOwnProperty(t)){if("charSet"===t)n.has(t)?i=!1:n.add(t);else{let e=o.props[t],n=r[t]||new Set;("name"!==t||!a)&&n.has(e)?i=!1:(n.add(e),r[t]=n)}}}}return i}}function m(e,t){let{inAmpMode:n}=t;return e.reduce(f,[]).reverse().concat(d(n).reverse()).filter(h()).reverse().map((e,t)=>{let r=e.key||t;if(!n&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(t=>e.props.href.startsWith(t))){let t={...e.props||{}};return t["data-href"]=t.href,t.href=void 0,t["data-optimized-fonts"]=!0,a.default.cloneElement(e,t)}return a.default.cloneElement(e,{key:r})})}let v=function(e){let{children:t}=e,n=(0,a.useContext)(l.AmpStateContext),r=(0,a.useContext)(u.HeadManagerContext);return(0,i.jsx)(s.default,{reduceComponentsToState:m,headManager:r,inAmpMode:(0,c.isInAmpMode)(n),children:t})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},22714:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});let r=n(8247),o="undefined"==typeof window,i=o?()=>{}:r.useLayoutEffect,a=o?()=>{}:r.useEffect;function s(e){let{headManager:t,reduceComponentsToState:n}=e;function s(){if(t&&t.mountedInstances){let o=r.Children.toArray(Array.from(t.mountedInstances).filter(
1Boolean));t.updateHead(n(o,e))}}if(o){var l;null==t||null==(l=t.mountedInstances)||l.add(e.children),s()}return i(()=>{var n;return null==t||null==(n=t.mountedInstances)||n.add(e.children),()=>{var n;null==t||null==(n=t.mountedInstances)||n.delete(e.children)}}),i(()=>(t&&(t._pendingUpdate=s),()=>{t&&(t._pendingUpdate=s)})),a(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},5049:function(e,t,n){e.exports=n(73204)},33042:function(e,t,n){"use strict";var r=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==n.g)return n.g;throw Error("unable to locate global object")}();e.exports=t=r.fetch,r.fetch&&(t.default=r.fetch.bind(r)),t.Headers=r.Headers,t.Request=r.Request,t.Response=r.Response},16679:function(e,t,n){var r,o,i;!function(a,s){o=[n(24673),n(95879)],void 0!==(i="function"==typeof(r=s)?r.apply(t,o):r)&&(e.exports=i)}(window,function(e,t){"use strict";function n(e){for(var t in e)return!1;return!0}var r=document.documentElement.style,o="string"==typeof r.transition?"transition":"WebkitTransition",i="string"==typeof r.transform?"transform":"WebkitTransform",a={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[o],s={transform:i,transition:o,transitionDuration:o+"Duration",transitionProperty:o+"Property",transitionDelay:o+"Delay"};function l(e,t){e&&(this.element=e,this.layout=t,this.position={x:0,y:0},this._create())}var u=l.prototype=Object.create(e.prototype);u.constructor=l,u._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},u.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},u.getSize=function(){this.size=t(this.element)},u.css=function(e){var t=this.element.style;for(var n in e)t[s[n]||n]=e[n]},u.getPosition=function(){var e=getComputedStyle(this.element),t=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop"),r=e[t?"left":"right"],o=e[n?"top":"bottom"],i=parseFloat(r),a=parseFloat(o),s=this.layout.size;-1!=r.indexOf("%")&&(i=i/100*s.width),-1!=o.indexOf("%")&&(a=a/100*s.height),i=isNaN(i)?0:i,a=isNaN(a)?0:a,i-=t?s.paddingLeft:s.paddingRight,a-=n?s.paddingTop:s.paddingBottom,this.position.x=i,this.position.y=a},u.layoutPosition=function(){var e=this.layout.size,t={},n=this.layout._getOption("originLeft"),r=this.layout._getOption("originTop"),o=n?"paddingLeft":"paddingRight",i=n?"left":"right",a=n?"right":"left",s=this.position.x+e[o];t[i]=this.getXValue(s),t[a]="";var l=r?"paddingTop":"paddingBottom",u=r?"top":"bottom",c=r?"bottom":"top",d=this.position.y+e[l];t[u]=this.getYValue(d),t[c]="",this.css(t),this.emitEvent("layout",[this])},u.getXValue=function(e){var t=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!t?e/this.layout.size.width*100+"%":e+"px"},u.getYValue=function(e){var t=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&t?e/this.layout.size.height*100+"%":e+"px"},u._transitionTo=function(e,t){this.getPosition();var n=this.position.x,r=this.position.y,o=e==this.position.x&&t==this.position.y;if(this.setPosition(e,t),o&&!this.isTransitioning){this.layoutPosition();return}var i=e-n,a=t-r,s={};s.transform=this.getTranslate(i,a),this.transition({to:s,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})},u.getTranslate=function(e,t){var n=this.layout._getOption("originLeft"),r=this.layout._getOption("originTop");return"translate3d("+(e=n?e:-e)+"px, "+(t=r?t:-t)+"px, 0)"},u.goTo=function(e,t){this.setPosition(e,t),this.layoutPosition()},u.moveTo=u._transitionTo,u.setPosition=function(e,t){this.position.x=parseFloat(e),this.position.y=parseFloat(t)},u._nonTransition=function(e){for(var t in this.css(e.to),e.isCleaning&&this._removeStyles(e.to),e.onTransitionEnd)e.onTransitionEnd[t].call(this)},u.transition=function(e){if(!parseFloat(this.layout.options.transitionDuration)){this._nonTransition(e);return}var t=this._transn;for(var n in e.onTransitionEnd)t.onEnd[n]=e.onTransitionEnd[n];for(n in e.to)t.ingProperties[n]=!0,e.isCleaning&&(t.clean[n]=!0);if(e.from){this.css(e.from);var r=this.element.offsetHeight;r=null}this.enableTransition(e.to),this.css(e.to),this.isTransitioning=!0};var c="opacity,"+function(e){return e.replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()})}(i);u.enableTransition=function(){if(!this.isTransitioning){var e=this.layout.options.transitionDuration;e="number"==typeof e?e+"ms":e,this.css({transitionProperty:c,transitionDuration:e,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(a,this,!1)}},u.onwebkitTransitionEnd=function(e){this.ontransitionend(e)},u.onotransitionend=function(e){this.ontransitionend(e)};var d={"-webkit-transform":"transform"};u.ontransitionend=function(e){if(e.target===this.element){var t=this._transn,r=d[e.propertyName]||e.propertyName;delete t.ingProperties[r],n(t.ingProperties)&&this.disableTransition(),r in t.clean&&(this.element.style[e.propertyName]="",delete t.clean[r]),r in t.onEnd&&(t.onEnd[r].call(this),delete t.onEnd[r]),this.emitEvent("transitionEnd",[this])}},u.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(a,this,!1),this.isTransitioning=!1},u._removeStyles=function(e){var t={};for(var n in e)t[n]="";this.css(t)};var f={transitionProperty:"",transitionDuration:"",transitionDelay:""};return u.removeTransitionStyles=function(){this.css(f)},u.stagger=function(e){e=isNaN(e)?0:e,this.staggerDelay=e+"ms"},u.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},u.remove=function(){if(!o||!parseFloat(this.layout.options.transitionDuration)){this.removeElem();return}this.once("transitionEnd",function(){this.removeElem()}),this.hide()},u.reveal=function(){delete this.isHidden,this.css({display:""});var e=this.layout.options,t={};t[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:e.hiddenStyle,to:e.visibleStyle,isCleaning:!0,onTransitionEnd:t})},u.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},u.getHideRevealTransitionEndProperty=function(e){var t=this.layout.options[e];if(t.opacity)return"opacity";for(var n in t)return n},u.hide=function(){this.isHidden=!0,this.css({display:""});var e=this.layout.options,t={};t[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:e.visibleStyle,to:e.hiddenStyle,isCleaning:!0,onTransitionEnd:t})},u.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},u.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},l})},29118:function(e,t,n){var r;!function(o,i){"use strict";void 0!==(r=(function(e,t,n,r){return i(o,e,t,n,r)}).apply(t,[n(24673),n(95879),n(72945),n(16679)]))&&(e.exports=r)}(window,function(e,t,n,r,o){"use strict";var i=e.console,a=e.jQuery,s=function(){},l=0,u={};function c(e,t){var n=r.getQueryElement(e);
vendor: 4,210 bytes, line 1
1if(!n){i&&i.error("Bad element for "+this.constructor.namespace+": "+(n||e));return}this.element=n,a&&(this.$element=a(this.element)),this.options=r.extend({},this.constructor.defaults),this.option(t);var o=++l;this.element.outlayerGUID=o,u[o]=this,this._create(),this._getOption("initLayout")&&this.layout()}c.namespace="outlayer",c.Item=o,c.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var d=c.prototype;function f(e){function t(){e.apply(this,arguments)}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t}r.extend(d,t.prototype),d.option=function(e){r.extend(this.options,e)},d._getOption=function(e){var t=this.constructor.compatOptions[e];return t&&void 0!==this.options[t]?this.options[t]:this.options[e]},c.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},d._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),r.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},d.reloadItems=function(){this.items=this._itemize(this.element.children)},d._itemize=function(e){for(var t=this._filterFindItemElements(e),n=this.constructor.Item,r=[],o=0;o<t.length;o++){var i=new n(t[o],this);r.push(i)}return r},d._filterFindItemElements=function(e){return r.filterFindElements(e,this.options.itemSelector)},d.getItemElements=function(){return this.items.map(function(e){return e.element})},d.layout=function(){this._resetLayout(),this._manageStamps();var e=this._getOption("layoutInstant"),t=void 0!==e?e:!this._isLayoutInited;this.layoutItems(this.items,t),this._isLayoutInited=!0},d._init=d.layout,d._resetLayout=function(){this.getSize()},d.getSize=function(){this.size=n(this.element)},d._getMeasurement=function(e,t){var r,o=this.options[e];o?("string"==typeof o?r=this.element.querySelector(o):o instanceof HTMLElement&&(r=o),this[e]=r?n(r)[t]:o):this[e]=0},d.layoutItems=function(e,t){e=this._getItemsForLayout(e),this._layoutItems(e,t),this._postLayout()},d._getItemsForLayout=function(e){return e.filter(function(e){return!e.isIgnored})},d._layoutItems=function(e,t){if(this._emitCompleteOnItems("layout",e),e&&e.length){var n=[];e.forEach(function(e){var r=this._getItemLayoutPosition(e);r.item=e,r.isInstant=t||e.isLayoutInstant,n.push(r)},this),this._processLayoutQueue(n)}},d._getItemLayoutPosition=function(){return{x:0,y:0}},d._processLayoutQueue=function(e){this.updateStagger(),e.forEach(function(e,t){this._positionItem(e.item,e.x,e.y,e.isInstant,t)},this)},d.updateStagger=function(){var e=this.options.stagger;if(null==e){this.stagger=0;return}return this.stagger=h(e),this.stagger},d._positionItem=function(e,t,n,r,o){r?e.goTo(t,n):(e.stagger(o*this.stagger),e.moveTo(t,n))},d._postLayout=function(){this.resizeContainer()},d.resizeContainer=function(){if(this._getOption("resizeContainer")){var e=this._getContainerSize();e&&(this._setContainerMeasure(e.width,!0),this._setContainerMeasure(e.height,!1))}},d._getContainerSize=s,d._setContainerMeasure=function(e,t){if(void 0!==e){var n=this.size;n.isBorderBox&&(e+=t?n.paddingLeft+n.paddingRight+n.borderLeftWidth+n.borderRightWidth:n.paddingBottom+n.paddingTop+n.borderTopWidth+n.borderBottomWidth),e=Math.max(e,0),this.element.style[t?"width":"height"]=e+"px"}},d._emitCompleteOnItems=function(e,t){var n=this;function r(){n.dispatchEvent(e+"Complete",null,[t])}var o=t.length;if(!t||!o){r();return}var i=0;function a(){++i==o&&r()}t.forEach(function(t){t.once(e,a)})},d.dispatchEvent=function(e,t,n){var r=t?[t].concat(n):n;if(this.emitEvent(e,r),a){if(this.$element=this.$element||a(this.element),t){var o=a.Event(t);o.type=e,this.$element.trigger(o,n)}else this.$element.trigger(e,n)}},d.ignore=function(e){var t=this.getItem(e);t&&(t.isIgnored=!0)},d.unignore=function(e){var t=this.getItem(e);t&&delete t.isIgnored},d.stamp=function(e){(e=this._find(e))&&(this.stamps=this.stamps.
1concat(e),e.forEach(this.ignore,this))},d.unstamp=function(e){(e=this._find(e))&&e.forEach(function(e){r.removeFrom(this.stamps,e),this.unignore(e)},this)},d._find=function(e){if(e)return"string"==typeof e&&(e=this.element.querySelectorAll(e)),e=r.makeArray(e)},d._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},d._getBoundingRect=function(){var e=this.element.getBoundingClientRect(),t=this.size;this._boundingRect={left:e.left+t.paddingLeft+t.borderLeftWidth,top:e.top+t.paddingTop+t.borderTopWidth,right:e.right-(t.paddingRight+t.borderRightWidth),bottom:e.bottom-(t.paddingBottom+t.borderBottomWidth)}},d._manageStamp=s,d._getElementOffset=function(e){var t=e.getBoundingClientRect(),r=this._boundingRect,o=n(e);return{left:t.left-r.left-o.marginLeft,top:t.top-r.top-o.marginTop,right:r.right-t.right-o.marginRight,bottom:r.bottom-t.bottom-o.marginBottom}},d.handleEvent=r.handleEvent,d.bindResize=function(){e.addEventListener("resize",this),this.isResizeBound=!0},d.unbindResize=function(){e.removeEventListener("resize",this),this.isResizeBound=!1},d.onresize=function(){this.resize()},r.debounceMethod(c,"onresize",100),d.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},d.needsResizeLayout=function(){var e=n(this.element);return this.size&&e&&e.innerWidth!==this.size.innerWidth},d.addItems=function(e){var t=this._itemize(e);return t.length&&(this.items=this.items.concat(t)),t},d.appended=function(e){var t=this.addItems(e);t.length&&(this.layoutItems(t,!0),this.reveal(t))},d.prepended=function(e){var t=this._itemize(e);if(t.length){var n=this.items.slice(0);this.items=t.concat(n),this._resetLayout(),this._manageStamps(),this.layoutItems(t,!0),this.reveal(t),this.layoutItems(n)}},d.reveal=function(e){if(this._emitCompleteOnItems("reveal",e),e&&e.length){var t=this.updateStagger();e.forEach(function(e,n){e.stagger(n*t),e.reveal()})}},d.hide=function(e){if(this._emitCompleteOnItems("hide",e),e&&e.length){var t=this.updateStagger();e.forEach(function(e,n){e.stagger(n*t),e.hide()})}},d.revealItemElements=function(e){var t=this.getItems(e);this.reveal(t)},d.hideItemElements=function(e){var t=this.getItems(e);this.hide(t)},d.getItem=function(e){for(var t=0;t<this.items.length;t++){var n=this.items[t];if(n.element==e)return n}},d.getItems=function(e){e=r.makeArray(e);var t=[];return e.forEach(function(e){var n=this.getItem(e);n&&t.push(n)},this),t},d.remove=function(e){var t=this.getItems(e);this._emitCompleteOnItems("remove",t),t&&t.length&&t.forEach(function(e){e.remove(),r.removeFrom(this.items,e)},this)},d.destroy=function(){var e=this.element.style;e.height="",e.position="",e.width="",this.items.forEach(function(e){e.destroy()}),this.unbindResize();var t=this.element.outlayerGUID;delete u[t],delete this.element.outlayerGUID,a&&a.removeData(this.element,this.constructor.namespace)},c.data=function(e){var t=(e=r.getQueryElement(e))&&e.outlayerGUID;return t&&u[t]},c.create=function(e,t){var n=f(c);return n.defaults=r.extend({},c.defaults),r.extend(n.defaults,t),n.compatOptions=r.extend({},c.compatOptions),n.namespace=e,n.data=c.data,n.Item=f(o),r.htmlInit(n,e),a&&a.bridget&&a.bridget(e,n),n};var p={ms:1,s:1e3};function h(e){if("number"==typeof e)return e;var t=e.match(/(^\d*\.?\d*)(\w*)/),n=t&&t[1],r=t&&t[2];return n.length?(n=parseFloat(n))*(p[r]||1):0}return c.Item=o,c})},71298:function(e,t,n){"use strict";var r=n(91401);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},6010:function(e,t,n){e.exports=n(71298)()},91401:function(e){"use strict";var t="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";e.exports=t},76857:function(e,t,n){var r="undefined"!=typeof window,o=r?window.Masonry||n(58082):null,i=r?n(35209):null,a=n(69738),s=n(86025),l=n(10606),u=n(49771),c=n(6010),d=n(8247),f=n(81298),p={enableResizableChildren:c.bool,disableImagesLoaded:c.bool,onImagesLoaded:c.func,updateOnEachImageLoad:c.bool,options:c.object,imagesLoadedOptions:c.object,elementType:c.string,onLayoutComplete:c.func,onRemoveComplete:c.func},h=f({masonry:!1,erd:void 0,latestKnownDomChildren:[],displayName:"MasonryComponent",imagesLoadedCancelRef:void 0,propTypes:p,getDefaultProps:function(){return{enableResizableChildren:!1,disableImagesLoaded:!1,updateOnEachImageLoad:!1,options:{},imagesLoadedOptions:{},className:"",elementType:"div",onLayoutComplete:function(){},onRemoveComplete:function(){}}},initializeMasonry:function(e){(!this.masonry||e)&&(this.masonry=new o(this.masonryContainer,this.props.options),this.props.onLayoutComplete&&this.masonry.on("layoutComplete",this.props.onLayoutComplete),this.props.onRemoveComplete&&this.masonry.on("removeComplete",this.props.onRemoveComplete),this.latestKnownDomChildren=this.getCurrentDomChildren())},getCurrentDomChildren:function(){var e=this.masonryContainer,t=this.props.options.itemSelector?e.querySelectorAll(this.props.options.itemSelector):e.children;return Array.prototype.slice.call(t)},diffDomChildren:function(){var e=!1,t=this.latestKnownDomChildren.filter(function(e){return!!e.parentNode});t.length!==this.latestKnownDomChildren.length&&(e=!0);var n=this.getCurrentDomChildren(),r=t.filter(function(e){return!~n.indexOf(e)}),o=n.filter(function(e){return!~t.indexOf(e)}),i=0,a=o.filter(function(e){var t=i===n.indexOf(e);return t&&i++,t}),s=o.filter(function(e){return -1===a.indexOf(e)}),l=[];return 0===r.length&&(l=t.filter(function(e,t){return t!==n.indexOf(e)})),this.latestKnownDomChildren=n,{old:t,new:n,removed:r,appended:s,prepended:a,moved:l,forceItemReload:e}},performLayout:function(){var e=this.diffDomChildren(),t=e.forceItemReload||e.moved.length>0;e.removed.length>0&&(this.props.enableResizableChildren&&e.removed.forEach(this.erd.removeAllListeners,this.erd),this.masonry.remove(e.removed),t=!0),e.appended.length>0&&(this.masonry.appended(e.appended),0===e.prepended.length&&(t=!0),this.props.enableResizableChildren&&e.appended.forEach(this.listenToElementResize,this)),e.prepended.length>0&&(this.masonry.prepended(e.prepended),this.props.enableResizableChildren&&e.prepended.forEach(this.listenToElementResize,this)),t&&this.masonry.reloadItems(),this.masonry.layout()},derefImagesLoaded:function(){this.imagesLoadedCancelRef(),this.imagesLoadedCancelRef=void 0},imagesLoaded:function(){if(!this.props.disableImagesLoaded){this.imagesLoadedCancelRef&&this.derefImagesLoaded();var e=this.props.updateOnEachImageLoad?"progress":"always",t=l((function(e){this.props.onImagesLoaded&&this.props.onImagesLoaded(e),this.masonry.layout()}).bind(this),100),n=i(this.masonryContainer,this.props.imagesLoadedOptions).on(e,t);this.imagesLoadedCancelRef=function(){n.off(e,t),t.cancel()}}},initializeResizableChildren:function(){this.props.enableResizableChildren&&(this.erd=s({strategy:"scroll"}
1),this.latestKnownDomChildren.forEach(this.listenToElementResize,this))},listenToElementResize:function(e){this.erd.listenTo(e,(function(){this.masonry.layout()}).bind(this))},destroyErd:function(){this.erd&&this.latestKnownDomChildren.forEach(this.erd.uninstall,this.erd)},componentDidMount:function(){this.initializeMasonry(),this.initializeResizableChildren(),this.imagesLoaded()},componentDidUpdate:function(){this.performLayout(),this.imagesLoaded()},componentWillUnmount:function(){this.destroyErd(),this.props.onLayoutComplete&&this.masonry.off("layoutComplete",this.props.onLayoutComplete),this.props.onRemoveComplete&&this.masonry.off("removeComplete",this.props.onRemoveComplete),this.imagesLoadedCancelRef&&this.derefImagesLoaded(),this.masonry.destroy()},setRef:function(e){this.masonryContainer=e},render:function(){var e=u(this.props,Object.keys(p));return d.createElement(this.props.elementType,a({},e,{ref:this.setRef}),this.props.children)}});e.exports=h,e.exports.default=h},47843:function(e,t,n){"use strict";let r=0,o=1,i=2,a=3,s=4,l=5,u=6;function c(e){return f.hasOwnProperty(e)?f[e]:null}function d(e,t,n,r,o,l,u){this.acceptsBooleans=t===i||t===a||t===s,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=l,this.removeEmptyString=u}let f={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach(e=>{f[e]=new d(e,r,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(([e,t])=>{f[e]=new d(e,o,!1,t,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(e=>{f[e]=new d(e,i,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(e=>{f[e]=new d(e,i,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(e=>{f[e]=new d(e,a,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(e=>{f[e]=new d(e,a,!0,e,null,!1,!1)}),["capture","download"].forEach(e=>{f[e]=new d(e,s,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(e=>{f[e]=new d(e,u,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(e=>{f[e]=new d(e,l,!1,e.toLowerCase(),null,!1,!1)});let p=/[\-\:]([a-z])/g,h=e=>e[1].toUpperCase();["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(e=>{let t=e.replace(p,h);f[t]=new d(t,o,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(e=>{let t=e.replace(p,h);f[t]=new d(t,o,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}
1),["xml:base","xml:lang","xml:space"].forEach(e=>{let t=e.replace(p,h);f[t]=new d(t,o,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(e=>{f[e]=new d(e,o,!1,e.toLowerCase(),null,!1,!1)}),f.xlinkHref=new d("xlinkHref",o,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(e=>{f[e]=new d(e,o,!1,e.toLowerCase(),null,!0,!0)});let{CAMELCASE:m,SAME:v,possibleStandardNames:g}=n(53803),y=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",b=RegExp.prototype.test.bind(RegExp("^(data|aria)-["+y+"]*$")),w=Object.keys(g).reduce((e,t)=>{let n=g[t];return n===v?e[t]=t:n===m?e[t.toLowerCase()]=t:e[t]=n,e},{});t.BOOLEAN=a,t.BOOLEANISH_STRING=i,t.NUMERIC=l,t.OVERLOADED_BOOLEAN=s,t.POSITIVE_NUMERIC=u,t.RESERVED=r,t.STRING=o,t.getPropertyInfo=c,t.isCustomAttribute=b,t.possibleStandardNames=w},53803:function(e,t){var n=0;t.SAME=n;var r=1;t.CAMELCASE=r,t.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode
1-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}},51343:function(e,t,n){"use strict";n.d(t,{Av:function(){return a},pF:function(){return r},xv:function(){return i},zi:function(){return o}});var r="right-scroll-bar-position",o="width-before-scroll-bar",i="with-scroll-bars-hidden",a="--removed-body-scroll-bar-size"},9938:function(e,t,n){"use strict";n.d(t,{jp:function(){return m}});var r=n(8247),o=n(52937),i=n(51343),a={left:0,top:0,right:0,gap:0},s=function(e){return parseInt(e||"",10)||0},l=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[s(n),s(r),s(o)]},u=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return a;var t=l(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},c=(0,o.Ws)(),d="data-scroll-locked",f=function(e,t,n,r){var o=e.left,a=e.top,s=e.right,l=e.gap;return void 0===n&&(n="margin"),"\n .".concat(i.xv," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(l,"px ").concat(r,";\n }\n body[").concat(d,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(a,"px;\n padding-right: ").concat(s,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(l,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(l,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(i.pF," {\n right: ").concat(l,"px ").concat(r,";\n }\n \n .").concat(i.zi," {\n margin-right: ").concat(l,"px ").concat(r,";\n }\n \n .").concat(i.pF," .").concat(i.pF," {\n right: 0 ").concat(r,";\n }\n \n .").concat(i.zi," .").concat(i.zi," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(d,"] {\n ").concat(i.Av,": ").concat(l,"px;\n }\n")},p=function(){var e=parseInt(document.body.getAttribute(d)||"0",10);return isFinite(e)?e:0},h=function(){r.useEffect(function(){return document.body.setAttribute(d,(p()+1).toString()),function(){var e=p()-1;e<=0?document.body.removeAttribute(d):document.body.setAttribute(d,e.toString())}},[])},m=function(e){var t=e.noRelative,n=e.noImportant,o=e.gapMode,i=void 0===o?"margin":o;h();var a=r.useMemo(function(){return u(i)},[i]);return r.createElement(c,{styles:f(a,!t,i,n?"":"!important")})}},6075:function(e,t,n){"use strict";n.d(t,{Z:function(){return W}});var r=n(14058),o=n(8247),i=n(51343),a=n(62944),s=(0,n(94899)._)(),l=function(){},u=o.forwardRef(function(e,t){var n=o.useRef(null),i=o.useState({onScrollCapture:l,onWheelCapture:l,onTouchMoveCapture:l}),u=i[0],c=i[1],d=e.forwardProps,f=e.children,p=e.className,h=e.removeScrollBar,m=e.enabled,v=e.shards,g=e.sideCar,y=e.noIsolation,b=e.inert,w=e.allowPinchZoom,x=e.as,k=void 0===x?"div":x,S=e.gapMode,E=(0,r._T)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),C=g,T=(0,a.q)([n,t]),O=(0,r.pi)((0,r.pi)({},E),u);return o.createElement(o.Fragment,null,m&&o.createElement(C,{sideCar:s,removeScrollBar:h,shards:v,noIsolation:y,inert:b,setCallbacks:c,allowPinchZoom:!!w,lockRef:n,gapMode:S}),d?o.cloneElement(o.Children.only(f),(0,r.pi)((0,r.pi)({},O),{ref:T})):o.createElement(k,(0,r.pi)({},O,{className:p,ref:T}),f))});u.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},u.classNames={fullWidth:i.zi,zeroRight:i.pF};var c=n(46839),d=n(9938),f=n(52937),p=!1;if("undefined"!=typeof window)try{var h=Object.defineProperty({},"passive",{get:function(){return p=!0,!0}});window.addEventListener("test",h,h),window.removeEventListener("test",h,h)}catch(e){p=!1}var m=!!p&&{passive:!1},v=function(e){return"TEXTAREA"===e.tagName},g=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&!v(e)&&"visible"===n[t])},y=function(e){return g(e,"overflowY")},b=function(e){return g(e,"overflowX")},w=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),S(e,r)){var o=E(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},x=function(e){return[e.scrollTop,e.scrollHeight,e.clientHeight]},k=function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]},S=function(e,t){return"v"===e?y(t):b(t)}
1,E=function(e,t){return"v"===e?x(t):k(t)},C=function(e,t){return"h"===e&&"rtl"===t?-1:1},T=function(e,t,n,r,o){var i=C(e,window.getComputedStyle(t).direction),a=i*r,s=n.target,l=t.contains(s),u=!1,c=a>0,d=0,f=0;do{var p=E(e,s),h=p[0],m=p[1]-p[2]-i*h;(h||m)&&S(e,s)&&(d+=m,f+=h),s instanceof ShadowRoot?s=s.host:s=s.parentNode}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return c&&(o&&1>Math.abs(d)||!o&&a>d)?u=!0:!c&&(o&&1>Math.abs(f)||!o&&-a>f)&&(u=!0),u},O=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},M=function(e){return[e.deltaX,e.deltaY]},I=function(e){return e&&"current"in e?e.current:e},R=function(e,t){return e[0]===t[0]&&e[1]===t[1]},P=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},j=0,_=[];function A(e){var t=o.useRef([]),n=o.useRef([0,0]),i=o.useRef(),a=o.useState(j++)[0],s=o.useState(f.Ws)[0],l=o.useRef(e);o.useEffect(function(){l.current=e},[e]),o.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var t=(0,r.ev)([e.lockRef.current],(e.shards||[]).map(I),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var u=o.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!l.current.allowPinchZoom;var r,o=O(e),a=n.current,s="deltaX"in e?e.deltaX:a[0]-o[0],u="deltaY"in e?e.deltaY:a[1]-o[1],c=e.target,d=Math.abs(s)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===d&&"range"===c.type)return!1;var f=w(d,c);if(!f)return!0;if(f?r=d:(r="v"===d?"h":"v",f=w(d,c)),!f)return!1;if(!i.current&&"changedTouches"in e&&(s||u)&&(i.current=r),!r)return!0;var p=i.current||r;return T(p,t,e,"h"===p?s:u,!0)},[]),c=o.useCallback(function(e){var n=e;if(_.length&&_[_.length-1]===s){var r="deltaY"in n?M(n):O(n),o=t.current.filter(function(e){return e.name===n.type&&(e.target===n.target||n.target===e.shadowParent)&&R(e.delta,r)})[0];if(o&&o.should){n.cancelable&&n.preventDefault();return}if(!o){var i=(l.current.shards||[]).map(I).filter(Boolean).filter(function(e){return e.contains(n.target)});(i.length>0?u(n,i[0]):!l.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),p=o.useCallback(function(e,n,r,o){var i={name:e,delta:n,target:r,should:o,shadowParent:D(r)};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),h=o.useCallback(function(e){n.current=O(e),i.current=void 0},[]),v=o.useCallback(function(t){p(t.type,M(t),t.target,u(t,e.lockRef.current))},[]),g=o.useCallback(function(t){p(t.type,O(t),t.target,u(t,e.lockRef.current))},[]);o.useEffect(function(){return _.push(s),e.setCallbacks({onScrollCapture:v,onWheelCapture:v,onTouchMoveCapture:g}),document.addEventListener("wheel",c,m),document.addEventListener("touchmove",c,m),document.addEventListener("touchstart",h,m),function(){_=_.filter(function(e){return e!==s}),document.removeEventListener("wheel",c,m),document.removeEventListener("touchmove",c,m),document.removeEventListener("touchstart",h,m)}},[]);var y=e.removeScrollBar,b=e.inert;return o.createElement(o.Fragment,null,b?o.createElement(s,{styles:P(a)}):null,y?o.createElement(d.jp,{gapMode:e.gapMode}):null)}function D(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}var N=(0,c.L)(s,A),L=o.forwardRef(function(e,t){return o.createElement(u,(0,r.pi)({},e,{ref:t,sideCar:N}))});L.classNames=u.classNames;var W=L},67307:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NextArrow=t.PrevArrow=void 0;var r=a(n(8247)),o=a(n(86183)),i=n(94565);function a(e){return e&&e.__esModule?e:{default:e}}function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?u(Object(n),!0).forEach(function(t){d(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t,n){return t&&p(e.prototype,t),n&&p(e,n),e}function m(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e){var t=w();return function(){var n,r=x(e);return n=t?Reflect.construct(r,arguments,x(this).constructor):r.apply(this,arguments),y(this,n)}}function y(e,t){return t&&("object"===s(t)||"function"==typeof t)?t:b(e)}function b(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function x(e){return(x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var k=function(e){m(n,e);var t=g(n);function n(){return f(this,n),t.apply(this,arguments)}return h(n,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-prev":!0},t=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(0===this.props.currentSlide||this.props.slideCount<=this.props.slidesToShow)&&(e["slick-disabled"]=!0,t=null);var n={key:"0","data-role":"none",className:(0,o.default)(e),style:{display:"block"},onClick:t},i={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.prevArrow?r.default.cloneElement(this.props.prevArrow,c(c({},n),i)):r.default.createElement("button",l({key:"0",type:"button"},n)," ","Previous")}}]),n}(r.default.PureComponent);t.PrevArrow=k;var S=function(e){m(n,e);var t=g(n);function n(){return f(this,n),t.apply(this,arguments)}return h(n,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-next":!0},t=this.clickHandler.bind(this,{message:"next"});(0,i.canGoNext)(this.props)||(e["slick-disabled"]=!0,t=null);var n={key:"1","data-role":"none",className:(0,o.default)(e),style:{display:"block"},onClick:t},a={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.nextArrow?r.default.cloneElement(this.props.nextArrow,c(c({},n),a)):r.default.createElement("button",l({key:"1",type:"button"},n)," ","Next")}}]),n}(r.default.PureComponent);t.NextArrow=S},4285:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(8247));function o(e){return e&&e.__esModule?e:{default:e}}var i={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(e){return r.default.createElement("ul",{style:{display:"block"}},e)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(e){return r.default.createElement("button",null,e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0};t.default=i},71141:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.Dots=void 0;var r=a(n(8247)),o=a(n(86183)),i=n(94565);function a(e){return e&&e.__esModule?e:{default:e}}function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach(function(t){c(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function d(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t,n){return t&&f(e.prototype,t),n&&f(e,n),e}function h(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e){var t=b();return function(){var n,r=w(e);return n=t?Reflect.construct(r,arguments,w(this).constructor):r.apply(this,arguments),g(this,n)}}function g(e,t){return t&&("object"===s(t)||"function"==typeof t)?t:y(e)}function y(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function w(e){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var x=function(e){return e.infinite?Math.ceil(e.slideCount/e.slidesToScroll):Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1},k=function(e){h(n,e);var t=v(n);function n(){return d(this,n),t.apply(this,arguments)}return p(n,[{key:"clickHandler",value:function(e,t){t.preventDefault(),this.props.clickHandler(e)}},{key:"render",value:function(){for(var e=this.props,t=e.onMouseEnter,n=e.onMouseOver,a=e.onMouseLeave,s=e.infinite,l=e.slidesToScroll,c=e.slidesToShow,d=e.slideCount,f=e.currentSlide,p=x({slideCount:d,slidesToScroll:l,slidesToShow:c,infinite:s}),h={onMouseEnter:t,onMouseOver:n,onMouseLeave:a},m=[],v=0;v<p;v++){var g=(v+1)*l-1,y=s?g:(0,i.clamp)(g,0,d-1),b=y-(l-1),w=s?b:(0,i.clamp)(b,0,d-1),k=(0,o.default)({"slick-active":s?f>=w&&f<=y:f===w}),S={message:"dots",index:v,slidesToScroll:l,currentSlide:f},E=this.clickHandler.bind(this,S);m=m.concat(r.default.createElement("li",{key:v,className:k},r.default.cloneElement(this.props.customPaging(v),{onClick:E})))}return r.default.cloneElement(this.props.appendDots(m),u({className:this.props.dotsClass},h))}}]),n}(r.default.PureComponent);t.Dots=k},60933:function(e,t,n){"use strict";r={value:!0},t.Z=void 0;var r,o=function(e){return e&&e.__esModule?e:{default:e}}(n(74282)).default;t.Z=o},58989:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0};t.default=n},45753:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.InnerSlider=void 0;var r=f(n(8247)),o=f(n(58989)),i=f(n(91137)),a=f(n(86183)),s=n(94565),l=n(22386),u=n(71141),c=n(67307),d=f(n(60538));function f(e){return e&&e.__esModule?e:{default:e}}function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function h(){return(h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function m(e,t){if(null==e)return{};var n,r,o=v(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function v(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach(function(t){I(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function b(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function w(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function x(e,t,n){return t&&w(e.prototype,t),n&&w(e,n),e}function k(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&S(e,t)}function S(e,t){return(S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function E(e){var t=O();return function(){var n,r=M(e);return n=t?Reflect.construct(r,arguments,M(this).constructor):r.apply(this,arguments),C(this,n)}}function C(e,t){return t&&("object"===p(t)||"function"==typeof t)?t:T(e)}function T(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function M(e){return(M=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function I(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var R=function(e){k(n,e);var t=E(n);function n(e){b(this,n),I(T(f=t.call(this,e)),"listRefHandler",function(e){return f.list=e}),I(T(f),"trackRefHandler",function(e){return f.track=e}),I(T(f),"adaptHeight",function(){if(f.props.adaptiveHeight&&f.list){var e=f.list.querySelector('[data-index="'.concat(f.state.currentSlide,'"]'));f.list.style.height=(0,s.getHeight)(e)+"px"}}),I(T(f),"componentDidMount",function(){if(f.props.onInit&&f.props.onInit(),f.props.lazyLoad){var e=(0,s.getOnDemandLazySlides)(y(y({},f.props),f.state));e.length>0&&(f.setState(function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}}),f.props.onLazyLoad&&f.props.onLazyLoad(e))}var t=y({listRef:f.list,trackRef:f.track},f.props);f.updateState(t,!0,function(){f.adaptHeight(),f.props.autoplay&&f.autoPlay("update")}),"progressive"===f.props.lazyLoad&&(f.lazyLoadTimer=setInterval(f.progressiveLazyLoad,1e3)),f.ro=new d.default(function(){f.state.animating?(f.onWindowResized(!1),f.callbackTimers.push(setTimeout(function(){return f.onWindowResized()},f.props.speed))):f.onWindowResized()}),f.ro.observe(f.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),function(e){e.onfocus=f.props.pauseOnFocus?f.onSlideFocus:null,e.onblur=f.props.pauseOnFocus?f.onSlideBlur:null}),window.addEventListener?window.addEventListener("resize",f.onWindowResized):window.attachEvent("onresize",f.onWindowResized)}),I(T(f),"componentWillUnmount",function(){f.animationEndCallback&&clearTimeout(f.animationEndCallback),f.lazyLoadTimer&&clearInterval(f.lazyLoadTimer),f.callbackTimers.length&&(f.callbackTimers.forEac
vendor: 4,292 bytes, line 1
1h(function(e){return clearTimeout(e)}),f.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",f.onWindowResized):window.detachEvent("onresize",f.onWindowResized),f.autoplayTimer&&clearInterval(f.autoplayTimer),f.ro.disconnect()}),I(T(f),"componentDidUpdate",function(e){if(f.checkImagesLoad(),f.props.onReInit&&f.props.onReInit(),f.props.lazyLoad){var t=(0,s.getOnDemandLazySlides)(y(y({},f.props),f.state));t.length>0&&(f.setState(function(e){return{lazyLoadedList:e.lazyLoadedList.concat(t)}}),f.props.onLazyLoad&&f.props.onLazyLoad(t))}f.adaptHeight();var n=y(y({listRef:f.list,trackRef:f.track},f.props),f.state),o=f.didPropsChange(e);o&&f.updateState(n,o,function(){f.state.currentSlide>=r.default.Children.count(f.props.children)&&f.changeSlide({message:"index",index:r.default.Children.count(f.props.children)-f.props.slidesToShow,currentSlide:f.state.currentSlide}),f.props.autoplay?f.autoPlay("update"):f.pause("paused")})}),I(T(f),"onWindowResized",function(e){f.debouncedResize&&f.debouncedResize.cancel(),f.debouncedResize=(0,i.default)(function(){return f.resizeWindow(e)},50),f.debouncedResize()}),I(T(f),"resizeWindow",function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];if(f.track&&f.track.node){var t=y(y({listRef:f.list,trackRef:f.track},f.props),f.state);f.updateState(t,e,function(){f.props.autoplay?f.autoPlay("update"):f.pause("paused")}),f.setState({animating:!1}),clearTimeout(f.animationEndCallback),delete f.animationEndCallback}}),I(T(f),"updateState",function(e,t,n){var o=(0,s.initializedState)(e);e=y(y(y({},e),o),{},{slideIndex:o.currentSlide});var i=(0,s.getTrackLeft)(e);e=y(y({},e),{},{left:i});var a=(0,s.getTrackCSS)(e);(t||r.default.Children.count(f.props.children)!==r.default.Children.count(e.children))&&(o.trackStyle=a),f.setState(o,n)}),I(T(f),"ssrInit",function(){if(f.props.variableWidth){var e=0,t=0,n=[],o=(0,s.getPreClones)(y(y(y({},f.props),f.state),{},{slideCount:f.props.children.length})),i=(0,s.getPostClones)(y(y(y({},f.props),f.state),{},{slideCount:f.props.children.length}));f.props.children.forEach(function(t){n.push(t.props.style.width),e+=t.props.style.width});for(var a=0;a<o;a++)t+=n[n.length-1-a],e+=n[n.length-1-a];for(var l=0;l<i;l++)e+=n[l];for(var u=0;u<f.state.currentSlide;u++)t+=n[u];var c={width:e+"px",left:-t+"px"};if(f.props.centerMode){var d="".concat(n[f.state.currentSlide],"px");c.left="calc(".concat(c.left," + (100% - ").concat(d,") / 2 ) ")}return{trackStyle:c}}var p=r.default.Children.count(f.props.children),h=y(y(y({},f.props),f.state),{},{slideCount:p}),m=(0,s.getPreClones)(h)+(0,s.getPostClones)(h)+p,v=100/f.props.slidesToShow*m,g=100/m,b=-g*((0,s.getPreClones)(h)+f.state.currentSlide)*v/100;return f.props.centerMode&&(b+=(100-g*v/100)/2),{slideWidth:g+"%",trackStyle:{width:v+"%",left:b+"%"}}}),I(T(f),"checkImagesLoad",function(){var e=f.list&&f.list.querySelectorAll&&f.list.querySelectorAll(".slick-slide img")||[],t=e.length,n=0;Array.prototype.forEach.call(e,function(e){var r=function(){return++n&&n>=t&&f.onWindowResized()};if(e.onclick){var o=e.onclick;e.onclick=function(){o(),e.parentNode.focus()}}else e.onclick=function(){return e.parentNode.focus()};e.onload||(f.props.lazyLoad?e.onload=function(){f.adaptHeight(),f.callbackTimers.push(setTimeout(f.onWindowResized,f.props.speed))}:(e.onload=r,e.onerror=function(){r(),f.props.onLazyLoadError&&f.props.onLazyLoadError()}))})}),I(T(f),"progressiveLazyLoad",function(){for(var e=[],t=y(y({},f.props),f.state),n=f.state.currentSlide;n<f.state.slideCount+(0,s.getPostClones)(t);n++)if(0>f.state.lazyLoadedList.indexOf(n)){e.push(n);break}for(var r=f.state.currentSlide-1;r>=-(0,s.getPreClones)(t);r--)if(0>f.state.lazyLoadedList.indexOf(r)){e.push(r);break}e.length>0?(f.setState(function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}}),f.props.onLazyLoad&&f.props.onLazyLoad(e)):f.lazyLoadTimer&&(clearInterval(f.lazyLoadTimer),delete f.lazyLoadTimer)}),I(T(f),"slideHandler",function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=f.props,r=n.asNavFor,o=n.beforeChange,i=n.onLazyLoad,a=n.speed,l=n.afterChange,u=f.state.currentSlide,c=(0,s.slideHandler)(y(y(y({index:e},f.props),f.state),{},{trackRef:f.track,useCSS:f.props.useCSS&&!t})),d=c.state,p=c.nextState;
vendor: 4,138 bytes, line 1
1if(d){o&&o(u,d.currentSlide);var h=d.lazyLoadedList.filter(function(e){return 0>f.state.lazyLoadedList.indexOf(e)});i&&h.length>0&&i(h),!f.props.waitForAnimate&&f.animationEndCallback&&(clearTimeout(f.animationEndCallback),l&&l(u),delete f.animationEndCallback),f.setState(d,function(){r&&f.asNavForIndex!==e&&(f.asNavForIndex=e,r.innerSlider.slideHandler(e)),p&&(f.animationEndCallback=setTimeout(function(){var e=p.animating,t=m(p,["animating"]);f.setState(t,function(){f.callbackTimers.push(setTimeout(function(){return f.setState({animating:e})},10)),l&&l(d.currentSlide),delete f.animationEndCallback})},a))})}}),I(T(f),"changeSlide",function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=y(y({},f.props),f.state),r=(0,s.changeSlide)(n,e);if((0===r||r)&&(!0===t?f.slideHandler(r,t):f.slideHandler(r),f.props.autoplay&&f.autoPlay("update"),f.props.focusOnSelect)){var o=f.list.querySelectorAll(".slick-current");o[0]&&o[0].focus()}}),I(T(f),"clickHandler",function(e){!1===f.clickable&&(e.stopPropagation(),e.preventDefault()),f.clickable=!0}),I(T(f),"keyHandler",function(e){var t=(0,s.keyHandler)(e,f.props.accessibility,f.props.rtl);""!==t&&f.changeSlide({message:t})}),I(T(f),"selectHandler",function(e){f.changeSlide(e)}),I(T(f),"disableBodyScroll",function(){var e=function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1};window.ontouchmove=e}),I(T(f),"enableBodyScroll",function(){window.ontouchmove=null}),I(T(f),"swipeStart",function(e){f.props.verticalSwiping&&f.disableBodyScroll();var t=(0,s.swipeStart)(e,f.props.swipe,f.props.draggable);""!==t&&f.setState(t)}),I(T(f),"swipeMove",function(e){var t=(0,s.swipeMove)(e,y(y(y({},f.props),f.state),{},{trackRef:f.track,listRef:f.list,slideIndex:f.state.currentSlide}));t&&(t.swiping&&(f.clickable=!1),f.setState(t))}),I(T(f),"swipeEnd",function(e){var t=(0,s.swipeEnd)(e,y(y(y({},f.props),f.state),{},{trackRef:f.track,listRef:f.list,slideIndex:f.state.currentSlide}));if(t){var n=t.triggerSlideHandler;delete t.triggerSlideHandler,f.setState(t),void 0!==n&&(f.slideHandler(n),f.props.verticalSwiping&&f.enableBodyScroll())}}),I(T(f),"touchEnd",function(e){f.swipeEnd(e),f.clickable=!0}),I(T(f),"slickPrev",function(){f.callbackTimers.push(setTimeout(function(){return f.changeSlide({message:"previous"})},0))}),I(T(f),"slickNext",function(){f.callbackTimers.push(setTimeout(function(){return f.changeSlide({message:"next"})},0))}),I(T(f),"slickGoTo",function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(isNaN(e=Number(e)))return"";f.callbackTimers.push(setTimeout(function(){return f.changeSlide({message:"index",index:e,currentSlide:f.state.currentSlide},t)},0))}),I(T(f),"play",function(){var e;if(f.props.rtl)e=f.state.currentSlide-f.props.slidesToScroll;else{if(!(0,s.canGoNext)(y(y({},f.props),f.state)))return!1;e=f.state.currentSlide+f.props.slidesToScroll}f.slideHandler(e)}),I(T(f),"autoPlay",function(e){f.autoplayTimer&&clearInterval(f.autoplayTimer);var t=f.state.autoplaying;if("update"===e){if("hovered"===t||"focused"===t||"paused"===t)return}else if("leave"===e){if("paused"===t||"focused"===t)return}else if("blur"===e&&("paused"===t||"hovered"===t))return;f.autoplayTimer=setInterval(f.play,f.props.autoplaySpeed+50),f.setState({autoplaying:"playing"})}),I(T(f),"pause",function(e){f.autoplayTimer&&(clearInterval(f.autoplayTimer),f.autoplayTimer=null);var t=f.state.autoplaying;"paused"===e?f.setState({autoplaying:"paused"}):"focused"===e?("hovered"===t||"playing"===t)&&f.setState({autoplaying:"focused"}):"playing"===t&&f.setState({autoplaying:"hovered"})}),I(T(f),"onDotsOver",function(){return f.props.autoplay&&f.pause("hovered")}),I(T(f),"onDotsLeave",function(){return f.props.autoplay&&"hovered"===f.state.autoplaying&&f.autoPlay("leave")}),I(T(f),"onTrackOver",function(){return f.props.autoplay&&f.pause("hovered")}),I(T(f),"onTrackLeave",function(){return f.props.autoplay&&"hovered"===f.state.autoplaying&&f.autoPlay("leave")}),I(T(f),"onSlideFocus",function(){return f.props.autoplay&&f.pause("focused")}),I(T(f),"onSlideBlur",function(){return f.props.autoplay&&"focu
1sed"===f.state.autoplaying&&f.autoPlay("blur")}),I(T(f),"render",function(){var e,t,n,o=(0,a.default)("slick-slider",f.props.className,{"slick-vertical":f.props.vertical,"slick-initialized":!0}),i=y(y({},f.props),f.state),d=(0,s.extractObject)(i,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),p=f.props.pauseOnHover;if(d=y(y({},d),{},{onMouseEnter:p?f.onTrackOver:null,onMouseLeave:p?f.onTrackLeave:null,onMouseOver:p?f.onTrackOver:null,focusOnSelect:f.props.focusOnSelect&&f.clickable?f.selectHandler:null}),!0===f.props.dots&&f.state.slideCount>=f.props.slidesToShow){var m=(0,s.extractObject)(i,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),v=f.props.pauseOnDotsHover;m=y(y({},m),{},{clickHandler:f.changeSlide,onMouseEnter:v?f.onDotsLeave:null,onMouseOver:v?f.onDotsOver:null,onMouseLeave:v?f.onDotsLeave:null}),e=r.default.createElement(u.Dots,m)}var g=(0,s.extractObject)(i,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);g.clickHandler=f.changeSlide,f.props.arrows&&(t=r.default.createElement(c.PrevArrow,g),n=r.default.createElement(c.NextArrow,g));var b=null;f.props.vertical&&(b={height:f.state.listHeight});var w=null;!1===f.props.vertical?!0===f.props.centerMode&&(w={padding:"0px "+f.props.centerPadding}):!0===f.props.centerMode&&(w={padding:f.props.centerPadding+" 0px"});var x=y(y({},b),w),k=f.props.touchMove,S={className:"slick-list",style:x,onClick:f.clickHandler,onMouseDown:k?f.swipeStart:null,onMouseMove:f.state.dragging&&k?f.swipeMove:null,onMouseUp:k?f.swipeEnd:null,onMouseLeave:f.state.dragging&&k?f.swipeEnd:null,onTouchStart:k?f.swipeStart:null,onTouchMove:f.state.dragging&&k?f.swipeMove:null,onTouchEnd:k?f.touchEnd:null,onTouchCancel:f.state.dragging&&k?f.swipeEnd:null,onKeyDown:f.props.accessibility?f.keyHandler:null},E={className:o,dir:"ltr",style:f.props.style};return f.props.unslick&&(S={className:"slick-list"},E={className:o}),r.default.createElement("div",E,f.props.unslick?"":t,r.default.createElement("div",h({ref:f.listRefHandler},S),r.default.createElement(l.Track,h({ref:f.trackRefHandler},d),f.props.children)),f.props.unslick?"":n,f.props.unslick?"":e)}),f.list=null,f.track=null,f.state=y(y({},o.default),{},{currentSlide:f.props.initialSlide,slideCount:r.default.Children.count(f.props.children)}),f.callbackTimers=[],f.clickable=!0,f.debouncedResize=null;var f,p=f.ssrInit();return f.state=y(y({},f.state),p),f}return x(n,[{key:"didPropsChange",value:function(e){for(var t=!1,n=0,o=Object.keys(this.props);n<o.length;n++){var i=o[n];if(!e.hasOwnProperty(i)||"object"!==p(e[i])&&"function"!=typeof e[i]&&e[i]!==this.props[i]){t=!0;break}}return t||r.default.Children.count(this.props.children)!==r.default.Children.count(e.children)}}]),n}(r.default.Component);t.InnerSlider=R},74282:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(n(8247)),o=n(45753),i=l(n(53746)),a=l(n(4285)),s=n(94565);function l(e){return e&&e.__esModule?e:{default:e}}function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?d(Object(n),!0).forEach(function(t){S(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function p(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e,t,n){return t&&h(e.prototype,t),n&&h(e,n),e}function v(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e){var t=x();return function(){var n,r=k(e);return n=t?Reflect.construct(r,arguments,k(this).constructor):r.apply(this,arguments),b(this,n)}}function b(e,t){return t&&("object"===u(t)||"function"==typeof t)?t:w(e)}function w(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function S(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var E=(0,s.canUseDOM)()&&n(65476),C=function(e){v(n,e);var t=y(n);function n(e){var r;return p(this,n),S(w(r=t.call(this,e)),"innerSliderRefHandler",function(e){return r.innerSlider=e}),S(w(r),"slickPrev",function(){return r.innerSlider.slickPrev()}),S(w(r),"slickNext",function(){return r.innerSlider.slickNext()}),S(w(r),"slickGoTo",function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return r.innerSlider.slickGoTo(e,t)}),S(w(r),"slickPause",function(){return r.innerSlider.pause("paused")}),S(w(r),"slickPlay",function(){return r.innerSlider.autoPlay("play")}),r.state={breakpoint:null},r._responsiveMediaHandlers=[],r}return m(n,[{key:"media",value:function(e,t){E.register(e,t),this._responsiveMediaHandlers.push({query:e,handler:t})}},{key:"componentDidMount",value:function(){var e=this;if(this.props.responsive){var t=this.props.responsive.map(function(e){return e.breakpoint});t.sort(function(e,t){return e-t}),t.forEach(function(n,r){var o;o=0===r?(0,i.default)({minWidth:0,maxWidth:n}):(0,i.default)({minWidth:t[r-1]+1,maxWidth:n}),(0,s.canUseDOM)()&&e.media(o,function(){e.setState({breakpoint:n})})});var n=(0,i.default)({minWidth:t.slice(-1)[0]});(0,s.canUseDOM)()&&this.media(n,function(){e.setState({breakpoint:null})})}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach(function(e){E.unregister(e.query,e.handler)})}},{key:"render",value:function(){var e,t,n=this;(e=this.state.breakpoint?"unslick"===(t=this.props.responsive.filter(function(e){return e.breakpoint===n.state.breakpoint}))[0].settings?"unslick":f(f(f({},a.default),this.props),t[0].settings):f(f({},a.default),this.props)).centerMode&&(e.slidesToScroll,e.slidesToScroll=1),e.fade&&(e.slidesToShow,e.slidesToScroll,e.slidesToShow=1,e.slidesToScroll=1);var i=r.default.Children.toArray(this.props.children);i=i.filter(function(e){return"string"==typeof e?!!e.trim():!!e}),e.variableWidth&&(e.rows>1||e.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),e.variableWidth=!1);for(var s=[],l=null,u=0;u<i.length;u+=e.rows*e.slidesPerRow){for(var d=[],p=u;p<u+e.rows*e.slidesPerRow;p+=e.slidesPerRow){for(var h=[],m=p;m<p+e.slidesPerRow&&(e.variableWidth&&i[m].props.style&&(l=i[m].props.style.width),!(m>=i.length));m+=1)h.push(r.default.cloneElement(i[m],{key:100*u+10*p+m,tabIndex:-1,style:{width:"".concat(100/e.slidesPerRow,"%"),display:"inline-block"}}));d.push(r.default.createElement("div",{key:10*u+p},h))}e.variableWidth?s.push(r.default.createElement("div",{key:u,style:{width:l}},d)):s.push(r.default.createElement("div",{key:u},d))}if("unslick"===e){var v="regular slider "+(this.props.className||"");return r.default.createElement("div",{className:v},i)}return s.length<=e.slidesToShow&&(e.unslick=!0),r.default.createElement(o.InnerSlider,c({style:this.props.style,ref:this.innerSliderRefHandler},e),s)}}]),n}(r.default.Component);t.default=C},22386:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.Track=void 0;var r=a(n(8247)),o=a(n(86183)),i=n(94565);function a(e){return e&&e.__esModule?e:{default:e}}function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function u(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t,n){return t&&c(e.prototype,t),n&&c(e,n),e}function f(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e){var t=g();return function(){var n,r=y(e);return n=t?Reflect.construct(r,arguments,y(this).constructor):r.apply(this,arguments),m(this,n)}}function m(e,t){return t&&("object"===s(t)||"function"==typeof t)?t:v(e)}function v(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function w(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach(function(t){x(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function x(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var k=function(e){var t,n,r,o,i,a;return r=(i=e.rtl?e.slideCount-1-e.index:e.index)<0||i>=e.slideCount,e.centerMode?(o=Math.floor(e.slidesToShow/2),n=(i-e.currentSlide)%e.slideCount==0,i>e.currentSlide-o-1&&i<=e.currentSlide+o&&(t=!0)):t=e.currentSlide<=i&&i<e.currentSlide+e.slidesToShow,{"slick-slide":!0,"slick-active":t,"slick-center":n,"slick-cloned":r,"slick-current":i===(a=e.targetSlide<0?e.targetSlide+e.slideCount:e.targetSlide>=e.slideCount?e.targetSlide-e.slideCount:e.targetSlide)}},S=function(e){var t={};return(void 0===e.variableWidth||!1===e.variableWidth)&&(t.width=e.slideWidth),e.fade&&(t.position="relative",e.vertical?t.top=-e.index*parseInt(e.slideHeight):t.left=-e.index*parseInt(e.slideWidth),t.opacity=e.currentSlide===e.index?1:0,e.useCSS&&(t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase)),t},E=function(e,t){return e.key||t},C=function(e){var t,n=[],a=[],s=[],l=r.default.Children.count(e.children),u=(0,i.lazyStartIndex)(e),c=(0,i.lazyEndIndex)(e);return(r.default.Children.forEach(e.children,function(d,f){var p,h={message:"children",index:f,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};p=!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(f)>=0?d:r.default.createElement("div",null);var m=S(w(w({},e),{},{index:f})),v=p.props.className||"",g=k(w(w({},e),{},{index:f}));if(n.push(r.default.cloneElement(p,{key:"original"+E(p,f),"data-index":f,className:(0,o.default)(g,v),tabIndex:"-1","aria-hidden":!g["slick-active"],style:w(w({outline:"none"},p.props.style||{}),m),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(h)}})),e.infinite&&!1===e.fade){var y=l-f;y<=(0,i.getPreClones)(e)&&l!==e.slidesToShow&&((t=-y)>=u&&(p=d),g=k(w(w({},e),{},{index:t})),a.push(r.default.cloneElement(p,{key:"precloned"+E(p,t),"data-index":t,tabIndex:"-1",className:(0,o.default)(g,v),"aria-hidden":!g["slick-active"],style:w(w({},p.props.style||{}),m),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(h)}}))),l!==e.slidesToShow&&((t=l+f)<c&&(p=d),g=k(w(w({},e),{},{index:t})),s.push(r.default.cloneElement(p,{key:"postcloned"+E(p,t),"data-index":t,tabIndex:"-1",className:(0,o.default)(g,v),"aria-hidden":!g["slick-active"],style:w(w({},p.props.style||{}),m),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(h)}})))}}),e.rtl)?a.concat(n,s).reverse():a.concat(n,s)},T=function(e){f(n,e);var t=h(n);function n(){var e;u(this,n);for(var r=arguments.length,o=Array(r),i=0;i<r;i++)o[i]=arguments[i];return x(v(e=t.call.apply(t,[this].concat(o))),"node",null),x(v(e),"handleRef",function(t){e.node=t}),e}return d(n,[{key:"render",value:function(){var e=C(this.props),t=this.props,n={onMouseEnter:t.onMouseEnter,onMouseOver:t.onMouseOver,onMouseLeave:t.onMouseLeave};return r.default.createElement("div",l({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},n),e)}}]),n}(r.default.PureComponent);t.Track=T},94565:function(e,t,n){"use strict";
vendor: 5,108 bytes, line 1
1Object.defineProperty(t,"__esModule",{value:!0}),t.clamp=l,t.canUseDOM=t.slidesOnLeft=t.slidesOnRight=t.siblingDirection=t.getTotalSlides=t.getPostClones=t.getPreClones=t.getTrackLeft=t.getTrackAnimateCSS=t.getTrackCSS=t.checkSpecKeys=t.getSlideCount=t.checkNavigable=t.getNavigableIndexes=t.swipeEnd=t.swipeMove=t.swipeStart=t.keyHandler=t.changeSlide=t.slideHandler=t.initializedState=t.extractObject=t.canGoNext=t.getSwipeDirection=t.getHeight=t.getWidth=t.lazySlidesOnRight=t.lazySlidesOnLeft=t.lazyEndIndex=t.lazyStartIndex=t.getRequiredLazySlides=t.getOnDemandLazySlides=t.safePreventDefault=void 0;var r=o(n(8247));function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach(function(t){s(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t,n){return Math.max(t,Math.min(e,n))}var u=function(e){["onTouchStart","onTouchMove","onWheel"].includes(e._reactName)||e.preventDefault()};t.safePreventDefault=u;var c=function(e){for(var t=[],n=f(e),r=p(e),o=n;o<r;o++)0>e.lazyLoadedList.indexOf(o)&&t.push(o);return t};t.getOnDemandLazySlides=c;var d=function(e){for(var t=[],n=f(e),r=p(e),o=n;o<r;o++)t.push(o);return t};t.getRequiredLazySlides=d;var f=function(e){return e.currentSlide-h(e)};t.lazyStartIndex=f;var p=function(e){return e.currentSlide+m(e)};t.lazyEndIndex=p;var h=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0};t.lazySlidesOnLeft=h;var m=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow};t.lazySlidesOnRight=m;var v=function(e){return e&&e.offsetWidth||0};t.getWidth=v;var g=function(e){return e&&e.offsetHeight||0};t.getHeight=g;var y=function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(t=e.startX-e.curX,(n=Math.round(180*Math.atan2(e.startY-e.curY,t)/Math.PI))<0&&(n=360-Math.abs(n)),n<=45&&n>=0||n<=360&&n>=315)?"left":n>=135&&n<=225?"right":!0===r?n>=35&&n<=135?"up":"down":"vertical"};t.getSwipeDirection=y;var b=function(e){var t=!0;return!e.infinite&&(e.centerMode&&e.currentSlide>=e.slideCount-1?t=!1:(e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1)),t};t.canGoNext=b;var w=function(e,t){var n={};return t.forEach(function(t){return n[t]=e[t]}),n};t.extractObject=w;var x=function(e){var t,n=r.default.Children.count(e.children),o=e.listRef,i=Math.ceil(v(o)),s=Math.ceil(v(e.trackRef&&e.trackRef.node));if(e.vertical)t=i;else{var l=e.centerMode&&2*parseInt(e.centerPadding);"string"==typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(l*=i/100),t=Math.ceil((i-l)/e.slidesToShow)}var u=o&&g(o.querySelector('[data-index="0"]')),d=u*e.slidesToShow,f=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(f=n-1-e.initialSlide);var p=e.lazyLoadedList||[],h=c(a(a({},e),{},{currentSlide:f,lazyLoadedList:p})),m={slideCount:n,slideWidth:t,listWidth:i,trackWidth:s,currentSlide:f,slideHeight:u,listHeight:d,lazyLoadedList:p=p.concat(h)};return null===e.autoplaying&&e.autoplay&&(m.autoplaying="playing"),m};t.initializedState=x;var k=function(e){var t=e.waitForAnimate,n=e.animating,r=e.fade,o=e.infinite,i=e.index,s=e.slideCount,u=e.lazyLoad,d=e.currentSlide,f=e.centerMode,p=e.slidesToScroll,h=e.slidesToShow,m=e.useCSS,v=e.lazyLoadedList;if(t&&n)return{};var g,y,w,x=i,k={},S={},E=o?i:l(i,0,s-1);if(r){if(!o&&(i<0||i>=s))return{};i<0?x=i+s:i>=s&&(x=i-s),u&&0>v.indexOf(x)&&(v=v.concat(x)),k={animating:!0,currentSlide:x,lazyLoadedList:v,targetSlide:x},S={animating:!1,targetSlide:x}}else g=x,x<0?(g=x+s,o?s%p!=0&&(g=s-s%p):g=0):!b(e)&&x>d?x=g=d:f&&x>=s?(x=o?s:s-1,g=o?0:s-1):x>=s&&(g=x-s,o?s%p!=0&&(g=0):g=s-h),!o&&x+h>=s&&(g=s-h),y=A(a(a({},e),{},{slideIndex:x})),w=A(a(a({},e),{},{slideIndex:g})),o||(y===w&&(x=g),y=w),u&&(v=v.concat(c(a(a({},e),{},{currentSlide:x})))),m?(k={animating:!0,currentSlide:g,trackStyle:_(a(a({},e),{},{left:y})),lazyLoadedList:v,targetSlide:E},S={animating:!1,currentSlide:g,trackStyle:j(a(a({},e),{},{left:w})),swipeLeft:null,targetSlide:E}):k={currentSlide:g,trackStyle:j(a(a({},e),{},{left:w})),lazyLoadedList:v,targetSlide:E};return{state:k,nextState:S}};t.slideHandler=k;var S=function(e,t){var n,r,o,i,s=e.slidesToScroll,l=e.slidesToShow,u=e.slideCount,c=e.currentSlide,d=e.targetSlide,f=e.lazyLoad,p=e.infinite;if(n=u%s!=0?0:(u-c)%s,"previous"===t.message)i=c-(o=0===n?s:l-n),f&&!p&&(i=-1==(r=c-o)?u-1:r),p||(i=d-s);else if("next"===t.message)i=c+(o=0===n?s:n),f&&!p&&(i=(c+s)%u+n),p||(i=d+s);
1else if("dots"===t.message)i=t.index*t.slidesToScroll;else if("children"===t.message){if(i=t.index,p){var h=W(a(a({},e),{},{targetSlide:i}));i>t.currentSlide&&"left"===h?i-=u:i<t.currentSlide&&"right"===h&&(i+=u)}}else"index"===t.message&&(i=Number(t.index));return i};t.changeSlide=S;var E=function(e,t,n){return e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!t?"":37===e.keyCode?n?"next":"previous":39===e.keyCode?n?"previous":"next":""};t.keyHandler=E;var C=function(e,t,n){return("IMG"===e.target.tagName&&u(e),t&&(n||-1===e.type.indexOf("mouse")))?{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}:""};t.swipeStart=C;var T=function(e,t){var n=t.scrolling,r=t.animating,o=t.vertical,i=t.swipeToSlide,s=t.verticalSwiping,l=t.rtl,c=t.currentSlide,d=t.edgeFriction,f=t.edgeDragged,p=t.onEdge,h=t.swiped,m=t.swiping,v=t.slideCount,g=t.slidesToScroll,w=t.infinite,x=t.touchObject,k=t.swipeEvent,S=t.listHeight,E=t.listWidth;if(!n){if(r)return u(e);o&&i&&s&&u(e);var C,T={},O=A(t);x.curX=e.touches?e.touches[0].pageX:e.clientX,x.curY=e.touches?e.touches[0].pageY:e.clientY,x.swipeLength=Math.round(Math.sqrt(Math.pow(x.curX-x.startX,2)));var M=Math.round(Math.sqrt(Math.pow(x.curY-x.startY,2)));if(!s&&!m&&M>10)return{scrolling:!0};s&&(x.swipeLength=M);var I=(l?-1:1)*(x.curX>x.startX?1:-1);s&&(I=x.curY>x.startY?1:-1);var R=Math.ceil(v/g),P=y(t.touchObject,s),_=x.swipeLength;return!w&&(0===c&&("right"===P||"down"===P)||c+1>=R&&("left"===P||"up"===P)||!b(t)&&("left"===P||"up"===P))&&(_=x.swipeLength*d,!1===f&&p&&(p(P),T.edgeDragged=!0)),!h&&k&&(k(P),T.swiped=!0),C=o?O+S/E*_*I:l?O-_*I:O+_*I,s&&(C=O+_*I),T=a(a({},T),{},{touchObject:x,swipeLeft:C,trackStyle:j(a(a({},t),{},{left:C}))}),Math.abs(x.curX-x.startX)<.8*Math.abs(x.curY-x.startY)||x.swipeLength>10&&(T.swiping=!0,u(e)),T}};t.swipeMove=T;var O=function(e,t){var n=t.dragging,r=t.swipe,o=t.touchObject,i=t.listWidth,s=t.touchThreshold,l=t.verticalSwiping,c=t.listHeight,d=t.swipeToSlide,f=t.scrolling,p=t.onSwipe,h=t.targetSlide,m=t.currentSlide,v=t.infinite;if(!n)return r&&u(e),{};var g=l?c/s:i/s,b=y(o,l),w={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(f||!o.swipeLength)return w;if(o.swipeLength>g){u(e),p&&p(b);var x,k,S=v?m:h;switch(b){case"left":case"up":k=S+R(t),x=d?I(t,k):k,w.currentDirection=0;break;case"right":case"down":k=S-R(t),x=d?I(t,k):k,w.currentDirection=1;break;default:x=S}w.triggerSlideHandler=x}else{var E=A(t);w.trackStyle=_(a(a({},t),{},{left:E}))}return w};t.swipeEnd=O;var M=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,n=e.infinite?-1*e.slidesToShow:0,r=e.infinite?-1*e.slidesToShow:0,o=[];n<t;)o.push(n),n=r+e.slidesToScroll,r+=Math.min(e.slidesToScroll,e.slidesToShow);return o};t.getNavigableIndexes=M;var I=function(e,t){var n=M(e),r=0;if(t>n[n.length-1])t=n[n.length-1];else for(var o in n){if(t<n[o]){t=r;break}r=n[o]}return t};t.checkNavigable=I;var R=function(e){var t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(!e.swipeToSlide)return e.slidesToScroll;var n,r=e.listRef;if(Array.from(r.querySelectorAll&&r.querySelectorAll(".slick-slide")||[]).every(function(r){if(e.vertical){if(r.offsetTop+g(r)/2>-1*e.swipeLeft)return n=r,!1}else if(r.offsetLeft-t+v(r)/2>-1*e.swipeLeft)return n=r,!1;return!0}),!n)return 0;var o=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(n.dataset.index-o)||1};t.getSlideCount=R;var P=function(e,t){return t.reduce(function(t,n){return t&&e.hasOwnProperty(n)},!0)?null:console.error("Keys Missing:",e)};t.checkSpecKeys=P;var j=function(e){P(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var t,n,r=e.slideCount+2*e.slidesToShow;e.vertical?n=r*e.slideHeight:t=L(e)*e.slideWidth;var o={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var i=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",s=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",l=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";o=a(a({},o),{},{WebkitTransform:i,transform:s,msTransform:l})}else e.vertical?o.top=e.left:o.left=e.left;return e.fade&&(o={opacity:1}),t&&(o.width=t),n&&(o.height=n),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?o.marginTop=e.left+"px":o.marginLeft=e.left+"px"),o};t.getTrackCSS=j;var _=function(e){P(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=j(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t};t.getTrackAnimateCSS=_;var A=function(e){if(e.unslick)return 0;P(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t=e.slideIndex,n=e.trackRef,r=e.infinite,o=e.centerMode,i=e.slideCount,a=e.slidesToShow,s=e.slidesToScroll,l=e.slideWidth,u=e.listWidth,c=e.variableWidth,d=e.slideHeight,f=e.fade,p=e.vertical,h=0,m=0;if(f||1===e.slideCount)return 0;var v=0;if(r?(v=-D(e),i%s!=0&&t+s>i&&(v=-(t>
1i?a-(t-i):i%s)),o&&(v+=parseInt(a/2))):(i%s!=0&&t+s>i&&(v=a-i%s),o&&(v=parseInt(a/2))),h=v*l,m=v*d,g=p?-(t*d*1)+m:-(t*l*1)+h,!0===c){var g,y,b,w=n&&n.node;if(b=t+D(e),g=(y=w&&w.childNodes[b])?-1*y.offsetLeft:0,!0===o){b=r?t+D(e):t,y=w&&w.children[b],g=0;for(var x=0;x<b;x++)g-=w&&w.children[x]&&w.children[x].offsetWidth;g-=parseInt(e.centerPadding),g+=y&&(u-y.offsetWidth)/2}}return g};t.getTrackLeft=A;var D=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)};t.getPreClones=D;var N=function(e){return e.unslick||!e.infinite?0:e.slideCount};t.getPostClones=N;var L=function(e){return 1===e.slideCount?1:D(e)+e.slideCount+N(e)};t.getTotalSlides=L;var W=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+F(e)?"left":"right":e.targetSlide<e.currentSlide-B(e)?"right":"left"};t.siblingDirection=W;var F=function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl,o=e.centerPadding;if(n){var i=(t-1)/2+1;return parseInt(o)>0&&(i+=1),r&&t%2==0&&(i+=1),i}return r?0:t-1};t.slidesOnRight=F;var B=function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl,o=e.centerPadding;if(n){var i=(t-1)/2+1;return parseInt(o)>0&&(i+=1),r||t%2!=0||(i+=1),i}return r?t-1:0};t.slidesOnLeft=B;var z=function(){return!!("undefined"!=typeof window&&window.document&&window.document.createElement)};t.canUseDOM=z},52937:function(e,t,n){"use strict";n.d(t,{Ws:function(){return d}});var r,o=n(8247),i=function(){return r||n.nc};function a(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=i();return t&&e.setAttribute("nonce",t),e}function s(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function l(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}var u=function(){var e=0,t=null;return{add:function(n){0==e&&(t=a())&&(s(t,n),l(t)),e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},c=function(){var e=u();return function(t,n){o.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},d=function(){var e=c();return function(t){return e(t.styles,t.dynamic),null}}},60538:function(e,t,n){"use strict";n.r(t);var r=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some(function(e,r){return e[0]===t&&(n=r,!0)}),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var o=r[n];e.call(t,o[1],o[0])}},t}()}(),o="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i=function(){return void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")()}(),a=function(){return"function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}}(),s=2;function l(e,t){var n=!1,r=!1,o=0;function i(){n&&(n=!1,e()),r&&u()}function l(){a(i)}function u(){var e=Date.now();if(n){if(e-o<s)return;r=!0}else n=!0,r=!1,setTimeout(l,t);o=e}return u}var u=20,c=["top","right","bottom","left","width","height","size","weight"],d="undefined"!=typeof MutationObserver,f=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=l(this.refresh.bind(this),u)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter(function(e){return e.gatherActive(),e.hasActive()});return e.forEach(function(e){return e.broadcastActive()}),e.length>0},e.prototype.connect_=function(){o&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),d?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){o&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;c.some(function(e){return!!~n.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=ne
1w e),this.instance_},e.instance_=null,e}(),p=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var o=r[n];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e},h=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||i},m=C(0,0,0,0);function v(e){return parseFloat(e)||0}function g(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce(function(t,n){return t+v(e["border-"+n+"-width"])},0)}function y(e){for(var t=["top","right","bottom","left"],n={},r=0,o=t;r<o.length;r++){var i=o[r],a=e["padding-"+i];n[i]=v(a)}return n}function b(e){var t=e.getBBox();return C(0,0,t.width,t.height)}function w(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return m;var r=h(e).getComputedStyle(e),o=y(r),i=o.left+o.right,a=o.top+o.bottom,s=v(r.width),l=v(r.height);if("border-box"===r.boxSizing&&(Math.round(s+i)!==t&&(s-=g(r,"left","right")+i),Math.round(l+a)!==n&&(l-=g(r,"top","bottom")+a)),!k(e)){var u=Math.round(s+i)-t,c=Math.round(l+a)-n;1!==Math.abs(u)&&(s-=u),1!==Math.abs(c)&&(l-=c)}return C(o.left,o.top,s,l)}var x=function(){return"undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof h(e).SVGGraphicsElement}:function(e){return e instanceof h(e).SVGElement&&"function"==typeof e.getBBox}}();function k(e){return e===h(e).document.documentElement}function S(e){return o?x(e)?b(e):w(e):m}function E(e){var t=e.x,n=e.y,r=e.width,o=e.height,i=Object.create(("undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object).prototype);return p(i,{x:t,y:n,width:r,height:o,top:n,right:t+r,bottom:o+n,left:t}),i}function C(e,t,n,r){return{x:e,y:t,width:n,height:r}}var T=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=C(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=S(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),O=function(){return function(e,t){p(this,{target:e,contentRect:E(t)})}}(),M=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof e)throw TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof h(e).Element))throw TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new T(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof h(e).Element))throw TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(t){t.isActive()&&e.activeObservations_.push(t)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map(function(e){return new O(e.target,e.broadcastRect())});this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),I="undefined"!=typeof WeakMap?new WeakMap:new r,R=function(){function e(t){if(!(this instanceof e))throw TypeError("Cannot call a class as a function.");if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");var n=new M(t,f.getInstance(),this);I.set(this,n)}return e}();["observe","unobserve","disconnect"].forEach(function(e){R.prototype[e]=function(){var t;return(t=I.get(this))[e].apply(t,arguments)}});var P=function(){return void 0!==i.ResizeObserver?i.ResizeObserver:R}();t.default=P},14612:function(e){var t=function(e){return e.replace(/[A-Z]/g,function(e){return"-"+e.toLowerCase()}).toLowerCase()};e.exports=t},41662:function(e,t,n){"use strict";var r=(this&&this.__importDefault||function(e){return e&&e.__esMo
1dule?e:{default:e}})(n(33945)),o=n(79383);function i(e,t){var n={};return e&&"string"==typeof e&&(0,r.default)(e,function(e,r){e&&r&&(n[(0,o.camelCase)(e,t)]=r)}),n}i.default=i,e.exports=i},79383:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,r=/-([a-z])/g,o=/^[^-]+$/,i=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,s=function(e){return!e||o.test(e)||n.test(e)},l=function(e,t){return t.toUpperCase()},u=function(e,t){return"".concat(t,"-")},c=function(e,t){return(void 0===t&&(t={}),s(e))?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(a,u):e.replace(i,u)).replace(r,l))};t.camelCase=c},33945:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var o=r(n(99870));function i(e,t){var n=null;if(!e||"string"!=typeof e)return n;var r=(0,o.default)(e),i="function"==typeof t;return r.forEach(function(e){if("declaration"===e.type){var r=e.property,o=e.value;i?t(r,o,e):o&&((n=n||{})[r]=o)}}),n}},62944:function(e,t,n){"use strict";n.d(t,{q:function(){return l}});var r=n(8247);function o(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}function i(e,t){var n=(0,r.useState)(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(value){var r=n.value;r!==value&&(n.value=value,n.callback(value,r))}}}})[0];return n.callback=t,n.facade}var a="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,s=new WeakMap;function l(e,t){var n=i(t||null,function(t){return e.forEach(function(e){return o(e,t)})});return a(function(){var t=s.get(n);if(t){var r=new Set(t),i=new Set(e),a=n.current;r.forEach(function(e){i.has(e)||o(e,null)}),i.forEach(function(e){r.has(e)||o(e,a)})}s.set(n,e)},[e]),n}},46839:function(e,t,n){"use strict";n.d(t,{L:function(){return a}});var r=n(14058),o=n(8247),i=function(e){var t=e.sideCar,n=(0,r._T)(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var i=t.read();if(!i)throw Error("Sidecar medium not found");return o.createElement(i,(0,r.pi)({},n))};function a(e,t){return e.useMedium(t),i}i.isSideCarExport=!0},94899:function(e,t,n){"use strict";n.d(t,{_:function(){return a}});var r=n(14058);function o(e){return e}function i(e,t){void 0===t&&(t=o);var n=[],r=!1;return{read:function(){if(r)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter(function(e){return e!==o})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var i=function(){var n=t;t=[],n.forEach(e)},a=function(){return Promise.resolve().then(i)};a(),n={push:function(e){t.push(e),a()},filter:function(e){return t=t.filter(e),n}}}}}function a(e){void 0===e&&(e={});var t=i(null);return t.options=(0,r.pi)({async:!0,ssr:!1},e),t}},54378:function(){},47937:function(){},32608:function(e){var t,n,r,o=e.exports={};function i(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function s(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}function l(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{return n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var u=[],c=!1,d=-1;function f(){c&&r&&(c=!1,r.length?u=r.concat(u):d=-1,u.length&&p())}function p(){if(!c){var e=s(f);c=!0;for(var t=u.length;t;){for(r=u,u=[];++d<t;)r&&r[d].run();d=-1,t=u.length}r=null,c=!1,l(e)}}function h(e,t){this.fun=e,this.array=t}function m(){}o.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new h(e,t)),1!==u.length||c||s(p)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=m,o.addListener=m,o.once=m,o.off=m,o.removeListener=m,o.removeAllListeners=m,o.emit=m,o.prependListener=m,o.prependOnceListener=m,o.listeners=function(e){return[]},o.binding=function(e){throw Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw Error("process.chdir is not supported")},o.umask=function(){return 0}},86183:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];
1n&&(e=a(e,i(n)))}return e}function i(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0!==(n=(function(){return o}).apply(t,[]))&&(e.exports=n)}()},56111:function(e,t,n){"use strict";n.d(t,{x7:function(){return eL},Me:function(){return eP},oo:function(){return eF},RR:function(){return eA},Cp:function(){return eN},dr:function(){return eW},cv:function(){return ej},uY:function(){return e_},dp:function(){return eD}});let r=["top","right","bottom","left"],o=Math.min,i=Math.max,a=Math.round,s=Math.floor,l=e=>({x:e,y:e}),u={left:"right",right:"left",bottom:"top",top:"bottom"},c={start:"end",end:"start"};function d(e,t,n){return i(e,o(t,n))}function f(e,t){return"function"==typeof e?e(t):e}function p(e){return e.split("-")[0]}function h(e){return e.split("-")[1]}function m(e){return"x"===e?"y":"x"}function v(e){return"y"===e?"height":"width"}function g(e){return["top","bottom"].includes(p(e))?"y":"x"}function y(e){return m(g(e))}function b(e,t,n){void 0===n&&(n=!1);let r=h(e),o=y(e),i=v(o),a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=E(a)),[a,E(a)]}function w(e){let t=E(e);return[x(e),t,x(t)]}function x(e){return e.replace(/start|end/g,e=>c[e])}function k(e,t,n){let r=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":if(n)return t?o:r;return t?r:o;case"left":case"right":return t?i:a;default:return[]}}function S(e,t,n,r){let o=h(e),i=k(p(e),"start"===n,r);return o&&(i=i.map(e=>e+"-"+o),t&&(i=i.concat(i.map(x)))),i}function E(e){return e.replace(/left|right|bottom|top/g,e=>u[e])}function C(e){return{top:0,right:0,bottom:0,left:0,...e}}function T(e){return"number"!=typeof e?C(e):{top:e,right:e,bottom:e,left:e}}function O(e){let{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function M(e,t,n){let r,{reference:o,floating:i}=e,a=g(t),s=y(t),l=v(s),u=p(t),c="y"===a,d=o.x+o.width/2-i.width/2,f=o.y+o.height/2-i.height/2,m=o[l]/2-i[l]/2;switch(u){case"top":r={x:d,y:o.y-i.height};break;case"bottom":r={x:d,y:o.y+o.height};break;case"right":r={x:o.x+o.width,y:f};break;case"left":r={x:o.x-i.width,y:f};break;default:r={x:o.x,y:o.y}}switch(h(t)){case"start":r[s]-=m*(n&&c?-1:1);break;case"end":r[s]+=m*(n&&c?-1:1)}return r}let I=async(e,t,n)=>{let{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=i.filter(Boolean),l=await (null==a.isRTL?void 0:a.isRTL(t)),u=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:d}=M(u,r,l),f=r,p={},h=0;for(let n=0;n<s.length;n++){let{name:i,fn:m}=s[n],{x:v,y:g,data:y,reset:b}=await m({x:c,y:d,initialPlacement:r,placement:f,strategy:o,middlewareData:p,rects:u,platform:a,elements:{reference:e,floating:t}});c=null!=v?v:c,d=null!=g?g:d,p={...p,[i]:{...p[i],...y}},b&&h<=50&&(h++,"object"==typeof b&&(b.placement&&(f=b.placement),b.rects&&(u=!0===b.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):b.rects),{x:c,y:d}=M(u,f,l)),n=-1)}return{x:c,y:d,placement:f,strategy:o,middlewareData:p}};async function R(e,t){var n;void 0===t&&(t={});let{x:r,y:o,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=f(t,e),m=T(h),v="floating"===d?"reference":"floating",g=s[p?v:d],y=O(await i.getClippingRect({element:null==(n=await (null==i.isElement?void 0:i.isElement(g)))||n?g:g.contextElement||await (null==i.getDocumentElement?void 0:i.getDocumentElement(s.floating)),boundary:u,rootBoundary:c,strategy:l})),b="floating"===d?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,w=await (null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),x=await (null==i.isElement?void 0:i.isElement(w))&&await (null==i.getScale?void 0:i.getScale(w))||{x:1,y:1},k=O(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:b,offsetParent:w,strategy:l}):b);return{top:(y.top-k.top+m.top)/x.y,bottom:(k.bottom-y.bottom+m.bottom)/x.y,left:(y.left-k.left+m.left)/x.x,right:(k.right-y.right+m.right)/x.x}}let P=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:s,elements:l,middlewareData:u}=t,{element:c,padding:p=0}=f(e,t)||{};if(null==c)return{};let m=T(p),g={x:n,y:r},b=y(i),w=v(b),x=await s.getDimensions(c),k="y"===b,S=k?"top":"left",E=k?"bottom":"right",C=k?"clientHeight":"clientWidth",O=a.reference[w]+a.reference[b]-g[b]-a.floating[w],M=g[b]-a.reference[b],I=await (null==s.getOffsetParent?void 0:s.getOffsetParent(c)),R=I?I[C]:0;R&&await (null==s.isElement?void 0:s.isElement(I))||(R=l.floating[C]||a.floating[w]);
1let P=O/2-M/2,j=R/2-x[w]/2-1,_=o(m[S],j),A=o(m[E],j),D=_,N=R-x[w]-A,L=R/2-x[w]/2+P,W=d(D,L,N),F=!u.arrow&&null!=h(i)&&L!==W&&a.reference[w]/2-(L<D?_:A)-x[w]/2<0,B=F?L<D?L-D:L-N:0;return{[b]:g[b]+B,data:{[b]:W,centerOffset:L-W-B,...F&&{alignmentOffset:B}},reset:F}}}),j=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r,o,i,a;let{placement:s,middlewareData:l,rects:u,initialPlacement:c,platform:d,elements:h}=t,{mainAxis:m=!0,crossAxis:v=!0,fallbackPlacements:y,fallbackStrategy:x="bestFit",fallbackAxisSideDirection:k="none",flipAlignment:C=!0,...T}=f(e,t);if(null!=(n=l.arrow)&&n.alignmentOffset)return{};let O=p(s),M=g(c),I=p(c)===c,P=await (null==d.isRTL?void 0:d.isRTL(h.floating)),j=y||(I||!C?[E(c)]:w(c)),_="none"!==k;!y&&_&&j.push(...S(c,C,k,P));let A=[c,...j],D=await R(t,T),N=[],L=(null==(r=l.flip)?void 0:r.overflows)||[];if(m&&N.push(D[O]),v){let e=b(s,u,P);N.push(D[e[0]],D[e[1]])}if(L=[...L,{placement:s,overflows:N}],!N.every(e=>e<=0)){let e=((null==(o=l.flip)?void 0:o.index)||0)+1,t=A[e];if(t)return{data:{index:e,overflows:L},reset:{placement:t}};let n=null==(i=L.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!n)switch(x){case"bestFit":{let e=null==(a=L.filter(e=>{if(_){let t=g(e.placement);return t===M||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:a[0];e&&(n=e);break}case"initialPlacement":n=c}if(s!==n)return{reset:{placement:n}}}return{}}}};function _(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function A(e){return r.some(t=>e[t]>=0)}let D=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){let{rects:n}=t,{strategy:r="referenceHidden",...o}=f(e,t);switch(r){case"referenceHidden":{let e=_(await R(t,{...o,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:A(e)}}}case"escaped":{let e=_(await R(t,{...o,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:A(e)}}}default:return{}}}}};async function N(e,t){let{placement:n,platform:r,elements:o}=e,i=await (null==r.isRTL?void 0:r.isRTL(o.floating)),a=p(n),s=h(n),l="y"===g(n),u=["left","top"].includes(a)?-1:1,c=i&&l?-1:1,d=f(t,e),{mainAxis:m,crossAxis:v,alignmentAxis:y}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&"number"==typeof y&&(v="end"===s?-1*y:y),l?{x:v*c,y:m*u}:{x:m*u,y:v*c}}let L=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:o,y:i,placement:a,middlewareData:s}=t,l=await N(t,e);return a===(null==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:a}}}}},W=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=f(e,t),u={x:n,y:r},c=await R(t,l),h=g(p(o)),v=m(h),y=u[v],b=u[h];if(i){let e="y"===v?"top":"left",t="y"===v?"bottom":"right",n=y+c[e],r=y-c[t];y=d(n,y,r)}if(a){let e="y"===h?"top":"left",t="y"===h?"bottom":"right",n=b+c[e],r=b-c[t];b=d(n,b,r)}let w=s.fn({...t,[v]:y,[h]:b});return{...w,data:{x:w.x-n,y:w.y-r,enabled:{[v]:i,[h]:a}}}}}},F=function(e){return void 0===e&&(e={}),{options:e,fn(t){let{x:n,y:r,placement:o,rects:i,middlewareData:a}=t,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=f(e,t),c={x:n,y:r},d=g(o),h=m(d),v=c[h],y=c[d],b=f(s,t),w="number"==typeof b?{mainAxis:b,crossAxis:0}:{mainAxis:0,crossAxis:0,...b};if(l){let e="y"===h?"height":"width",t=i.reference[h]-i.floating[e]+w.mainAxis,n=i.reference[h]+i.reference[e]-w.mainAxis;v<t?v=t:v>n&&(v=n)}if(u){var x,k;let e="y"===h?"width":"height",t=["top","left"].includes(p(o)),n=i.reference[d]-i.floating[e]+(t&&(null==(x=a.offset)?void 0:x[d])||0)+(t?0:w.crossAxis),r=i.reference[d]+i.reference[e]+(t?0:(null==(k=a.offset)?void 0:k[d])||0)-(t?w.crossAxis:0);y<n?y=n:y>r&&(y=r)}return{[h]:v,[d]:y}}}},B=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,r;let a,s;let{placement:l,rects:u,platform:c,elements:d}=t,{apply:m=()=>{},...v}=f(e,t),y=await R(t,v),b=p(l),w=h(l),x="y"===g(l),{width:k,height:S}=u.floating;"top"===b||"bottom"===b?(a=b,s=w===(await (null==c.isRTL?void 0:c.isRTL(d.floating))?"start":"end")?"left":"right"):(s=b,a="end"===w?"top":"bottom");let E=S-y.top-y.bottom,C=k-y.left-y.right,T=o(S-y[a],E),O=o(k-y[s],C),M=!t.middlewareData.shift,I=T,P=O;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(P=C),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(I=E),M&&!w){let e=i(y.left,0),t=i(y.right,0),n=i(y.top,0),r=i(y.bottom,0);x?P=k-2*(0!==e||0!==t?e+t:i(y.left,y.right)):I=S-2*(0!==n||0!==r?n+r:i(y.top,y.bottom))}await m({...t,availableWidth:P,availableHeight:I});let j=await c.getDimensions(d.floating);return k!==j.width||S!==j.height?{reset:{rects:!0}}:{}}}};function z(){return"undefined"!=typeof window}function H(e){return q(e)?(e.nodeName||"").toLowerCase():"#document"}function V(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function U(e){var t;return null==(t=(q(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function q(e){return!!z()&&(e instanceof Node||e instanceof V(e).Node)}function Y(e){return!!z()&&(e instanceof Element||e instanceof V(e).Element)}function $(e){return!!z()&&(e instanceof HTMLElement||e instanceof V(e).HTMLElement)}function K(e){return!!z()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof V(e).ShadowRoot)}function G(e){let{overflow:t,overflowX:n,overflowY:r,display:o}=en(e);
1return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function Z(e){return["table","td","th"].includes(H(e))}function X(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch(e){return!1}})}function Q(e){let t=ee(),n=Y(e)?en(e):e;return["transform","translate","scale","rotate","perspective"].some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","translate","scale","rotate","perspective","filter"].some(e=>(n.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(n.contain||"").includes(e))}function J(e){let t=eo(e);for(;$(t)&&!et(t);){if(Q(t))return t;if(X(t))break;t=eo(t)}return null}function ee(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function et(e){return["html","body","#document"].includes(H(e))}function en(e){return V(e).getComputedStyle(e)}function er(e){return Y(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function eo(e){if("html"===H(e))return e;let t=e.assignedSlot||e.parentNode||K(e)&&e.host||U(e);return K(t)?t.host:t}function ei(e){let t=eo(e);return et(t)?e.ownerDocument?e.ownerDocument.body:e.body:$(t)&&G(t)?t:ei(t)}function ea(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let o=ei(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=V(o);if(i){let e=es(a);return t.concat(a,a.visualViewport||[],G(o)?o:[],e&&n?ea(e):[])}return t.concat(o,ea(o,[],n))}function es(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function el(e){let t=en(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,o=$(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,l=a(n)!==i||a(r)!==s;return l&&(n=i,r=s),{width:n,height:r,$:l}}function eu(e){return Y(e)?e:e.contextElement}function ec(e){let t=eu(e);if(!$(t))return l(1);let n=t.getBoundingClientRect(),{width:r,height:o,$:i}=el(t),s=(i?a(n.width):n.width)/r,u=(i?a(n.height):n.height)/o;return s&&Number.isFinite(s)||(s=1),u&&Number.isFinite(u)||(u=1),{x:s,y:u}}let ed=l(0);function ef(e){let t=V(e);return ee()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:ed}function ep(e,t,n){return void 0===t&&(t=!1),!!n&&(!t||n===V(e))&&t}function eh(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),i=eu(e),a=l(1);t&&(r?Y(r)&&(a=ec(r)):a=ec(e));let s=ep(i,n,r)?ef(i):l(0),u=(o.left+s.x)/a.x,c=(o.top+s.y)/a.y,d=o.width/a.x,f=o.height/a.y;if(i){let e=V(i),t=r&&Y(r)?V(r):r,n=e,o=es(n);for(;o&&r&&t!==n;){let e=ec(o),t=o.getBoundingClientRect(),r=en(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;u*=e.x,c*=e.y,d*=e.x,f*=e.y,u+=i,c+=a,o=es(n=V(o))}}return O({width:d,height:f,x:u,y:c})}function em(e,t){let n=er(e).scrollLeft;return t?t.left+n:eh(U(e)).left+n}function ev(e,t,n){void 0===n&&(n=!1);let r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-(n?0:em(e,r)),y:r.top+t.scrollTop}}function eg(e){let t=U(e),n=er(e),r=e.ownerDocument.body,o=i(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=i(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),s=-n.scrollLeft+em(e),l=-n.scrollTop;return"rtl"===en(r).direction&&(s+=i(t.clientWidth,r.clientWidth)-o),{width:o,height:a,x:s,y:l}}function ey(e,t){let n=V(e),r=U(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;let e=ee();(!e||e&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}function eb(e,t){let n=eh(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=$(e)?ec(e):l(1),a=e.clientWidth*i.x;return{width:a,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}}function ew(e,t,n){let r;if("viewport"===t)r=ey(e,n);else if("document"===t)r=eg(U(e));else if(Y(t))r=eb(t,n);else{let n=ef(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return O(r)}function ex(e,t){let n=eo(e);return!(n===t||!Y(n)||et(n))&&("fixed"===en(n).position||ex(n,t))}function ek(e,t){let n=t.get(e);if(n)return n;let r=ea(e,[],!1).filter(e=>Y(e)&&"body"!==H(e)),o=null,i="fixed"===en(e).position,a=i?eo(e):e;for(;Y(a)&&!et(a);){let t=en(a),n=Q(a);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&!!o&&["absolute","fixed"].includes(o.position)||G(a)&&!n&&ex(e,a))?r=r.filter(e=>e!==a):o=t,a=eo(a)}return t.set(e,r),r}
1function eS(e,t,n){let r=$(t),o=U(t),i="fixed"===n,a=eh(e,!0,i,t),s={scrollLeft:0,scrollTop:0},u=l(0);if(r||!r&&!i){if(("body"!==H(t)||G(o))&&(s=er(t)),r){let e=eh(t,!0,i,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else o&&(u.x=em(o))}let c=!o||r||i?l(0):ev(o,s);return{x:a.left+s.scrollLeft-u.x-c.x,y:a.top+s.scrollTop-u.y-c.y,width:a.width,height:a.height}}function eE(e){return"static"===en(e).position}function eC(e,t){if(!$(e)||"fixed"===en(e).position)return null;if(t)return t(e);let n=e.offsetParent;return U(e)===n&&(n=n.ownerDocument.body),n}function eT(e,t){let n=V(e);if(X(e))return n;if(!$(e)){let t=eo(e);for(;t&&!et(t);){if(Y(t)&&!eE(t))return t;t=eo(t)}return n}let r=eC(e,t);for(;r&&Z(r)&&eE(r);)r=eC(r,t);return r&&et(r)&&eE(r)&&!Q(r)?n:r||J(e)||n}let eO=async function(e){let t=this.getOffsetParent||eT,n=this.getDimensions,r=await n(e.floating);return{reference:eS(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},eM={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e,i="fixed"===o,a=U(r),s=!!t&&X(t.floating);if(r===a||s&&i)return n;let u={scrollLeft:0,scrollTop:0},c=l(1),d=l(0),f=$(r);if((f||!f&&!i)&&(("body"!==H(r)||G(a))&&(u=er(r)),$(r))){let e=eh(r);c=ec(r),d.x=e.x+r.clientLeft,d.y=e.y+r.clientTop}let p=!a||f||i?l(0):ev(a,u,!0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-u.scrollLeft*c.x+d.x+p.x,y:n.y*c.y-u.scrollTop*c.y+d.y+p.y}},getDocumentElement:U,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:a}=e,s=[..."clippingAncestors"===n?X(t)?[]:ek(t,this._c):[].concat(n),r],l=s[0],u=s.reduce((e,n)=>{let r=ew(t,n,a);return e.top=i(r.top,e.top),e.right=o(r.right,e.right),e.bottom=o(r.bottom,e.bottom),e.left=i(r.left,e.left),e},ew(t,l,a));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},getOffsetParent:eT,getElementRects:eO,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=el(e);return{width:t,height:n}},getScale:ec,isElement:Y,isRTL:function(e){return"rtl"===en(e).direction}};function eI(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function eR(e,t){let n,r=null,a=U(e);function l(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}function u(c,d){void 0===c&&(c=!1),void 0===d&&(d=1),l();let f=e.getBoundingClientRect(),{left:p,top:h,width:m,height:v}=f;if(c||t(),!m||!v)return;let g=s(h),y={rootMargin:-g+"px "+-s(a.clientWidth-(p+m))+"px "+-s(a.clientHeight-(h+v))+"px "+-s(p)+"px",threshold:i(0,o(1,d))||1},b=!0;function w(t){let r=t[0].intersectionRatio;if(r!==d){if(!b)return u();r?u(!1,r):n=setTimeout(()=>{u(!1,1e-7)},1e3)}1!==r||eI(f,e.getBoundingClientRect())||u(),b=!1}try{r=new IntersectionObserver(w,{...y,root:a.ownerDocument})}catch(e){r=new IntersectionObserver(w,y)}r.observe(e)}return u(!0),l}function eP(e,t,n,r){let o;void 0===r&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:u=!1}=r,c=eu(e),d=i||a?[...c?ea(c):[],...ea(t)]:[];d.forEach(e=>{i&&e.addEventListener("scroll",n,{passive:!0}),a&&e.addEventListener("resize",n)});let f=c&&l?eR(c,n):null,p=-1,h=null;s&&(h=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=h)||e.observe(t)})),n()}),c&&!u&&h.observe(c),h.observe(t));let m=u?eh(e):null;function v(){let t=eh(e);m&&!eI(m,t)&&n(),m=t,o=requestAnimationFrame(v)}return u&&v(),n(),()=>{var e;d.forEach(e=>{i&&e.removeEventListener("scroll",n),a&&e.removeEventListener("resize",n)}),null==f||f(),null==(e=h)||e.disconnect(),h=null,u&&cancelAnimationFrame(o)}}let ej=L,e_=W,eA=j,eD=B,eN=D,eL=P,eW=F,eF=(e,t,n)=>{let r=new Map,o={platform:eM,...n},i={...o.platform,_c:r};return I(e,t,{...o,platform:i})}},82157:function(e,t,n){"use strict";n.d(t,{Cp:function(){return y},RR:function(){return v},YF:function(){return d},cv:function(){return p},dp:function(){return g},dr:function(){return m},uY:function(){return h},x7:function(){return b}});var r=n(56111),o=n(8247),i=n(92122),a="undefined"!=typeof document?o.useLayoutEffect:o.useEffect;function s(e,t){let n,r,o;
vendor: 2,758 bytes, line 1
1if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!s(e[r],t[r]))return!1;return!0}if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){let n=o[r];if(("_owner"!==n||!e.$$typeof)&&!s(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function l(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function u(e,t){let n=l(e);return Math.round(t*n)/n}function c(e){let t=o.useRef(e);return a(()=>{t.current=e}),t}function d(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:d=[],platform:f,elements:{reference:p,floating:h}={},transform:m=!0,whileElementsMounted:v,open:g}=e,[y,b]=o.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[w,x]=o.useState(d);s(w,d)||x(d);let[k,S]=o.useState(null),[E,C]=o.useState(null),T=o.useCallback(e=>{e!==R.current&&(R.current=e,S(e))},[]),O=o.useCallback(e=>{e!==P.current&&(P.current=e,C(e))},[]),M=p||k,I=h||E,R=o.useRef(null),P=o.useRef(null),j=o.useRef(y),_=null!=v,A=c(v),D=c(f),N=c(g),L=o.useCallback(()=>{if(!R.current||!P.current)return;let e={placement:t,strategy:n,middleware:w};D.current&&(e.platform=D.current),(0,r.oo)(R.current,P.current,e).then(e=>{let t={...e,isPositioned:!1!==N.current};W.current&&!s(j.current,t)&&(j.current=t,i.flushSync(()=>{b(t)}))})},[w,t,n,D,N]);a(()=>{!1===g&&j.current.isPositioned&&(j.current.isPositioned=!1,b(e=>({...e,isPositioned:!1})))},[g]);let W=o.useRef(!1);a(()=>(W.current=!0,()=>{W.current=!1}),[]),a(()=>{if(M&&(R.current=M),I&&(P.current=I),M&&I){if(A.current)return A.current(M,I,L);L()}},[M,I,L,A,_]);let F=o.useMemo(()=>({reference:R,floating:P,setReference:T,setFloating:O}),[T,O]),B=o.useMemo(()=>({reference:M,floating:I}),[M,I]),z=o.useMemo(()=>{let e={position:n,left:0,top:0};if(!B.floating)return e;let t=u(B.floating,y.x),r=u(B.floating,y.y);return m?{...e,transform:"translate("+t+"px, "+r+"px)",...l(B.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,m,B.floating,y.x,y.y]);return o.useMemo(()=>({...y,update:L,refs:F,elements:B,floatingStyles:z}),[y,L,F,B,z])}let f=e=>{function t(e){return({}).hasOwnProperty.call(e,"current")}return{name:"arrow",options:e,fn(n){let{element:o,padding:i}="function"==typeof e?e(n):e;return o&&t(o)?null!=o.current?(0,r.x7)({element:o.current,padding:i}).fn(n):{}:o?(0,r.x7)({element:o,padding:i}).fn(n):{}}}},p=(e,t)=>({...(0,r.cv)(e),options:[e,t]}),h=(e,t)=>({...(0,r.uY)(e),options:[e,t]}),m=(e,t)=>({...(0,r.dr)(e),options:[e,t]}),v=(e,t)=>
1({...(0,r.RR)(e),options:[e,t]}),g=(e,t)=>({...(0,r.dp)(e),options:[e,t]}),y=(e,t)=>({...(0,r.Cp)(e),options:[e,t]}),b=(e,t)=>({...f(e),options:[e,t]})},20293:function(e,t,n){"use strict";n.d(t,{Qd:function(){return D},UQ:function(){return k},_m:function(){return L},o4:function(){return F},vF:function(){return z}});var r=n(8247),o=n(24820),i=n(39171),a=n(49818),s=n(61157),l=n(82574),u=n(42111),c=n(92853),d=n(8754),f=n(36432),p=n(31711),h="Accordion",m=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[v,g,y]=(0,i.B)(h),[b,w]=(0,o.b)(h,[y,c.p_]),x=(0,c.p_)(),k=r.forwardRef((e,t)=>{let{type:n,...r}=e,o=r,i=r;return(0,p.jsx)(v.Provider,{scope:e.__scopeAccordion,children:"multiple"===n?(0,p.jsx)(M,{...i,ref:t}):(0,p.jsx)(O,{...o,ref:t})})});k.displayName=h;var[S,E]=b(h),[C,T]=b(h,{collapsible:!1}),O=r.forwardRef((e,t)=>{let{value:n,defaultValue:o,onValueChange:i=()=>{},collapsible:a=!1,...s}=e,[u,c]=(0,l.T)({prop:n,defaultProp:o,onChange:i});return(0,p.jsx)(S,{scope:e.__scopeAccordion,value:u?[u]:[],onItemOpen:c,onItemClose:r.useCallback(()=>a&&c(""),[a,c]),children:(0,p.jsx)(C,{scope:e.__scopeAccordion,collapsible:a,children:(0,p.jsx)(P,{...s,ref:t})})})}),M=r.forwardRef((e,t)=>{let{value:n,defaultValue:o,onValueChange:i=()=>{},...a}=e,[s=[],u]=(0,l.T)({prop:n,defaultProp:o,onChange:i}),c=r.useCallback(e=>u(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return[...t,e]}),[u]),d=r.useCallback(e=>u(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t.filter(t=>t!==e)}),[u]);return(0,p.jsx)(S,{scope:e.__scopeAccordion,value:s,onItemOpen:c,onItemClose:d,children:(0,p.jsx)(C,{scope:e.__scopeAccordion,collapsible:!0,children:(0,p.jsx)(P,{...a,ref:t})})})}),[I,R]=b(h),P=r.forwardRef((e,t)=>{let{__scopeAccordion:n,disabled:o,dir:i,orientation:l="vertical",...c}=e,d=r.useRef(null),h=(0,a.e)(d,t),y=g(n),b="ltr"===(0,f.gm)(i),w=(0,s.M)(e.onKeyDown,e=>{var t;if(!m.includes(e.key))return;let n=e.target,r=y().filter(e=>{var t;return!(null===(t=e.ref.current)||void 0===t?void 0:t.disabled)}),o=r.findIndex(e=>e.ref.current===n),i=r.length;if(-1===o)return;e.preventDefault();let a=o,s=0,u=i-1,c=()=>{(a=o+1)>u&&(a=s)},d=()=>{(a=o-1)<s&&(a=u)};switch(e.key){case"Home":a=s;break;case"End":a=u;break;case"ArrowRight":"horizontal"===l&&(b?c():d());break;case"ArrowDown":"vertical"===l&&c();break;case"ArrowLeft":"horizontal"===l&&(b?d():c());break;case"ArrowUp":"vertical"===l&&d()}null===(t=r[a%i].ref.current)||void 0===t||t.focus()});return(0,p.jsx)(I,{scope:n,disabled:o,direction:i,orientation:l,children:(0,p.jsx)(v.Slot,{scope:n,children:(0,p.jsx)(u.WV.div,{...c,"data-orientation":l,ref:h,onKeyDown:o?void 0:w})})})}),j="AccordionItem",[_,A]=b(j),D=r.forwardRef((e,t)=>{let{__scopeAccordion:n,value:r,...o}=e,i=R(j,n),a=E(j,n),s=x(n),l=(0,d.M)(),u=r&&a.value.includes(r)||!1,f=i.disabled||e.disabled;return(0,p.jsx)(_,{scope:n,open:u,disabled:f,triggerId:l,children:(0,p.jsx)(c.fC,{"data-orientation":i.orientation,"data-state":H(u),...s,...o,ref:t,disabled:f,open:u,onOpenChange:e=>{e?a.onItemOpen(r):a.onItemClose(r)}})})});D.displayName=j;var N="AccordionHeader",L=r.forwardRef((e,t)=>{let{__scopeAccordion:n,...r}=e,o=R(h,n),i=A(N,n);return(0,p.jsx)(u.WV.h3,{"data-orientation":o.orientation,"data-state":H(i.open),"data-disabled":i.disabled?"":void 0,...r,ref:t})});L.displayName=N;var W="AccordionTrigger",F=r.forwardRef((e,t)=>{let{__scopeAccordion:n,...r}=e,o=R(h,n),i=A(W,n),a=T(W,n),s=x(n);return(0,p.jsx)(v.ItemSlot,{scope:n,children:(0,p.jsx)(c.xz,{"aria-disabled":i.open&&!a.collapsible||void 0,"data-orientation":o.orientation,id:i.triggerId,...s,...r,ref:t})})});F.displayName=W;var B="AccordionContent",z=r.forwardRef((e,t)=>{let{__scopeAccordion:n,...r}=e,o=R(h,n),i=A(B,n),a=x(n);return(0,p.jsx)(c.VY,{role:"region","aria-labelledby":i.triggerId,"data-orientation":o.orientation,...a,...r,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function H(e){return e?"open":"closed"}z.displayName=B},92853:function(e,t,n){"use strict";n.d(t,{VY:function(){return O},fC:function(){return C},p_:function(){return m},xz:function(){return T}});var r=n(8247),o=n(61157),i=n(24820),a=n(82574),s=n(11513),l=n(49818),u=n(42111),c=n(64287),d=n(8754),f=n(31711),p="Collapsible",[h,m]=(0,i.b)(p),[v,g]=h(p),y=r.forwardRef((e,t)=>
1{let{__scopeCollapsible:n,open:o,defaultOpen:i,disabled:s,onOpenChange:l,...c}=e,[p=!1,h]=(0,a.T)({prop:o,defaultProp:i,onChange:l});return(0,f.jsx)(v,{scope:n,disabled:s,contentId:(0,d.M)(),open:p,onOpenToggle:r.useCallback(()=>h(e=>!e),[h]),children:(0,f.jsx)(u.WV.div,{"data-state":E(p),"data-disabled":s?"":void 0,...c,ref:t})})});y.displayName=p;var b="CollapsibleTrigger",w=r.forwardRef((e,t)=>{let{__scopeCollapsible:n,...r}=e,i=g(b,n);return(0,f.jsx)(u.WV.button,{type:"button","aria-controls":i.contentId,"aria-expanded":i.open||!1,"data-state":E(i.open),"data-disabled":i.disabled?"":void 0,disabled:i.disabled,...r,ref:t,onClick:(0,o.M)(e.onClick,i.onOpenToggle)})});w.displayName=b;var x="CollapsibleContent",k=r.forwardRef((e,t)=>{let{forceMount:n,...r}=e,o=g(x,e.__scopeCollapsible);return(0,f.jsx)(c.z,{present:n||o.open,children:e=>{let{present:n}=e;return(0,f.jsx)(S,{...r,ref:t,present:n})}})});k.displayName=x;var S=r.forwardRef((e,t)=>{let{__scopeCollapsible:n,present:o,children:i,...a}=e,c=g(x,n),[d,p]=r.useState(o),h=r.useRef(null),m=(0,l.e)(t,h),v=r.useRef(0),y=v.current,b=r.useRef(0),w=b.current,k=c.open||d,S=r.useRef(k),C=r.useRef(void 0);return r.useEffect(()=>{let e=requestAnimationFrame(()=>S.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,s.b)(()=>{let e=h.current;if(e){C.current=C.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();v.current=t.height,b.current=t.width,S.current||(e.style.transitionDuration=C.current.transitionDuration,e.style.animationName=C.current.animationName),p(o)}},[c.open,o]),(0,f.jsx)(u.WV.div,{"data-state":E(c.open),"data-disabled":c.disabled?"":void 0,id:c.contentId,hidden:!k,...a,ref:m,style:{"--radix-collapsible-content-height":y?"".concat(y,"px"):void 0,"--radix-collapsible-content-width":w?"".concat(w,"px"):void 0,...e.style},children:k&&i})});function E(e){return e?"open":"closed"}var C=y,T=w,O=k},64333:function(e,t,n){"use strict";n.d(t,{Dx:function(){return et},VY:function(){return ee},aV:function(){return J},dk:function(){return en},fC:function(){return X},h_:function(){return Q},x8:function(){return er}});var r=n(8247),o=n(61157),i=n(49818),a=n(24820),s=n(8754),l=n(82574),u=n(83185),c=n(16225),d=n(80770),f=n(64287),p=n(42111),h=n(
154556),m=n(6075),v=n(3020),g=n(31462),y=n(31711),b="Dialog",[w,x]=(0,a.b)(b),[k,S]=w(b),E=e=>{let{__scopeDialog:t,children:n,open:o,defaultOpen:i,onOpenChange:a,modal:u=!0}=e,c=r.useRef(null),d=r.useRef(null),[f=!1,p]=(0,l.T)({prop:o,defaultProp:i,onChange:a});return(0,y.jsx)(k,{scope:t,triggerRef:c,contentRef:d,contentId:(0,s.M)(),titleId:(0,s.M)(),descriptionId:(0,s.M)(),open:f,onOpenChange:p,onOpenToggle:r.useCallback(()=>p(e=>!e),[p]),modal:u,children:n})};E.displayName=b;var C="DialogTrigger";r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,a=S(C,n),s=(0,i.e)(t,a.triggerRef);return(0,y.jsx)(p.WV.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":U(a.open),...r,ref:s,onClick:(0,o.M)(e.onClick,a.onOpenToggle)})}).displayName=C;var T="DialogPortal",[O,M]=w(T,{forceMount:void 0}),I=e=>{let{__scopeDialog:t,forceMount:n,children:o,container:i}=e,a=S(T,t);return(0,y.jsx)(O,{scope:t,forceMount:n,children:r.Children.map(o,e=>(0,y.jsx)(f.z,{present:n||a.open,children:(0,y.jsx)(d.h,{asChild:!0,container:i,children:e})}))})};I.displayName=T;var R="DialogOverlay",P=r.forwardRef((e,t)=>{let n=M(R,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=S(R,e.__scopeDialog);return i.modal?(0,y.jsx)(f.z,{present:r||i.open,children:(0,y.jsx)(j,{...o,ref:t})}):null});P.displayName=R;var j=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=S(R,n);return(0,y.jsx)(m.Z,{as:g.g7,allowPinchZoom:!0,shards:[o.contentRef],children:(0,y.jsx)(p.WV.div,{"data-state":U(o.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),_="DialogContent",A=r.forwardRef((e,t)=>{let n=M(_,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=S(_,e.__scopeDialog);return(0,y.jsx)(f.z,{present:r||i.open,children:i.modal?(0,y.jsx)(D,{...o,ref:t}):(0,y.jsx)(N,{...o,ref:t})})});A.displayName=_;var D=r.forwardRef((e,t)=>{let n=S(_,e.__scopeDialog),a=r.useRef(null),s=(0,i.e)(t,n.contentRef,a);return r.useEffect(()=>{let e=a.current;if(e)return(0,v.Ry)(e)},[]),(0,y.jsx)(L,{...e,ref:s,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,o.M)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null===(t=n.triggerRef.current)||void 0===t||t.focus()}),onPointerDownOutside:(0,o.M)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:(0,o.M)(e.onFocusOutside,e=>e.preventDefault())})}),N=r.forwardRef((e,t)=>{let n=S(_,e.__scopeDialog),o=r.useRef(!1),i=r.useRef(!1);return(0,y.jsx)(L,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var r,a;null===(r=e.onCloseAutoFocus)||void 0===r||r.call(e,t),t.defaultPrevented||(o.current||null===(a=n.triggerRef.current)||void 0===a||a.focus(),t.preventDefault()),o.current=!1,i.current=!1},onInteractOutside:t=>{var r,a;null===(r=e.onInteractOutside)||void 0===r||r.call(e,t),t.defaultPrevented||(o.current=!0,"pointerdown"!==t.detail.originalEvent.type||(i.current=!0));let s=t.target;(null===(a=n.triggerRef.current)||void 0===a?void 0:a.contains(s))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})}),L=r.forwardRef((e,t)=>{let{__scopeDialog:n,trapFocus:o,onOpenAutoFocus:a,onCloseAutoFocus:s,...l}=e,d=S(_,n),f=r.useRef(null),p=(0,i.e)(t,f);return(0,h.EW)(),(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(c.M,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:a,onUnmountAutoFocus:s,children:(0,y.jsx)(u.XB,{role:"dialog",id:d.contentId,"aria-describedby":d.descriptionId,"aria-labelledby":d.titleId,"data-state":U(d.open),...l,ref:p,onDismiss:()=>d.onOpenChange(!1)})}),(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(K,{titleId:d.titleId}),(0,y.jsx)(Z,{contentRef:f,descriptionId:d.descriptionId})]})]})}),W="DialogTitle",F=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=S(W,n);return(0,y.jsx)(p.WV.h2,{id:o.titleId,...r,ref:t})});F.displayName=W;var B="DialogDescription",z=r.forwardRef((e,t)=>{let{__scopeDialog:n,...r}=e,o=S(B,n);return(0,y.jsx)(p.WV.p,{id:o.descriptionId,...r,ref:t})});z.displayName=B;var H="DialogClose",V=r.forwardRef((e,t)=>
1{let{__scopeDialog:n,...r}=e,i=S(H,n);return(0,y.jsx)(p.WV.button,{type:"button",...r,ref:t,onClick:(0,o.M)(e.onClick,()=>i.onOpenChange(!1))})});function U(e){return e?"open":"closed"}V.displayName=H;var q="DialogTitleWarning",[Y,$]=(0,a.k)(q,{contentName:_,titleName:W,docsSlug:"dialog"}),K=e=>{let{titleId:t}=e,n=$(q),o="`".concat(n.contentName,"` requires a `").concat(n.titleName,"` for the component to be accessible for screen reader users.\n\nIf you want to hide the `").concat(n.titleName,"`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/").concat(n.docsSlug);return r.useEffect(()=>{t&&!document.getElementById(t)&&console.error(o)},[o,t]),null},G="DialogDescriptionWarning",Z=e=>{let{contentRef:t,descriptionId:n}=e,o=$(G),i="Warning: Missing `Description` or `aria-describedby={undefined}` for {".concat(o.contentName,"}.");return r.useEffect(()=>{var e;let r=null===(e=t.current)||void 0===e?void 0:e.getAttribute("aria-describedby");n&&r&&!document.getElementById(n)&&console.warn(i)},[i,t,n]),null},X=E,Q=I,J=P,ee=A,et=F,en=z,er=V},83185:function(e,t,n){"use strict";n.d(t,{XB:function(){return v}});var r,o=n(8247),i=n(61157),a=n(42111),s=n(49818),l=n(13970);function u(e,t=globalThis?.document){let n=(0,l.W)(e);o.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}var c=n(31711),d="DismissableLayer",f="dismissableLayer.update",p="dismissableLayer.pointerDownOutside",h="dismissableLayer.focusOutside",m=o.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),v=o.forwardRef((e,t)=>{var n,l;let{disableOutsidePointerEvents:d=!1,onEscapeKeyDown:p,onPointerDownOutside:h,onFocusOutside:v,onInteractOutside:g,onDismiss:x,...k}=e,S=o.useContext(m),[E,C]=o.useState(null),T=null!==(l=null==E?void 0:E.ownerDocument)&&void 0!==l?l:null===(n=globalThis)||void 0===n?void 0:n.document,[,O]=o.useState({}),M=(0,s.e)(t,e=>C(e)),I=Array.from(S.layers),[R]=[...S.layersWithOutsidePointerEventsDisabled].slice(-1),P=I.indexOf(R),j=E?I.indexOf(E):-1,_=S.layersWithOutsidePointerEventsDisabled.size>0,A=j>=P,D=y(e=>{let t=e.target,n=[...S.branches].some(e=>e.contains(t));!A||n||(null==h||h(e),null==g||g(e),e.defaultPrevented||null==x||x())},T),N=b(e=>{let t=e.target;[...S.branches].some(e=>e.contains(t))||(null==v||v(e),null==g||g(e),e.defaultPrevented||null==x||x())},T);return u(e=>{j!==S.layers.size-1||(null==p||p(e),!e.defaultPrevented&&x&&(e.preventDefault(),x()))},T),o.useEffect(()=>{if(E)return d&&(0===S.layersWithOutsidePointerEventsDisabled.size&&(r=T.body.style.pointerEvents,T.body.style.pointerEvents="none"),S.layersWithOutsidePointerEventsDisabled.add(E)),S.layers.add(E),w(),()=>{d&&1===S.layersWithOutsidePointerEventsDisabled.size&&(T.body.style.pointerEvents=r)}},[E,T,d,S]),o.useEffect(()=>()=>{E&&(S.layers.delete(E),S.layersWithOutsidePointerEventsDisabled.delete(E),w())},[E,S]),o.useEffect(()=>{let e=()=>O({});return document.addEventListener(f,e),()=>document.removeEventListener(f,e)},[]),(0,c.jsx)(a.WV.div,{...k,ref:M,style:{pointerEvents:_?A?"auto":"none":void 0,...e.style},onFocusCapture:(0,i.M)(e.onFocusCapture,N.onFocusCapture),onBlurCapture:(0,i.M)(e.onBlurCapture,N.onBlurCapture),onPointerDownCapture:(0,i.M)(e.onPointerDownCapture,D.onPointerDownCapture)})});v.displayName=d;var g="DismissableLayerBranch";function y(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(()=>{var e;return null===(e=globalThis)||void 0===e?void 0:e.document})(),n=(0,l.W)(e),r=o.useRef(!1),i=o.useRef(()=>{});return o.useEffect(()=>{let e=e=>{if(e.target&&!r.current){let r=function(){x(p,n,o,{discrete:!0})},o={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",i.current),i.current=r,t.addEventListener("click",i.current,{once:!0})):r()}else t.removeEventListener("click",i.current);r.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",e),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function b(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(()=>{var e;return null===(e=globalThis)||void 0===e?void 0:e.document})(),n=(0,l.W)(e),r=o.useRef(!1);return o.useEffect(()=>{let e=e=>{e.target&&!r.current&&x(h,n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function w(){let e=new CustomEvent(f);document.dispatchEvent(e)}function x(e,t,n,r){let{discrete:o}=r,i=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),o?(0,a.jH)(i,s):i.dispatchEvent(s)}o.forwardRef((e,t)=>
1{let n=o.useContext(m),r=o.useRef(null),i=(0,s.e)(t,r);return o.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,c.jsx)(a.WV.div,{...e,ref:i})}).displayName=g},41830:function(e,t,n){"use strict";n.d(t,{VY:function(){return r2},wU:function(){return r8},Ee:function(){return r3},Rk:function(){return r4},fC:function(){return r0},xz:function(){return r1}});var r,o,i,a=n(8247),s=n.t(a,2),l=Object.defineProperty,u=(e,t)=>l(e,"name",{value:t,configurable:!0}),c=!!("undefined"!=typeof window&&window.document&&window.document.createElement);function d(e,t,{checkForDefaultPrevented:n=!0}={}){return u(function(r){if(e?.(r),!1===n||!r||!r.defaultPrevented)return t?.(r)},"handleEvent")}function f(e){if(!c)throw Error("Cannot access document outside of the DOM");return e?.ownerDocument??document}function p(e,t=!1){let{activeElement:n}=f(e);if(!n?.nodeName)return null;if(h(n)&&n.contentDocument)return p(n.contentDocument.body,t);if(t){let e=n.getAttribute("aria-activedescendant");if(e){let t=f(n).getElementById(e);if(t)return t}}return n}function h(e){return"IFRAME"===e.tagName}u(d,"composeEventHandlers"),u(function(e){if(!c)throw Error("Cannot access window outside of the DOM");return e?.ownerDocument?.defaultView??window},"getOwnerWindow"),u(f,"getOwnerDocument"),u(p,"getActiveElement"),u(h,"isFrame");var m=Object.defineProperty,v=(e,t)=>m(e,"name",{value:t,configurable:!0});function g(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function y(...e){return t=>{let n=!1,r=e.map(e=>{let r=g(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():g(e[t],null)}}}}function b(...e){return a.useCallback(y(...e),e)}v(g,"setRef"),v(y,"composeRefs"),v(b,"useComposedRefs");var w=n(31711),x=Object.defineProperty,k=(e,t)=>x(e,"name",{value:t,configurable:!0});function S(e,t){let n=a.createContext(t);n.displayName=e+"Context";let r=k(e=>{let{children:t,...r}=e,o=a.useMemo(()=>r,Object.values(r));return(0,w.jsx)(n.Provider,{value:o,children:t})},"Provider");function o(r,o={}){let{optional:i=!1}=o,s=a.useContext(n);if(s)return s;if(void 0!==t)return t;if(!i)throw Error(`\`${r}\` must be used within \`${e}\``)}return r.displayName=e+"Provider",k(o,"useContext"),[r,o]}function E(e,t=[]){let n=[];function r(t,r){let o=a.createContext(r);o.displayName=t+"Context";let i=n.length;n=[...n,r];let s=k(t=>{let{scope:n,children:r,...s}=t,l=n?.[e]?.[i]||o,u=a.useMemo(()=>s,Object.values(s));return(0,w.jsx)(l.Provider,{value:u,children:r})},"Provider");function l(n,s,l={}){let{optional:u=!1}=l,c=s?.[e]?.[i]||o,d=a.useContext(c);if(d)return d;if(void 0!==r)return r;if(!u)throw Error(`\`${n}\` must be used within \`${t}\``)}return s.displayName=t+"Provider",k(l,"useContext"),[s,l]}k(r,"createContext");let o=k(()=>{let t=n.map(e=>a.createContext(e));return k(function(n){let r=n?.[e]||t;return a.useMemo(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])},"useScope")},"createScope");return o.scopeName=e,[r,C(o,...t)]}function C(...e){let t=e[0];if(1===e.length)return t;let n=k(()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return k(function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let o=n(e)[`__scope${r}`];return{...t,...o}},{});return a.useMemo(()=>({[`__scope${t.scopeName}`]:r}),[r])},"useComposedScopes")},"createScope");return n.scopeName=t.scopeName,n}k(S,"createContext"),k(E,"createContextScope"),k(C,"composeContextScopes");var T=!1,O=globalThis?.document?a.useLayoutEffect:()=>{},M=Object.defineProperty,I=(e,t)=>M(e,"name",{value:t,configurable:!0}),R=s[" useEffectEvent ".trim().toString()],P=s[" useInsertionEffect ".trim().toString()];function j(e){if("function"==typeof R)return R(e);let t=a.useRef(()=>{throw Error("Cannot call an event handler while rendering.")});return"function"==typeof P?P(()=>{t.current=e}):O(()=>{t.current=e}),a.useMemo(()=>(...e)=>t.current?.(...e),[])}I(j,"useEffectEvent");var _=Object.defineProperty,A=(e,t)=>_(e,"name",{value:t,configurable:!0}),D=s[" useInsertionEffect ".trim().toString()]||O;function N({prop:e,defaultProp:t,onChange:n=A(()=>{},"onChange"),caller:r}){let[o,i,s]=L({defaultProp:t,onChange:n}),l=void 0!==e,u=l?e:o;if(T){let t=a.useRef(void 0!==e);a.useEffect(()=>{let e=t.current;if(e!==l){let t=e?"controlled":"uncontrolled",n=l?"controlled":"uncontrolled";console.warn(`${r} is changing from ${t} to ${n}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=l},[l,r])}return[u,a.useCallback(t=>{if(l){let n=W(t)?t(e):t;n!==e&&s.current?.(n)}else i(t)},[l,e,i,s])]}function L({defaultProp:e,onChange:t}){let[n,r]=a.useState(e),o=a.useRef(n),i=a.useRef(t);return D(()=>{i.current=t},[t]),a.useEffect(()=>{o.current!==n&&(i.current?.(n),o.current=n)},[n,o]),[n,r,i]}function W(e){return"function"==typeof e}A(N,"useControllableState"),A(L,"useUncontrolledState"),A(W,"isFunction");var F=Symbol("RADIX:SYNC_STATE");A(function(e,t,n,r){let{prop:o,defaultProp:i,onChange:s,caller:l}=t,u=void 0!==o,c=j(s);if(T){let e=a.useRef(void 0!==o);a.useEffect(()=>{let t=e.current;if(t!==u){let e=t?"controlled":"uncontrolled",n=u?"controlled":"uncontrolled";console.warn(`${l} is changing from ${e} to ${n}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}e.current=u},[u,l])}let d=[{...n,state:i}];r&&d.push(r);let[f,p]=a.useReducer((t,n)=>{if(n.type===F)return{...t,state:n.state};let r=e(t,n);
1return u&&!Object.is(r.state,t.state)&&c(r.state),r},...d),h=f.state,m=a.useRef(h);a.useEffect(()=>{m.current===h||(m.current=h,u||c(h))},[h,m,u]);let v=a.useMemo(()=>void 0!==o?{...f,state:o}:f,[f,o]);return a.useEffect(()=>{u&&!Object.is(o,f.state)&&p({type:F,state:o})},[o,f.state,u]),[v,p]},"useControllableStateReducer");var B=n(92122),z=Object.defineProperty,H=(e,t)=>z(e,"name",{value:t,configurable:!0});function V(e){let t=a.forwardRef((t,n)=>{let{children:r,...o}=t,i=null,s=!1,l=[];X(r)&&"function"==typeof et&&(r=et(r._payload)),a.Children.forEach(r,e=>{if(G(e)){s=!0;let t=e,n="child"in t.props?t.props.child:t.props.children;X(n)&&"function"==typeof et&&(n=et(n._payload)),i=Y(t,n),l.push(i?.props?.children)}else l.push(e)}),i?i=a.cloneElement(i,void 0,l):!s&&1===a.Children.count(r)&&a.isValidElement(r)&&(i=r);let u=i?K(i):void 0,c=b(n,u);if(!i){if(r||0===r)throw Error(s?ee(e):J(e));return r}let d=$(o,i.props??{});return i.type!==a.Fragment&&(d.ref=n?c:u),a.cloneElement(i,d)});return t.displayName=`${e}.Slot`,t}H(V,"createSlot");var U=Symbol.for("radix.slottable");function q(e){let t=H(e=>"child"in e?e.children(e.child):e.children,"Slottable");return t.displayName=`${e}.Slottable`,t.__radixId=U,t}H(q,"createSlottable");var Y=H((e,t)=>{if("child"in e.props){let t=e.props.child;return a.isValidElement(t)?a.cloneElement(t,void 0,e.props.children(t.props.children)):null}return a.isValidElement(t)?t:null},"getSlottableElementFromSlottable");function $(e,t){let n={...t};for(let r in t){let o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function K(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(n=(t=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in t&&t.isReactWarning)?e.props.ref:e.props.ref||e.ref}function G(e){return a.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===U}H($,"mergeProps"),H(K,"getElementRef"),H(G,"isSlottable");var Z=Symbol.for("react.lazy");function X(e){return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===Z&&"_payload"in e&&Q(e._payload)}function Q(e){return"object"==typeof e&&null!==e&&"then"in e}H(X,"isLazyComponent"),H(Q,"isPromiseLike");var J=H(e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,"createSlotError"),ee=H(e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,"createSlottableError"),et=s[" use ".trim().toString()],en=Object.defineProperty,er=(e,t)=>en(e,"name",{value:t,configurable:!0}),eo=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=V(`Primitive.${t}`),r=a.forwardRef((e,r)=>{let{asChild:o,...i}=e,a=o?n:t;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,w.jsx)(a,{...i,ref:r})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function ei(e,t){e&&B.flushSync(()=>e.dispatchEvent(t))}function ea(e,t){return t.get?t.get.call(e):t.value}
1function es(e,t,n){if(!t.has(e))throw TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}function el(e,t){var n=es(e,t,"get");return ea(e,n)}function eu(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")}function ec(e,t,n){eu(e,t),t.set(e,n)}function ed(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw TypeError("attempted to set read only private field");t.value=n}}function ef(e,t,n){var r=es(e,t,"set");return ed(e,r,n),n}er(ei,"dispatchDiscreteCustomEvent");var ep=Object.defineProperty,eh=(e,t)=>ep(e,"name",{value:t,configurable:!0});function em(e){let t=e+"CollectionProvider",[n,r]=E(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=eh(e=>{let{scope:t,children:n}=e,r=a.useRef(null),i=a.useRef(new Map).current;return(0,w.jsx)(o,{scope:t,itemMap:i,collectionRef:r,children:n})},"CollectionProvider");s.displayName=t;let l=e+"CollectionSlot",u=V(l),c=a.forwardRef((e,t)=>{let{scope:n,children:r}=e,o=b(t,i(l,n).collectionRef);return(0,w.jsx)(u,{ref:o,children:r})});c.displayName=l;let d=e+"CollectionItemSlot",f="data-radix-collection-item",p=V(d),h=a.forwardRef((e,t)=>{let{scope:n,children:r,...o}=e,s=a.useRef(null),l=b(t,s),u=i(d,n);return a.useEffect(()=>(u.itemMap.set(s,{ref:s,...o}),()=>void u.itemMap.delete(s))),(0,w.jsx)(p,{[f]:"",ref:l,children:r})});function m(t){let n=i(e+"CollectionConsumer",t);return a.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(f,"]")));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])}return h.displayName=d,eh(m,"useCollection"),[{Provider:s,Slot:c,ItemSlot:h},m,r]}eh(em,"createCollection");var ev=new WeakMap,eg=(r=new WeakMap,eh(o=class e extends Map{set(e,t){return ev.get(this)&&(this.has(e)?el(this,r)[el(this,r).indexOf(e)]=e:el(this,r).push(e)),super.set(e,t),this}insert(e,t,n){let o;let i=this.has(t),a=el(this,r).length,s=ew(e),l=s>=0?s:a+s,u=l<0||l>=a?-1:l;if(u===this.size||i&&u===this.size-1||-1===u)return this.set(t,n),this;let c=this.size+(i?0:1);s<0&&l++;let d=[...el(this,r)],f=!1;for(let e=l;e<c;e++)if(l===e){let r=d[e];d[e]===t&&(r=d[e+1]),i&&this.delete(t),o=this.get(r),this.set(t,n)}else{f||d[e-1]!==t||(f=!0);let n=d[f?e:e-1],r=o;o=this.get(n),this.delete(n),this.set(n,r)}return this}with(t,n,r){let o=new e(this);return o.insert(t,n,r),o}before(e){let t=el(this,r).indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,n){let o=el(this,r).indexOf(e);return -1===o?this:this.insert(o,t,n)}after(e){let t=el(this,r).indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,n){let o=el(this,r).indexOf(e);return -1===o?this:this.insert(o+1,t,n)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return ef(this,r,[]),super.clear()}delete(e){let t=super.delete(e);return t&&el(this,r).splice(el(this,r).indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=ey(el(this,r),e);if(void 0!==t)return this.get(t)}entryAt(e){let t=ey(el(this,r),e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return el(this,r).indexOf(e)}keyAt(e){return ey(el(this,r),e)}from(e,t){let n=this.indexOf(e);if(-1===n)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.at(r)}keyFrom(e,t){let n=this.indexOf(e);if(-1===n)return;let r=n+t;return r<0&&(r=0),r>=this.size&&(r=this.size-1),this.keyAt(r)}find(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return r;n++}}findIndex(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return n;n++}return -1}filter(t,n){let r=[],o=0;for(let e of this)Reflect.apply(t,n,[e,o,this])&&r.push(e),o++;return new e(r)}map(t,n){let r=[],o=0;for(let e of this)r.push([e[0],Reflect.apply(t,n,[e,o,this])]),o++;return new e(r)}reduce(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let[r,o]=t,i=0,a=null!=o?o:this.at(0);for(let e of this)a=0===i&&1===t.length?e:Reflect.apply(r,this,[a,e,i,this]),i++;return a}reduceRight(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let[r,o]=t,i=null!=o?o:this.at(-1);for(let e=this.size-1;e>=0;e--){let n=this.at(e);i=e===this.size-1&&1===t.length?n:Reflect.apply(r,this,[i,n,e,this])}return i}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let n=this.keyAt(e),r=this.get(n);t.set(n,r)}return t}toSpliced(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];let o=[...this.entries()];return o.splice(...n),new e(o)}slice(t,n){let r=new e,o=this.size-1;if(void 0===t)return r;t<0&&(t+=this.size),void 0!==n&&n>0&&(o=n-1);for(let e=t;e<=o;e++){let t=this.keyAt(e),n=this.get(t);r.set(t,n)}return r}every(e,t){let n=0;for(let r of this){if(!Reflect.apply(e,t,[r,n,this]))return!1;n++}return!0}some(e,t){let n=0;for(let r of this){if(Reflect.apply(e,t,[r,n,this]))return!0;n++}return!1}constructor(e){super(e),ec(this,r,{writable:!0,value:void 0}),ef(this,r,[...super.keys()]),ev.set(this,!0)}},"OrderedDict"),o);function ey(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);let n=eb(e,t);return -1===n?void 0:e[n]}function eb(e,t){let n=e.length,r=ew(t),o=r>=0?r:n+r;return o<0||o>=n?-1:o}function ew(e){return e!=e||0===e?0:Math.trunc(e)}function ex(e){let t=e+"CollectionProvider",[n,r]=E(t),[o,i]=n(t,{collectionElement:null,collectionRef:{current:null},collectionRefObject:{current:null},itemMap:new eg,setItemMap:eh(()=>void 0,"setItemMap")}),s=eh(e=>{let{state:t,...n}=e;return t?(0,w.jsx)(u,{...n,state:t}):(0,w.jsx)(l,{...n})},"CollectionProvider");s.displayName=t;let l=eh(e=>{let t=g();return(0,w.jsx)(u,{...e,state:t})},"CollectionInit");l.displayName=t+"Init";let u=eh(e=>{let{scope:t,children:n,state:r}=e,i=a.useRef(null),[s,l]=a.useState(null),u=b(i,l),[c,d]=r;return a.useEffect(()=>{if(!s)return;let e=eC(()=>{});return e.observe(s,{childList:!0,subtree:!0}),()=>{e.disconnect()}},[s]),(0,w.jsx)(o,{scope:t,itemMap:c,setItemMap:d,collectionRef:u,collectionRefObject:i,collectionElement:s,children:n})},"CollectionProviderImpl");u.displayName=t+"Impl";let c=e+"CollectionSlot",d=V(c),f=a.forwardRef((e,t)=>
1{let{scope:n,children:r}=e,o=b(t,i(c,n).collectionRef);return(0,w.jsx)(d,{ref:o,children:r})});f.displayName=c;let p=e+"CollectionItemSlot",h="data-radix-collection-item",m=V(p),v=a.forwardRef((e,t)=>{let{scope:n,children:r,...o}=e,s=a.useRef(null),[l,u]=a.useState(null),c=b(t,s,u),{setItemMap:d}=i(p,n),f=a.useRef(o);ek(f.current,o)||(f.current=o);let v=f.current;return a.useEffect(()=>{let e=v;return d(t=>l?t.has(l)?t.set(l,{...e,element:l}).toSorted(eE):(t.set(l,{...e,element:l}),t.toSorted(eE)):t),()=>{d(e=>l&&e.has(l)?(e.delete(l),new eg(e)):e)}},[l,v,d]),(0,w.jsx)(m,{[h]:"",ref:c,children:r})});function g(){return a.useState(new eg)}function y(t){let{itemMap:n}=i(e+"CollectionConsumer",t);return n}return v.displayName=p,eh(g,"useInitCollection"),eh(y,"useCollection"),[{Provider:s,Slot:f,ItemSlot:v},{createCollectionScope:r,useCollection:y,useInitCollection:g}]}function ek(e,t){if(e===t)return!0;if("object"!=typeof e||"object"!=typeof t||null==e||null==t)return!1;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r of n)if(!Object.prototype.hasOwnProperty.call(t,r)||e[r]!==t[r])return!1;return!0}function eS(e,t){return!!(t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_PRECEDING)}function eE(e,t){return e[1].element&&t[1].element?eS(e[1].element,t[1].element)?-1:1:0}function eC(e){return new MutationObserver(t=>{for(let n of t)if("childList"===n.type){e();return}})}eh(ey,"at"),eh(eb,"toSafeIndex"),eh(ew,"toSafeInteger"),eh(ex,"createCollection"),eh(ek,"shallowEqual"),eh(eS,"isElementPreceding"),eh(eE,"sortByDocumentPosition"),eh(eC,"getChildListObserver");var eT=Object.defineProperty,eO=(e,t)=>eT(e,"name",{value:t,configurable:!0}),eM=a.createContext(void 0);function eI(e){let t=a.useContext(eM);return e||t||"ltr"}function eR(e){let t=a.useRef(e);return a.useEffect(()=>{t.current=e}),a.useMemo(()=>(...e)=>t.current?.(...e),[])}eO(eI,"useDirection"),(0,Object.defineProperty)(eR,"name",{value:"useCallbackRef",configurable:!0});var eP=Object.defineProperty,ej=(e,t)=>eP(e,"name",{value:t,configurable:!0}),e_="dismissableLayer.update",eA="dismissableLayer.pointerDownOutside",eD="dismissableLayer.focusOutside",eN=a.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set,dismissableSurfaces:new Set}),eL=a.forwardRef(ej(function(e,t){var n,r;let{disableOutsidePointerEvents:o=!1,deferPointerDownOutside:s=!1,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:c,onInteractOutside:f,onDismiss:p,...h}=e,m=a.useContext(eN),[v,g]=a.useState(null),y=null!==(r=null==v?void 0:v.ownerDocument)&&void 0!==r?r:null===(n=globalThis)||void 0===n?void 0:n.document,[,x]=a.useState({}),k=b(t,g),S=Array.from(m.layers),[E]=[...m.layersWithOutsidePointerEventsDisabled].slice(-1),C=E?S.indexOf(E):-1,T=v?S.indexOf(v):-1,O=m.layersWithOutsidePointerEventsDisabled.size>0,M=T>=C,I=a.useRef(!1),R=eF(e=>{null==u||u(e),null==f||f(e),e.defaultPrevented||null==p||p()},{ownerDocument:y,deferPointerDownOutside:s,isDeferredPointerDownOutsideRef:I,dismissableSurfaces:m.dismissableSurfaces,shouldHandlePointerDownOutside:a.useCallback(e=>{if(!(e instanceof Node))return!1;let t=[...m.branches].some(t=>t.contains(e));return M&&!t},[m.branches,M])}),P=eB(e=>{if(s&&I.current)return;let t=e.target;[...m.branches].some(e=>e.contains(t))||(null==c||c(e),null==f||f(e),e.defaultPrevented||null==p||p())},y),j=!!v&&T===S.length-1,_=eR(e=>{"Escape"===e.key&&(null==l||l(e),!e.defaultPrevented&&p&&(e.preventDefault(),p()))});return a.useEffect(()=>{if(j)return y.addEventListener("keydown",_,{capture:!0}),()=>y.removeEventListener("keydown",_,{capture:!0})},[y,j,_]),a.useEffect(()=>{if(v)return o&&(0===m.layersWithOutsidePointerEventsDisabled.size&&(i=y.body.style.pointerEvents,y.body.style.pointerEvents="none"),m.layersWithOutsidePointerEventsDisabled.add(v)),m.layers.add(v),ez(),()=>{o&&(m.layersWithOutsidePointerEventsDisabled.delete(v),0===m.layersWithOutsidePointerEventsDisabled.size&&(y.body.style.pointerEvents=i))}},[v,y,o,m]),a.useEffect(()=>()=>{v&&(m.layers.delete(v),m.layersWithOutsidePointerEventsDisabled.delete(v),ez())},[v,m]),a.useEffect(()=>{let e=ej(()=>x({}),"handleUpdate");return document.addEventListener(e_,e),()=>document.removeEventListener(e_,e)},[]),(0,w.jsx)(eo.div,{...h,ref:k,style:{pointerEvents:O?M?"auto":"none":void 0,...e.style},onFocusCapture:d(e.onFocusCapture,P.onFocusCapture),onBlurCapture:d(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:d(e.onPointerDownCapture,R.onPointerDownCapture)})},"DismissableLayer"));ej(function(){let e=a.useContext(eN),[t,n]=a.useState(null);return a.useEffect(()=>{if(t)return e.dismissableSurfaces.add(t),()=>{e.dismissableSurfaces.delete(t)}},[t,e.dismissableSurfaces]),n},"useDismissableLayerSurface");var eW=ej(()=>!0,"IS_TRUE");function eF(e,t){var n;let{ownerDocument:r=null===(n=globalThis)||void 0===n?void 0:n.document,deferPointerDownOutside:o=!1,isDeferredPointerDownOutsideRef:i,dismissableSurfaces:s,shouldHandlePointerDownOutside:l=eW}=t,u=eR(e),c=a.useRef(!1),d=a.useRef(!1),f=a.useRef(new Map),p=a.useRef(()=>{});return a.useEffect(()=>{function e(){d.current=!1,i.current=!1,f.current.clear()}function t(){return Array.from(f.current.values()).some(Boolean)}function n(e){if(!d.current)return;let t=e.target;t instanceof Node&&[...s].some(e=>e.contains(t))||f.current.set(e.type,!0),"click"===e.type&&window.setTimeout(()=>{d.current&&p.current()},0)}function a(e){d.current&&f.current.set(e.type,!1)}ej(e,"resetOutsideInteraction"),ej(t,"isOutsideInteractionIntercepted"),ej(n,"handleInteractionCapture"),ej(a,"handleInteractionBubble");let h=ej(n=>{if(n.target&&!c.current){let a=function(){r.removeEventListener("click",p.current);let n=t();e(),n||eH(eA,u,s,{discrete:!0})};if(ej(a,"handleAndDispatchPointerDownOutsideEvent"),!l(n.target)){r.removeEventListener("click",p.current),e(
1),c.current=!1;return}let s={originalEvent:n};d.current=!0,i.current=o&&0===n.button,f.current.clear(),o&&0===n.button?(r.removeEventListener("click",p.current),p.current=a,r.addEventListener("click",p.current,{once:!0})):a()}else r.removeEventListener("click",p.current),e();c.current=!1},"handlePointerDown"),m=["pointerup","mousedown","mouseup","touchstart","touchend","click"];for(let e of m)r.addEventListener(e,n,!0),r.addEventListener(e,a);let v=window.setTimeout(()=>{r.addEventListener("pointerdown",h)},0);return()=>{for(let e of(window.clearTimeout(v),r.removeEventListener("pointerdown",h),r.removeEventListener("click",p.current),m))r.removeEventListener(e,n,!0),r.removeEventListener(e,a)}},[r,u,o,i,s,l]),{onPointerDownCapture:ej(()=>c.current=!0,"onPointerDownCapture")}}function eB(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(()=>{var e;return null===(e=globalThis)||void 0===e?void 0:e.document})(),n=eR(e),r=a.useRef(!1);return a.useEffect(()=>{let e=ej(e=>{e.target&&!r.current&&eH(eD,n,{originalEvent:e},{discrete:!1})},"handleFocus");return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:ej(()=>r.current=!0,"onFocusCapture"),onBlurCapture:ej(()=>r.current=!1,"onBlurCapture")}}function ez(){let e=new CustomEvent(e_);document.dispatchEvent(e)}function eH(e,t,n,r){let{discrete:o}=r,i=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),o?ei(i,a):i.dispatchEvent(a)}ej(eF,"usePointerDownOutside"),ej(eB,"useFocusOutside"),ej(ez,"dispatchUpdate"),ej(eH,"handleAndDispatchCustomEvent");var eV=Object.defineProperty,eU=(e,t)=>eV(e,"name",{value:t,configurable:!0}),eq=0,eY=null;function e$(){a.useEffect(()=>{eY||(eY={start:eK(),end:eK()});let{start:e,end:t}=eY;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement("afterbegin",e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement("beforeend",t),eq++,()=>{1===eq&&(null==eY||eY.start.remove(),null==eY||eY.end.remove(),eY=null),eq=Math.max(0,eq-1)}},[])}function eK(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}eU(function(e){return e$(),e.children},"FocusGuards"),eU(e$,"useFocusGuards"),eU(eK,"createFocusGuard");var eG=Object.defineProperty,eZ=(e,t)=>eG(e,"name",{value:t,configurable:!0}),eX="focusScope.autoFocusOnMount",eQ="focusScope.autoFocusOnUnmount",eJ={bubbles:!1,cancelable:!0},e0=a.forwardRef(eZ(function(e,t){let{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...s}=e,[l,u]=a.useState(null),c=eR(o),d=eR(i),f=a.useRef(null),p=b(t,u),h=a.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;a.useEffect(()=>{if(r){let e=function(e){if(h.paused||!l)return;let t=e.target;l.contains(t)?f.current=t:e7(f.current,{select:!0})},t=function(e){if(h.paused||!l)return;let t=e.relatedTarget;null===t||l.contains(t)||e7(f.current,{select:!0})},n=function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&e7(l)};eZ(e,"handleFocusIn"),eZ(t,"handleFocusOut"),eZ(n,"handleMutations"),document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(n);return l&&r.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[r,l,h.paused]),a.useEffect(()=>{if(l){e9.add(h);let e=document.activeElement;if(!l.contains(e)){let t=new CustomEvent(eX,eJ);l.addEventListener(eX,c),l.dispatchEvent(t),t.defaultPrevented||(e1(tt(e3(l)),{select:!0}),document.activeElement===e&&e7(l))}return()=>{l.removeEventListener(eX,c),setTimeout(()=>{let t=new CustomEvent(eQ,eJ);l.addEventListener(eQ,d),l.dispatchEvent(t),t.defaultPrevented||e7(null!=e?e:document.body,{select:!0}),l.removeEventListener(eQ,d),e9.remove(h)},0)}}},[l,c,d,h]);let m=a.useCallback(e=>{if(!n&&!r||h.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){let t=e.currentTarget,[r,i]=e2(t);r&&i?e.shiftKey||o!==i?e.shiftKey&&o===r&&(e.preventDefault(),n&&e7(i,{select:!0})):(e.preventDefault(),n&&e7(r,{select:!0})):o===t&&e.preventDefault()}},[n,r,h.paused]);return(0,w.jsx)(eo.div,{tabIndex:-1,...s,ref:p,onKeyDown:m})},"FocusScope"));function e1(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=document.activeElement;for(let r of e)if(e7(r,{select:t}),document.activeElement!==n)return}function e2(e){let t=e3(e);return[e4(t,e),e4(t.reverse(),e)]}function e3(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:eZ(e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;n.nextNode();)t.push(n.currentNode);return t}function e4(e,t){let n="function"==typeof t.checkVisibility&&t.checkVisibility({checkVisibilityCSS:!0});for(let r of e)if(!(n?!r.checkVisibility({checkVisibilityCSS:!0}):e8(r,{upTo:t})))return r}function e8(e,t){let{upTo:n}=t;if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===n||e!==n);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function e5(e){return e instanceof HTMLInputElement&&"select"in e}function e7(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e&&e.focus){let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&e5(e)&&t&&e.select()}}eZ(e1,"focusFirst"),eZ(e2,"getTabbableEdges"),eZ(e3,"getTabbableCandidates"),eZ(e4,"findVisible"),eZ(e8,"isHidden"),eZ(e5,"isSelectableInput"),eZ(e7,"focu
1s");var e9=e6();function e6(){let e=[];return{add(t){let n=e[0];t!==n&&(null==n||n.pause()),(e=te(e,t)).unshift(t)},remove(t){var n;null===(n=(e=te(e,t))[0])||void 0===n||n.resume()}}}function te(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}function tt(e){return e.filter(e=>"A"!==e.tagName)}eZ(e6,"createFocusScopesStack"),eZ(te,"arrayRemove"),eZ(tt,"removeLinks");var tn=n(82157),tr=n(56111);function to(e){let[t,n]=a.useState(void 0);return O(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,o;if(!Array.isArray(t)||!t.length)return;let i=t[0];if("borderBoxSize"in i){let e=i.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,o=t.blockSize}else r=e.offsetWidth,o=e.offsetHeight;n({width:r,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}(0,Object.defineProperty)(to,"name",{value:"useSize",configurable:!0});var ti=Object.defineProperty,ta=(e,t)=>ti(e,"name",{value:t,configurable:!0}),ts="Popper",[tl,tu]=E(ts),[tc,td]=tl(ts),tf=ta(e=>{let{__scopePopper:t,children:n}
1=e,[r,o]=a.useState(null),[i,s]=a.useState(void 0);return(0,w.jsx)(tc,{scope:t,anchor:r,onAnchorChange:o,placementState:i,setPlacementState:s,children:n})},"Popper"),tp="PopperAnchor",th=a.forwardRef(ta(function(e,t){let{__scopePopper:n,virtualRef:r,...o}=e,i=td(tp,n),s=a.useRef(null),l=i.onAnchorChange,u=b(t,a.useCallback(e=>{s.current=e,e&&l(e)},[l])),c=a.useRef(null);a.useEffect(()=>{if(!r)return;let e=c.current;c.current=r.current,e!==c.current&&l(c.current)});let d=i.placementState&&tx(i.placementState),f=null==d?void 0:d[0],p=null==d?void 0:d[1];return r?null:(0,w.jsx)(eo.div,{"data-radix-popper-side":f,"data-radix-popper-align":p,...o,ref:u})},"PopperAnchor")),tm="PopperContent",[tv,tg]=tl(tm),ty=a.forwardRef(ta(function(e,t){var n,r,o,i,s,l,u,c,d;let{__scopePopper:f,side:p="bottom",sideOffset:h=0,align:m="center",alignOffset:v=0,arrowPadding:g=0,avoidCollisions:y=!0,collisionBoundary:x=[],collisionPadding:k=0,sticky:S="partial",hideWhenDetached:E=!1,updatePositionStrategy:C="optimized",onPlaced:T,...M}=e,I=td(tm,f),[R,P]=a.useState(null),j=b(t,P),[_,A]=a.useState(null),D=to(_),N=null!==(c=null==D?void 0:D.width)&&void 0!==c?c:0,L=null!==(d=null==D?void 0:D.height)&&void 0!==d?d:0,W=p+("center"!==m?"-"+m:""),F="number"==typeof k?k:{top:0,right:0,bottom:0,left:0,...k},B=Array.isArray(x)?x:[x],z=B.length>0,H={padding:F,boundary:B.filter(tb),altBoundary:z},{refs:V,floatingStyles:U,placement:q,isPositioned:Y,middlewareData:$}=(0,tn.YF)({strategy:"fixed",placement:W,whileElementsMounted:ta(function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,tr.Me)(...t,{animationFrame:"always"===C})},"whileElementsMounted"),elements:{reference:I.anchor},middleware:[(0,tn.cv)({mainAxis:h+L,alignmentAxis:v}),y&&(0,tn.uY)({mainAxis:!0,crossAxis:!1,limiter:"partial"===S?(0,tn.dr)():void 0,...H}),y&&(0,tn.RR)({...H}),(0,tn.dp)({...H,apply:ta(e=>{let{elements:t,rects:n,availableWidth:r,availableHeight:o}=e,{width:i,height:a}=n.reference,s=t.floating.style;s.setProperty("--radix-popper-available-width","".concat(r,"px")),s.setProperty("--radix-popper-available-height","".concat(o,"px")),s.setProperty("--radix-popper-anchor-width","".concat(i,"px")),s.setProperty("--radix-popper-anchor-height","".concat(a,"px"))},"apply")}),_&&(0,tn.x7)({element:_,padding:g}),tw({arrowWidth:N,arrowHeight:L}),E&&(0,tn.Cp)({strategy:"referenceHidden",...H,boundary:z?H.boundary:void 0})]}),K=I.setPlacementState;O(()=>(K(q),()=>{K(void 0)}),[q,K]);let[G,Z]=tx(q),X=eR(T);O(()=>{Y&&(null==X||X())},[Y,X]);let Q=null===(n=$.arrow)||void 0===n?void 0:n.x,J=null===(r=$.arrow)||void 0===r?void 0:r.y,ee=(null===(o=$.arrow)||void 0===o?void 0:o.centerOffset)!==0,[et,en]=a.useState();return O(()=>{R&&en(window.getComputedStyle(R).zIndex)},[R]),(0,w.jsx)("div",{ref:V.setFloating,"data-radix-popper-content-wrapper":"",style:{...U,transform:Y?U.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:et,"--radix-popper-transform-origin":[null===(i=$.transformOrigin)||void 0===i?void 0:i.x,null===(s=$.transformOrigin)||void 0===s?void 0:s.y].join(" "),...(null===(l=$.hide)||void 0===l?void 0:l.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,w.jsx)(tv,{scope:f,placedSide:G,placedAlign:Z,onArrowChange:A,arrowX:Q,arrowY:J,shouldHideArrow:ee,children:(0,w.jsx)(eo.div,{"data-side":G,"data-align":Z,...M,ref:j,style:{...M.style,animation:Y?null===(u=M.style)||void 0===u?void 0:u.animation:"none"}})})})},"PopperContent"));function tb(e){return null!==e}ta(tb,"isNotNull");var tw=ta(e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,a;let{placement:s,rects:l,middlewareData:u}=t,c=(null===(n=u.arrow)||void 0===n?void 0:n.centerOffset)!==0,d=c?0:e.arrowWidth,f=c?0:e.arrowHeight,[p,h]=tx(s),m={start:"0%",center:"50%",end:"100%"}[h],v=(null!==(i=null===(r=u.arrow)||void 0===r?void 0:r.x)&&void 0!==i?i:0)+d/2,g=(null!==(a=null===(o=u.arrow)||void 0===o?void 0:o.y)&&void 0!==a?a:0)+f/2,y="",b="";return"bottom"===p?(y=c?m:"".concat(v,"px"),b="".concat(-f,"px")):"top"===p?(y=c?m:"".concat(v,"px"),b="".concat(l.floating.height+f,"px")):"right"===p?(y="".concat(-f,"px"),b=c?m:"".concat(g,"px")):"left"===p&&(y="".concat(l.floating.width+f,"px"),b=c?m:"".concat(g,"px")),{data:{x:y,y:b}}}}),"transformOrigin");function tx(e){let[t,n="center"]=e.split("-");return[t,n]}ta(tx,"getSideAndAlignFromPlacement");var tk=tf,tS=th,tE=ty,tC=Object.defineProperty,tT=(e,t)=>
1tC(e,"name",{value:t,configurable:!0});function tO(e,t){return a.useReducer((e,n)=>{let r=t[e][n];return null!=r?r:e},e)}tT(tO,"useStateMachine");var tM=tT(e=>{let{present:t,children:n}=e,r=tI(t),o="function"==typeof n?n({present:r.isPresent}):a.Children.only(n),i=tP(r.ref,t_(o));return"function"==typeof n||r.isPresent?a.cloneElement(o,{ref:i}):null},"Presence");function tI(e){let[t,n]=a.useState(),r=a.useRef(null),o=a.useRef(e),i=a.useRef("none"),s=a.useRef(void 0),[l,u]=tO(e?"mounted":"unmounted",{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return a.useEffect(()=>{if("mounted"===l){var e;i.current=null!==(e=s.current)&&void 0!==e?e:tj(r.current),s.current=void 0}else i.current="none"},[l]),O(()=>{let t=r.current,n=o.current;if(n!==e){let r=i.current,a=tj(t);if(e)s.current=a,u("MOUNT");else if("none"===a||(null==t?void 0:t.display)==="none")u("UNMOUNT");else{let e=r!==a;n&&e?u("ANIMATION_OUT"):u("UNMOUNT")}o.current=e}},[e,u]),O(()=>{if(t){var e;let n;let a=null!==(e=t.ownerDocument.defaultView)&&void 0!==e?e:window,s=tT(e=>{let i=tj(r.current).includes(CSS.escape(e.animationName));if(e.target===t&&i&&(u("ANIMATION_END"),!o.current)){let e=t.style.animationFillMode;t.style.animationFillMode="forwards",n=a.setTimeout(()=>{"forwards"===t.style.animationFillMode&&(t.style.animationFillMode=e)})}},"handleAnimationEnd"),l=tT(e=>{e.target===t&&(i.current=tj(r.current))},"handleAnimationStart");return t.addEventListener("animationstart",l),t.addEventListener("animationcancel",s),t.addEventListener("animationend",s),()=>{a.clearTimeout(n),t.removeEventListener("animationstart",l),t.removeEventListener("animationcancel",s),t.removeEventListener("animationend",s)}}u("ANIMATION_END")},[t,u]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:a.useCallback(e=>{if(e){let t=getComputedStyle(e);r.current=t,s.current=tj(t)}else r.current=null;n(e)},[])}}function tR(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function tP(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];let r=a.useRef(t);return r.current=t,a.useCallback(e=>{let t=r.current,n=!1,o=t.map(t=>{let r=tR(t,e);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let e=0;e<o.length;e++){let n=o[e];"function"==typeof n?n():tR(t[e],null)}}},[])}function tj(e){return(null==e?void 0:e.animationName)||"none"}function t_(e){var t,n;let r=null===(t=Object.getOwnPropertyDescriptor(e.props,"ref"))||void 0===t?void 0:t.get,o=r&&"isReactWarning"in r&&r.isReactWarning;return o?e.ref:(o=(r=null===(n=Object.getOwnPropertyDescriptor(e,"ref"))||void 0===n?void 0:n.get)&&"isReactWarning"in r&&r.isReactWarning)?e.props.ref:e.props.ref||e.ref}tT(tI,"usePresence"),tT(tR,"setRef"),tT(tP,"useStableComposedRefs"),tT(tj,"getAnimationName"),tT(t_,"getElementRef");var tA=Object.defineProperty,tD=(e,t)=>tA(e,"name",{value:t,configurable:!0}),tN=s[" useId ".trim().toString()]||(()=>void 0),tL=0;function tW(e){let[t,n]=a.useState(tN());return O(()=>{e||n(e=>e??String(tL++))},[e]),e||(t?`radix-${t}`:"")}tD(tW,"useId");var tF=Object.defineProperty,tB=(e,t)=>tF(e,"name",{value:t,configurable:!0}),tz=!1;function tH(){let[e,t]=a.useState(tz);return a.useEffect(()=>{tz||(tz=!0,t(!0))},[]),e}tB(tH,"useIsHydrated");var tV=s[" useSyncExternalStore ".trim().toString()];function tU(){return()=>{}}function tq(){return tV(tU,()=>!0,()=>!1)}tB(tU,"subscribe"),tB(tq,"useIsHydratedModern");var tY="function"==typeof tV?tq:tH,t$=Object.defineProperty,tK=(e,t)=>t$(e,"name",{value:t,configurable:!0}),tG="rovingFocusGroup.onEntryFocus",tZ={bubbles:!1,cancelable:!0},tX="RovingFocusGroup",[tQ,tJ,t0]=em(tX),[t1,t2]=E(tX,[t0]),[t3,t4]=t1(tX),t8=a.forwardRef(tK(function(e,t){return(0,w.jsx)(tQ.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,w.jsx)(tQ.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,w.jsx)(t5,{...e,ref:t})})})},"RovingFocusGroup")),t5=a.forwardRef(tK(function(e,t){let{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:i,currentTabStopId:s,defaultCurrentTabStopId:l,onCurrentTabStopIdChange:u,onEntryFocus:c,preventScrollOnEntryFocus:f=!1,...p}=e,h=a.useRef(null),m=b(t,h),v=eI(i),[g,y]=N({prop:s,defaultProp:null!=l?l:null,onChange:u,caller:tX}),[x,k]=a.useState(!1),S=eR(c),E=tJ(n),C=a.useRef(!1),[T,O]=a.useState(0);return a.useEffect(()=>{let e=h.current;if(e)return e.addEventListener(tG,S),()=>e.removeEventListener(tG,S)},[S]),(0,w.jsx)(t3,{scope:n,orientation:r,dir:v,loop:o,currentTabStopId:g,onItemFocus:a.useCallback(e=>y(e),[y]),onItemShiftTab:a.useCallback(()=>k(!0),[]),onFocusableItemAdd:a.useCallback(()=>O(e=>e+1),[]),onFocusableItemRemove:a.useCallback(()=>O(e=>e-1),[]),children:(0,w.jsx)(eo.div,{tabIndex:x||0===T?-1:0,"data-orientation":r,...p,ref:m,style:{outline:"none",...e.style},onMouseDown:d(e.onMouseDown,()=>{C.current=!0}),onFocus:d(e.onFocus,e=>{let t=!C.current;if(e.target===e.currentTarget&&t&&!x){let t=new CustomEvent(tG,tZ);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=E().filter(e=>
1e.focusable);nn([e.find(e=>e.active),e.find(e=>e.id===g),...e].filter(Boolean).map(e=>e.ref.current),f)}}C.current=!1}),onBlur:d(e.onBlur,()=>k(!1))})})},"RovingFocusGroupImpl")),t7="RovingFocusGroupItem",t9=a.forwardRef(tK(function(e,t){let{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:i,children:s,...l}=e,u=tW(),c=i||u,f=t4(t7,n),p=f.currentTabStopId===c,h=tJ(n),{onFocusableItemAdd:m,onFocusableItemRemove:v,currentTabStopId:g}=f,y=tY();return O(()=>{if(y&&r)return m(),()=>v()},[y,r,m,v]),a.useEffect(()=>{if(!y&&r)return m(),()=>v()},[y,r,m,v]),(0,w.jsx)(tQ.ItemSlot,{scope:n,id:c,focusable:r,active:o,children:(0,w.jsx)(eo.span,{tabIndex:p?0:-1,"data-orientation":f.orientation,...l,ref:t,onMouseDown:d(e.onMouseDown,e=>{r?f.onItemFocus(c):e.preventDefault()}),onFocus:d(e.onFocus,()=>f.onItemFocus(c)),onKeyDown:d(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey){f.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=nt(e,f.orientation,f.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let n=h().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)n.reverse();else if("prev"===t||"next"===t){"prev"===t&&n.reverse();let r=n.indexOf(e.currentTarget);n=f.loop?nr(n,r+1):n.slice(r+1)}setTimeout(()=>nn(n))}}),children:"function"==typeof s?s({isCurrentTabStop:p,hasTabStop:null!=g}):s})})},"RovingFocusGroupItem")),t6={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function ne(e,t){return"rtl"!==t?e:"ArrowLeft"===e?"ArrowRight":"ArrowRight"===e?"ArrowLeft":e}function nt(e,t,n){let r=ne(e.key,n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(r))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(r)))return t6[r]}function nn(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=document.activeElement;for(let r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function nr(e,t){return e.map((n,r)=>e[(t+r)%e.length])}tK(ne,"getDirectionAwareKey"),tK(nt,"getFocusIntent"),tK(nn,"focusFirst"),tK(nr,"wrapArray");var no=t8,ni=t9,na=n(3020),ns=n(14058),nl=n(51343),nu=n(62944),nc=(0,n(94899)._)(),nd=function(){},nf=a.forwardRef(function(e,t){var n=a.useRef(null),r=a.useState({onScrollCapture:nd,onWheelCapture:nd,onTouchMoveCapture:nd}),o=r[0],i=r[1],s=e.forwardProps,l=e.children,u=e.className,c=e.removeScrollBar,d=e.enabled,f=e.shards,p=e.sideCar,h=e.noRelative,m=e.noIsolation,v=e.inert,g=e.allowPinchZoom,y=e.as,b=void 0===y?"div":y,w=e.gapMode,x=(0,ns._T)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),k=p,S=(0,nu.q)([n,t]),E=(0,ns.pi)((0,ns.pi)({},x),o);return a.createElement(a.Fragment,null,d&&a.createElement(k,{sideCar:nc,removeScrollBar:c,shards:f,noRelative:h,noIsolation:m,inert:v,setCallbacks:i,allowPinchZoom:!!g,lockRef:n,gapMode:w}),s?a.cloneElement(a.Children.only(l),(0,ns.pi)((0,ns.pi)({},E),{ref:S})):a.createElement(b,(0,ns.pi)({},E,{className:u,ref:S}),l))});nf.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},nf.classNames={fullWidth:nl.zi,zeroRight:nl.pF};var np=n(46839),nh=n(9938),nm=n(52937),nv=!1;if("undefined"!=typeof window)try{var ng=Object.defineProperty({},"passive",{get:function(){return nv=!0,!0}});window.addEventListener("test",ng,ng),window.removeEventListener("test",ng,ng)}catch(e){nv=!1}var ny=!!nv&&{passive:!1},nb=function(e){return"TEXTAREA"===e.tagName},nw=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&!nb(e)&&"visible"===n[t])},nx=function(e){return nw(e,"overflowY")},nk=function(e){return nw(e,"overflowX")},nS=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),nT(e,r)){var o=nO(e,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},nE=function(e){return[e.scrollTop,e.scrollHeight,e.clientHeight]},nC=function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]},nT=function(e,t){return"v"===e?nx(t):nk(t)},nO=function(e,t){return"v"===e?nE(t):nC(t)},nM=function(e,t){return"h"===e&&"rtl"===t?-1:1},nI=function(e,t,n,r,o){var i=nM(e,window.getComputedStyle(t).direction),a=i*r,s=n.target,l=t.contains(s),u=!1,c=a>0,d=0,f=0;do{if(!s)break;var p=nO(e,s),h=p[0],m=p[1]-p[2]-i*h;(h||m)&&nT(e,s)&&(d+=m,f+=h);var v=s.parentNode;s=v&&v.nodeType===Node.DOCUMENT_FRAGMENT_NODE?v.host:v}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return c&&(o&&1>Math.abs(d)||!o&&a>d)?u=!0:!c&&(o&&1>Math.abs(f)||!o&&-a>f)&&(u=!0),u},nR=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},nP=function(e){return[e.deltaX,e.deltaY]},nj=function(e){return e&&"current"in e?e.current:e},n_=function(e,t){return e[0]===t[0]&&e[1]===t[1]},nA=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},nD=0,nN=[];function nL(e){var t=a.useRef([]),n=a.useRef([0,0]),r=a.useRef(),o=a.useState(nD++)[0],i=a.useState(nm.Ws)[
10],s=a.useRef(e);a.useEffect(function(){s.current=e},[e]),a.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=(0,ns.ev)([e.lockRef.current],(e.shards||[]).map(nj),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var l=a.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!s.current.allowPinchZoom;var o,i=nR(e),a=n.current,l="deltaX"in e?e.deltaX:a[0]-i[0],u="deltaY"in e?e.deltaY:a[1]-i[1],c=e.target,d=Math.abs(l)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===d&&"range"===c.type)return!1;var f=window.getSelection(),p=f&&f.anchorNode;if(p&&(p===c||p.contains(c)))return!1;var h=nS(d,c);if(!h)return!0;if(h?o=d:(o="v"===d?"h":"v",h=nS(d,c)),!h)return!1;if(!r.current&&"changedTouches"in e&&(l||u)&&(r.current=o),!o)return!0;var m=r.current||o;return nI(m,t,e,"h"===m?l:u,!0)},[]),u=a.useCallback(function(e){var n=e;if(nN.length&&nN[nN.length-1]===i){var r="deltaY"in n?nP(n):nR(n),o=t.current.filter(function(e){return e.name===n.type&&(e.target===n.target||n.target===e.shadowParent)&&n_(e.delta,r)})[0];if(o&&o.should){n.cancelable&&n.preventDefault();return}if(!o){var a=(s.current.shards||[]).map(nj).filter(Boolean).filter(function(e){return e.contains(n.target)});(a.length>0?l(n,a[0]):!s.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),c=a.useCallback(function(e,n,r,o){var i={name:e,delta:n,target:r,should:o,shadowParent:nW(r)};t.current.push(i),setTimeout(function(){t.current=t.current.filter(function(e){return e!==i})},1)},[]),d=a.useCallback(function(e){n.current=nR(e),r.current=void 0},[]),f=a.useCallback(function(t){c(t.type,nP(t),t.target,l(t,e.lockRef.current))},[]),p=a.useCallback(function(t){c(t.type,nR(t),t.target,l(t,e.lockRef.current))},[]);a.useEffect(function(){return nN.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",u,ny),document.addEventListener("touchmove",u,ny),document.addEventListener("touchstart",d,ny),function(){nN=nN.filter(function(e){return e!==i}),document.removeEventListener("wheel",u,ny),document.removeEventListener("touchmove",u,ny),document.removeEventListener("touchstart",d,ny)}},[]);var h=e.removeScrollBar,m=e.inert;return a.createElement(a.Fragment,null,m?a.createElement(i,{styles:nA(o)}):null,h?a.createElement(nh.jp,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function nW(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}var nF=(0,np.L)(nc,nL),nB=a.forwardRef(function(e,t){return a.createElement(nf,(0,ns.pi)({},e,{ref:t,sideCar:nF}))});nB.classNames=nf.classNames;var nz=nB,nH=Object.defineProperty,nV=(e,t)=>nH(e,"name",{value:t,configurable:!0}),nU=["Enter"," "],nq=["ArrowUp","PageDown","End"],nY=["ArrowDown","PageUp","Home",...nq];[...nU],[...nU];var n$="Menu",[nK,nG,nZ]=em(n$),[nX,nQ]=E(n$,[nZ,tu,t2]),nJ=tu(),n0=t2(),[n1,n2]=nX(n$),[n3,n4]=nX(n$),n8=nV(e=>{let{__scopeMenu:t,open:n=!1,children:r,dir:o,onOpenChange:i,modal:s=!0}=e,l=nJ(t),[u,c]=a.useState(null),d=a.useRef(!1),f=eR(i),p=eI(o);return a.useEffect(()=>{let e=nV(()=>{d.current=!0,document.addEventListener("pointerdown",t,{capture:!0,once:!0}),document.addEventListener("pointermove",t,{capture:!0,once:!0})},"handleKeyDown"),t=nV(()=>d.current=!1,"handlePointer");return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",t,{capture:!0}),document.removeEventListener("pointermove",t,{capture:!0})}},[]),a.useEffect(()=>{if(!n)return;let e=nV(()=>f(!1),"handleBlur");return window.addEventListener("blur",e),()=>window.removeEventListener("blur",e)},[n,f]),(0,w.jsx)(tk,{...l,children:(0,w.jsx)(n1,{scope:t,open:n,onOpenChange:f,content:u,onContentChange:c,children:(0,w.jsx)(n3,{scope:t,onClose:a.useCallback(()=>f(!1),[f]),isUsingKeyboardRef:d,dir:p,modal:s,children:r})})})},"Menu"),n5=a.forwardRef(nV(function(e,t){let{__scopeMenu:n,...r}=e,o=nJ(n);return(0,w.jsx)(tS,{...o,...r,ref:t})},"MenuAnchor")),[n7,n9]=nX("MenuPortal",{forceMount:void 0}),n6="MenuContent",[re,rt]=nX(n6),rn=a.forwardRef(nV(function(e,t){let n=n9(n6,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,i=n2(n6,e.__scopeMenu),a=n4(n6,e.__scopeMenu);return(0,w.jsx)(nK.Provider,{scope:e.__scopeMenu,children:(0,w.jsx)(tM,{present:r||i.open,children:(0,w.jsx)(nK.Slot,{scope:e.__scopeMenu,children:a.modal?(0,w.jsx)(rr,{...o,ref:t}):(0,w.jsx)(ro,{...o,ref:t})})})})},"MenuContent")),rr=a.forwardRef(nV(function(e,t){let n=n2(n6,e.__scopeMenu),r=a.useRef(null),o=b(t,r);return a.useEffect(()=>{let e=r.current;if(e)return(0,na.Ry)(e)},[]),(0,w.jsx)(ra,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:d(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})},"MenuRootContentModal")),ro=a.forwardRef(nV(function(e,t){let n=n2(n6,e.__scopeMenu);return(0,w.jsx)(ra,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})},"MenuRootContentNonModal")),ri=V("MenuContent.ScrollLock"),ra=a.forwardRef(nV(function(e,t){let{__scopeMenu:n,loop:r=!1,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:s,disableOutsidePointerEvents:l,onEntryFocus:u,onEscapeKeyDown:c,onPointerDownOutside:f,onFocusOutside:p,onInteractOutside:h,onDismiss:m,disableOutsideScroll:v,...g}=e,y=n2(n6,n),x=n4(n6,n),k=nJ(n),S=n0(n),E=nG(n),[C,T]=a.useState(null),O=a.useRef(null),M=b(t,O,y.onContentChange),I=a.useRef(0),R=a.useRef(""),P=a.useRef(0),j=a.useRef(null),_=a.useRef("right"),A=a.useRef(0),D=v?nz:a.Fragment,N=v?{as:ri,allowPinchZoom:!0}:void 0,L=nV(e=>{var t,n;let r=R.current+e,o=E().filter(e=>!e.disabled),i=document.activeElement,a=null===(t=o.find(e=>e.ref.current===i))||void 0===t?void 0:t.textValue,s=rM(o.map(e=>e.textValue),r,a),l=null===(n=o.find(e=>e.textValue===s))||void 0===n?void 0:n.ref.current;l&&setTimeout(()=>l.focus())},"handleTypeaheadSearch");a.useEffect(()=>()=>window.clearTimeout(I.current),[]),e$();let W=a.useCallback(e=>{var t,n;return _.current===(null===(t=j.current)||void 0===t?void 0:t.side)&&rR(e,null===(n=j.current)||void 0===n?void 0:n.area)},[]);return(0,w.jsx)(re,{scope:n,searchRef:R,onItemEnter:a.useCallback(e=>{W(e)&&e.preventDefault()},[W]),onItemLeave:a.useCallback(e=>{var t;W(e)||(null===(t=O.current)||void 0===t||t.focus(),T(null))},[W]),onTriggerLeave:a.useCallback(e=>{W(e)&&e.preventDefault()},[W]),pointerGraceTimerRef:P,onPointerGraceIntentChange:a.useCallback(e=>{j.current=e},[]),children:(0,w.jsx)(D,{...N,children:(0,w.jsx)(e0,{asChild:!0,trapped:o,onMountAutoFocus:d(i,e=>{var t;e.preventDefault(),null===(t=O.current)||void 0===t||t.focus({preventScroll:!0})}),onUnmountAutoFocus:s,children:(0,w.jsx)(eL,{asChild:!0,disableOutsidePointerEvents:l,onEscapeKeyDown:c,onPointerDownOutside:f,onFocusOutside:p,onInteractOutside:h,onDismiss:m,children:(0,w.jsx)(no,{asChild:!0,...S,dir:x.dir,orientation:"vertical",loop:r,currentTabStopId:C,onCurrentTabStopIdChange:T,onEntryFocus:d(u,e=>{x.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,w.jsx)(tE,{role:"menu","aria-orientation":"vertical","data-state":rS(y.open),"data-radix-menu-content":"",dir:x.dir,...k,...g,ref:M,style:{outline:"none",...g.style},onKeyDown:d(g.onKeyDown,e=>{let t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,r=1===e.ke
1y.length;t&&("Tab"===e.key&&e.preventDefault(),!n&&r&&L(e.key));let o=O.current;if(e.target!==o||!nY.includes(e.key))return;e.preventDefault();let i=E().filter(e=>!e.disabled).map(e=>e.ref.current);nq.includes(e.key)&&i.reverse(),rT(i)}),onBlur:d(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(I.current),R.current="")}),onPointerMove:d(e.onPointerMove,rP(e=>{let t=e.target,n=A.current!==e.clientX;if(e.currentTarget.contains(t)&&n){let t=e.clientX>A.current?"right":"left";_.current=t,A.current=e.clientX}}))})})})})})})},"MenuContentImpl")),rs=a.forwardRef(nV(function(e,t){let{__scopeMenu:n,...r}=e;return(0,w.jsx)(eo.div,{role:"group",...r,ref:t})},"MenuGroup")),rl="MenuItem",ru="menu.itemSelect",rc=a.forwardRef(nV(function(e,t){let{disabled:n=!1,onSelect:r,...o}=e,i=a.useRef(null),s=n4(rl,e.__scopeMenu),l=rt(rl,e.__scopeMenu),u=b(t,i),c=a.useRef(!1),f=nV(()=>{let e=i.current;if(!n&&e){let t=new CustomEvent(ru,{bubbles:!0,cancelable:!0});e.addEventListener(ru,e=>null==r?void 0:r(e),{once:!0}),ei(e,t),t.defaultPrevented?c.current=!1:s.onClose()}},"handleSelect");return(0,w.jsx)(rd,{...o,ref:u,disabled:n,onClick:d(e.onClick,f),onPointerDown:t=>{var n;null===(n=e.onPointerDown)||void 0===n||n.call(e,t),c.current=!0},onPointerUp:d(e.onPointerUp,e=>{var t;c.current||null===(t=e.currentTarget)||void 0===t||t.click()}),onKeyDown:d(e.onKeyDown,e=>{!n&&e.target===e.currentTarget&&(""===l.searchRef.current||" "!==e.key)&&nU.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})},"MenuItem")),rd=a.forwardRef(nV(function(e,t){let{__scopeMenu:n,disabled:r=!1,textValue:o,...i}=e,s=rt(rl,n),l=n0(n),u=a.useRef(null),c=b(t,u),[f,p]=a.useState(!1),[h,m]=a.useState("");return a.useEffect(()=>{let e=u.current;if(e){var t;m((null!==(t=e.textContent)&&void 0!==t?t:"").trim())}},[i.children]),(0,w.jsx)(nK.ItemSlot,{scope:n,disabled:r,textValue:null!=o?o:h,children:(0,w.jsx)(ni,{asChild:!0,...l,focusable:!r,children:(0,w.jsx)(eo.div,{role:"menuitem","data-highlighted":f?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0,...i,ref:c,onPointerMove:d(e.onPointerMove,rP(e=>{r?s.onItemLeave(e):(s.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:d(e.onPointerLeave,rP(e=>s.onItemLeave(e))),onFocus:d(e.onFocus,()=>p(!0)),onBlur:d(e.onBlur,()=>p(!1))})})})},"MenuItemImpl")),[rf,rp]=nX("MenuRadioGroup",{value:void 0,onValueChange:nV(()=>{},"onValueChange")}),rh=a.forwardRef(nV(function(e,t){let{value:n,onValueChange:r,...o}=e,i=eR(r);return(0,w.jsx)(rf,{scope:e.__scopeMenu,value:n,onValueChange:i,children:(0,w.jsx)(rs,{...o,ref:t})})},"MenuRadioGroup")),rm="MenuRadioItem",rv=a.forwardRef(nV(function(e,t){let{value:n,...r}=e,o=rp(rm,e.__scopeMenu),i=n===o.value;return(0,w.jsx)(ry,{scope:e.__scopeMenu,checked:i,children:(0,w.jsx)(rc,{role:"menuitemradio","aria-checked":i,...r,ref:t,"data-state":rC(i),onSelect:d(r.onSelect,()=>{var e;return null===(e=o.onValueChange)||void 0===e?void 0:e.call(o,n)},{checkForDefaultPrevented:!1})})})},"MenuRadioItem")),rg="MenuItemIndicator",[ry,rb]=nX(rg,{checked:!1}),rw=a.forwardRef(nV(function(e,t){let{__scopeMenu:n,forceMount:r,...o}=e,i=rb(rg,n);return(0,w.jsx)(tM,{present:r||rE(i.checked)||!0===i.checked,children:(0,w.jsx)(eo.span,{...o,ref:t,"data-state":rC(i.checked)})})},"MenuItemIndicator")),[rx,rk]=nX("MenuSub");function rS(e){return e?"open":"closed"}function rE(e){return"indeterminate"===e}function rC(e){return rE(e)?"indeterminate":e?"checked":"unchecked"}function rT(e){let t=document.activeElement;for(let n of e)if(n===t||(n.focus(),document.activeElement!==t))return}function rO(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function rM(e,t,n){let r=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,o=n?e.indexOf(n):-1,i=rO(e,Math.max(o,0));1===r.length&&(i=i.filter(e=>e!==n));let a=i.find(e=>e.toLowerCase().startsWith(r.toLowerCase()));return a!==n?a:void 0}function rI(e,t){let{x:n,y:r}=e,o=!1;for(let e=0,i=t.length-1;e<t.length;i=e++){let a=t[e],s=t[i],l=a.x,u=a.y,c=s.x,d=s.y;u>r!=d>r&&n<(c-l)*(r-u)/(d-u)+l&&(o=!o)}return o}function rR(e,t){return!!t&&rI({x:e.clientX,y:e.clientY},t)}function rP(e){return t=>
1"mouse"===t.pointerType?e(t):void 0}nV(rS,"getOpenState"),nV(rE,"isIndeterminate"),nV(rC,"getCheckedState"),nV(rT,"focusFirst"),nV(rO,"wrapArray"),nV(rM,"getNextMatch"),nV(rI,"isPointInPolygon"),nV(rR,"isPointerInGraceArea"),nV(rP,"whenMouse");var rj=n8,r_=n5,rA=rn,rD=rh,rN=rv,rL=rw,rW=Object.defineProperty,rF=(e,t)=>rW(e,"name",{value:t,configurable:!0}),rB="DropdownMenu",[rz,rH]=E(rB,[nQ]),rV=nQ(),[rU,rq]=rz(rB),rY=rF(e=>{let{__scopeDropdownMenu:t,children:n,dir:r,open:o,defaultOpen:i,onOpenChange:s,modal:l=!0}=e,u=rV(t),c=a.useRef(null),[d,f]=N({prop:o,defaultProp:null!=i&&i,onChange:s,caller:rB});return(0,w.jsx)(rU,{scope:t,triggerId:tW(),triggerRef:c,contentId:tW(),open:d,onOpenChange:f,onOpenToggle:a.useCallback(()=>f(e=>!e),[f]),modal:l,children:(0,w.jsx)(rj,{...u,open:d,onOpenChange:f,dir:r,modal:l,children:n})})},"DropdownMenu"),r$="DropdownMenuTrigger",rK=a.forwardRef(rF(function(e,t){let{__scopeDropdownMenu:n,disabled:r=!1,...o}=e,i=rq(r$,n),a=rV(n),s=b(t,i.triggerRef);return(0,w.jsx)(r_,{asChild:!0,...a,children:(0,w.jsx)(eo.button,{type:"button",id:i.triggerId,"aria-haspopup":"menu","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":i.open?"open":"closed","data-disabled":r?"":void 0,disabled:r,...o,ref:s,onPointerDown:d(e.onPointerDown,e=>{r||0!==e.button||!1!==e.ctrlKey||(i.onOpenToggle(),i.open||e.preventDefault())}),onKeyDown:d(e.onKeyDown,e=>{!r&&(["Enter"," "].includes(e.key)&&i.onOpenToggle(),"ArrowDown"===e.key&&i.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})})},"DropdownMenuTrigger")),rG="DropdownMenuContent",rZ=a.forwardRef(rF(function(e,t){let{__scopeDropdownMenu:n,...r}=e,o=rq(rG,n),i=rV(n),s=a.useRef(!1);return(0,w.jsx)(rA,{id:o.contentId,"aria-labelledby":o.triggerId,...i,...r,ref:t,onCloseAutoFocus:d(e.onCloseAutoFocus,e=>{var t;s.current||null===(t=o.triggerRef.current)||void 0===t||t.focus(),s.current=!1,e.preventDefault()}),onInteractOutside:d(e.onInteractOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;(!o.modal||r)&&(s.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})},"DropdownMenuContent")),rX=a.forwardRef(rF(function(e,t){let{__scopeDropdownMenu:n,...r}=e,o=rV(n);return(0,w.jsx)(rD,{...o,...r,ref:t})},"DropdownMenuRadioGroup")),rQ=a.forwardRef(rF(function(e,t){let{__scopeDropdownMenu:n,...r}=e,o=rV(n);return(0,w.jsx)(rN,{...o,...r,ref:t})},"DropdownMenuRadioItem")),rJ=a.forwardRef(rF(function(e,t){let{__scopeDropdownMenu:n,...r}=e,o=rV(n);return(0,w.jsx)(rL,{...o,...r,ref:t})},"DropdownMenuItemIndicator")),r0=rY,r1=rK,r2=rZ,r3=rX,r4=rQ,r8=rJ},54556:function(e,t,n){"use strict";n.d(t,{EW:function(){return i}});var r=n(8247),o=0;function i(){r.useEffect(()=>{var e,t;let n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:a()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:a()),o++,()=>{1===o&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),o--}},[])}function a(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}},16225:function(e,t,n){"use strict";n.d(t,{M:function(){return f}});var r=n(8247),o=n(49818),i=n(42111),a=n(13970),s=n(31711),l="focusScope.autoFocusOnMount",u="focusScope.autoFocusOnUnmount",c={bubbles:!1,cancelable:!0},d="FocusScope",f=r.forwardRef((e,t)=>{let{loop:n=!1,trapped:d=!1,onMountAutoFocus:f,onUnmountAutoFocus:v,...g}=e,[y,x]=r.useState(null),k=(0,a.W)(f),E=(0,a.W)(v),C=r.useRef(null),T=(0,o.e)(t,e=>x(e)),O=r.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;r.useEffect(()=>{if(d){let e=function(e){if(O.paused||!y)return;let t=e.target;y.contains(t)?C.current=t:b(C.current,{select:!0})},t=function(e){if(O.paused||!y)return;let t=e.relatedTarget;null===t||y.contains(t)||b(C.current,{select:!0})},n=function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&b(y)};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let r=new MutationObserver(n);return y&&r.observe(y,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}},[d,y,O.paused]),r.useEffect(()=>{if(y){w.add(O);let e=document.activeElement;
1if(!y.contains(e)){let t=new CustomEvent(l,c);y.addEventListener(l,k),y.dispatchEvent(t),t.defaultPrevented||(p(S(m(y)),{select:!0}),document.activeElement===e&&b(y))}return()=>{y.removeEventListener(l,k),setTimeout(()=>{let t=new CustomEvent(u,c);y.addEventListener(u,E),y.dispatchEvent(t),t.defaultPrevented||b(null!=e?e:document.body,{select:!0}),y.removeEventListener(u,E),w.remove(O)},0)}}},[y,k,E,O]);let M=r.useCallback(e=>{if(!n&&!d||O.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,r=document.activeElement;if(t&&r){let t=e.currentTarget,[o,i]=h(t);o&&i?e.shiftKey||r!==i?e.shiftKey&&r===o&&(e.preventDefault(),n&&b(i,{select:!0})):(e.preventDefault(),n&&b(o,{select:!0})):r===t&&e.preventDefault()}},[n,d,O.paused]);return(0,s.jsx)(i.WV.div,{tabIndex:-1,...g,ref:T,onKeyDown:M})});function p(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=document.activeElement;for(let r of e)if(b(r,{select:t}),document.activeElement!==n)return}function h(e){let t=m(e);return[v(t,e),v(t.reverse(),e)]}function m(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function v(e,t){for(let n of e)if(!g(n,{upTo:t}))return n}function g(e,t){let{upTo:n}=t;if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===n||e!==n);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function y(e){return e instanceof HTMLInputElement&&"select"in e}function b(e){let{select:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e&&e.focus){let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&y(e)&&t&&e.select()}}f.displayName=d;var w=x();function x(){let e=[];return{add(t){let n=e[0];t!==n&&(null==n||n.pause()),(e=k(e,t)).unshift(t)},remove(t){var n;null===(n=(e=k(e,t))[0])||void 0===n||n.resume()}}}function k(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}function S(e){return e.filter(e=>"A"!==e.tagName)}},7546:function(e,t,n){"use strict";n.d(t,{VY:function(){return ex},aV:function(){return eg},ck:function(){return ey},fC:function(){return ev},l_:function(){return ek},rU:function(){return ew},xz:function(){return eb}});var r=n(8247),o=n(92122),i=n(24820),a=n(61157),s=n(42111),l=n(82574),u=n(49818),c=n(36432),d=n(64287),f=n(8754),p=n(39171),h=n(83185),m=n(32254),v=n(11513),g=n(13970),y=n(47106),b=n(31711),w="NavigationMenu",[x,k,S]=(0,p.B)(w),[E,C,T]=(0,p.B)(w),[O,M]=(0,i.b)(w,[S,T]),[I,R]=O(w),[P,j]=O(w),_=r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,value:o,onValueChange:i,defaultValue:a,delayDuration:d=200,skipDelayDuration:f=300,orientation:p="horizontal",dir:h,...m}=e,[v,g]=r.useState(null),y=(0,u.e)(t,e=>g(e)),w=(0,c.gm)(h),x=r.useRef(0),k=r.useRef(0),S=r.useRef(0),[E,C]=r.useState(!0),[T="",O]=(0,l.T)({prop:o,onChange:e=>{let t=f>0;""!==e?(window.clearTimeout(S.current),t&&C(!1)):(window.clearTimeout(S.current),S.current=window.setTimeout(()=>C(!0),f)),null==i||i(e)},defaultProp:a}),M=r.useCallback(()=>{window.clearTimeout(k.current),k.current=window.setTimeout(()=>O(""),150)},[O]),I=r.useCallback(e=>{window.clearTimeout(k.current),O(e)},[O]),R=r.useCallback(e=>{T===e?window.clearTimeout(k.current):x.current=window.setTimeout(()=>{window.clearTimeout(k.current),O(e)},d)},[T,O,d]);return r.useEffect(()=>()=>{window.clearTimeout(x.current),window.clearTimeout(k.current),window.clearTimeout(S.current)},[]),(0,b.jsx)(D,{scope:n,isRootMenu:!0,value:T,dir:w,orientation:p,rootNavigationMenu:v,onTriggerEnter:e=>{window.clearTimeout(x.current),E?R(e):I(e)},onTriggerLeave:()=>{window.clearTimeout(x.current),M()},onContentEnter:()=>window.clearTimeout(k.current),onContentLeave:M,onItemSelect:e=>{O(t=>t===e?"":e)},onItemDismiss:()=>O(""),children:(0,b.jsx)(s.WV.nav,{"aria-label":"Main","data-orientation":p,dir:w,...m,ref:y})})});_.displayName=w;var A="NavigationMenuSub";r.forwardRef((e,t)=>
1{let{__scopeNavigationMenu:n,value:r,onValueChange:o,defaultValue:i,orientation:a="horizontal",...u}=e,c=R(A,n),[d="",f]=(0,l.T)({prop:r,onChange:o,defaultProp:i});return(0,b.jsx)(D,{scope:n,isRootMenu:!1,value:d,dir:c.dir,orientation:a,rootNavigationMenu:c.rootNavigationMenu,onTriggerEnter:e=>f(e),onItemSelect:e=>f(e),onItemDismiss:()=>f(""),children:(0,b.jsx)(s.WV.div,{"data-orientation":a,...u,ref:t})})}).displayName=A;var D=e=>{let{scope:t,isRootMenu:n,rootNavigationMenu:o,dir:i,orientation:a,children:s,value:l,onItemSelect:u,onItemDismiss:c,onTriggerEnter:d,onTriggerLeave:p,onContentEnter:h,onContentLeave:v}=e,[y,w]=r.useState(null),[k,S]=r.useState(new Map),[E,C]=r.useState(null);return(0,b.jsx)(I,{scope:t,isRootMenu:n,rootNavigationMenu:o,value:l,previousValue:(0,m.D)(l),baseId:(0,f.M)(),dir:i,orientation:a,viewport:y,onViewportChange:w,indicatorTrack:E,onIndicatorTrackChange:C,onTriggerEnter:(0,g.W)(d),onTriggerLeave:(0,g.W)(p),onContentEnter:(0,g.W)(h),onContentLeave:(0,g.W)(v),onItemSelect:(0,g.W)(u),onItemDismiss:(0,g.W)(c),onViewportContentChange:r.useCallback((e,t)=>{S(n=>(n.set(e,t),new Map(n)))},[]),onViewportContentRemove:r.useCallback(e=>{S(t=>t.has(e)?(t.delete(e),new Map(t)):t)},[]),children:(0,b.jsx)(x.Provider,{scope:t,children:(0,b.jsx)(P,{scope:t,items:k,children:s})})})},N="NavigationMenuList",L=r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,...r}=e,o=R(N,n),i=(0,b.jsx)(s.WV.ul,{"data-orientation":o.orientation,...r,ref:t});return(0,b.jsx)(s.WV.div,{style:{position:"relative"},ref:o.onIndicatorTrackChange,children:(0,b.jsx)(x.Slot,{scope:n,children:o.isRootMenu?(0,b.jsx)(eo,{asChild:!0,children:i}):i})})});L.displayName=N;var W="NavigationMenuItem",[F,B]=O(W),z=r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,value:o,...i}=e,a=(0,f.M)(),l=o||a||"LEGACY_REACT_AUTO_VALUE",u=r.useRef(null),c=r.useRef(null),d=r.useRef(null),p=r.useRef(()=>{}),h=r.useRef(!1),m=r.useCallback(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"start";if(u.current){p.current();let t=el(u.current);t.length&&eu("start"===e?t:t.reverse())}},[]),v=r.useCallback(()=>{if(u.current){let e=el(u.current);e.length&&(p.current=ec(e))}},[]);return(0,b.jsx)(F,{scope:n,value:l,triggerRef:c,contentRef:u,focusProxyRef:d,wasEscapeCloseRef:h,onEntryKeyDown:m,onFocusProxyEnter:m,onRootContentClose:v,onContentFocusOutside:v,children:(0,b.jsx)(s.WV.li,{...i,ref:t})})});z.displayName=W;var H="NavigationMenuTrigger",V=r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,disabled:o,...i}=e,l=R(H,e.__scopeNavigationMenu),c=B(H,e.__scopeNavigationMenu),d=r.useRef(null),f=(0,u.e)(d,c.triggerRef,t),p=ep(l.baseId,c.value),h=eh(l.baseId,c.value),m=r.useRef(!1),v=r.useRef(!1),g=c.value===l.value;return(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(x.ItemSlot,{scope:n,value:c.value,children:(0,b.jsx)(es,{asChild:!0,children:(0,b.jsx)(s.WV.button,{id:p,disabled:o,"data-disabled":o?"":void 0,"data-state":ef(g),"aria-expanded":g,"aria-controls":h,...i,ref:f,onPointerEnter:(0,a.M)(e.onPointerEnter,()=>{v.current=!1,c.wasEscapeCloseRef.current=!1}),onPointerMove:(0,a.M)(e.onPointerMove,em(()=>{o||v.current||c.wasEscapeCloseRef.current||m.current||(l.onTriggerEnter(c.value),m.current=!0)})),onPointerLeave:(0,a.M)(e.onPointerLeave,em(()=>{o||(l.onTriggerLeave(),m.current=!1)})),onClick:(0,a.M)(e.onClick,()=>{l.onItemSelect(c.value),v.current=g}),onKeyDown:(0,a.M)(e.onKeyDown,e=>{let t={horizontal:"ArrowDown",vertical:"rtl"===l.dir?"ArrowLeft":"ArrowRight"}[l.orientation];g&&e.key===t&&(c.onEntryKeyDown(),e.preventDefault())})})})}),g&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(y.f,{"aria-hidden":!0,tabIndex:0,ref:c.focusProxyRef,onFocus:e=>{let t=c.contentRef.current,n=e.relatedTarget,r=n===d.current,o=null==t?void 0:t.contains(n);(r||!o)&&c.onFocusProxyEnter(r?"start":"end")}}),l.viewport&&(0,b.jsx)("span",{"aria-owns":h})]})]})});V.displayName=H;var U="NavigationMenuLink",q="navigationMenu.linkSelect",Y=r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,active:r,onSelect:o,...i}=e;return(0,b.jsx)(es,{asChild:!0,children:(0,b.jsx)(s.WV.a,{"data-active":r?"":void 0,"aria-current":r?"page":void 0,...i,ref:t,onClick:(0,a.M)(e.onClick,e=>{let t=e.target,n=new CustomEvent(q,{bubbles:!0,cancelable:!0});if(t.addEventListener(q,e=>null==o?void 0:o(e),{once:!0}),(0,s.jH)(t,n),!n.defaultPrevented&&!e.metaKey){let e=new CustomEvent(Q,{bubbles:!0,cancelable:!0});(0,s.jH)(t,e)}},{checkForDefaultPrevented:!1})})})});Y.displayName=U;var $="NavigationMenuIndicator";r.forwardRef((e,t)=>
1{let{forceMount:n,...r}=e,i=R($,e.__scopeNavigationMenu),a=!!i.value;return i.indicatorTrack?o.createPortal((0,b.jsx)(d.z,{present:n||a,children:(0,b.jsx)(K,{...r,ref:t})}),i.indicatorTrack):null}).displayName=$;var K=r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,...o}=e,i=R($,n),a=k(n),[l,u]=r.useState(null),[c,d]=r.useState(null),f="horizontal"===i.orientation,p=!!i.value;r.useEffect(()=>{var e;let t=null===(e=a().find(e=>e.value===i.value))||void 0===e?void 0:e.ref.current;t&&u(t)},[a,i.value]);let h=()=>{l&&d({size:f?l.offsetWidth:l.offsetHeight,offset:f?l.offsetLeft:l.offsetTop})};return ed(l,h),ed(i.indicatorTrack,h),c?(0,b.jsx)(s.WV.div,{"aria-hidden":!0,"data-state":p?"visible":"hidden","data-orientation":i.orientation,...o,ref:t,style:{position:"absolute",...f?{left:0,width:c.size+"px",transform:"translateX(".concat(c.offset,"px)")}:{top:0,height:c.size+"px",transform:"translateY(".concat(c.offset,"px)")},...o.style}}):null}),G="NavigationMenuContent",Z=r.forwardRef((e,t)=>{let{forceMount:n,...r}=e,o=R(G,e.__scopeNavigationMenu),i=B(G,e.__scopeNavigationMenu),s=(0,u.e)(i.contentRef,t),l=i.value===o.value,c={value:i.value,triggerRef:i.triggerRef,focusProxyRef:i.focusProxyRef,wasEscapeCloseRef:i.wasEscapeCloseRef,onContentFocusOutside:i.onContentFocusOutside,onRootContentClose:i.onRootContentClose,...r};return o.viewport?(0,b.jsx)(X,{forceMount:n,...c,ref:s}):(0,b.jsx)(d.z,{present:n||l,children:(0,b.jsx)(J,{"data-state":ef(l),...c,ref:s,onPointerEnter:(0,a.M)(e.onPointerEnter,o.onContentEnter),onPointerLeave:(0,a.M)(e.onPointerLeave,em(o.onContentLeave)),style:{pointerEvents:!l&&o.isRootMenu?"none":void 0,...c.style}})})});Z.displayName=G;var X=r.forwardRef((e,t)=>{let{onViewportContentChange:n,onViewportContentRemove:r}=R(G,e.__scopeNavigationMenu);return(0,v.b)(()=>{n(e.value,{ref:t,...e})},[e,t,n]),(0,v.b)(()=>()=>r(e.value),[e.value,r]),null}),Q="navigationMenu.rootContentDismiss",J=r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,value:o,triggerRef:i,focusProxyRef:s,wasEscapeCloseRef:l,onRootContentClose:c,onContentFocusOutside:d,...f}=e,p=R(G,n),m=r.useRef(null),v=(0,u.e)(m,t),g=ep(p.baseId,o),y=eh(p.baseId,o),w=k(n),x=r.useRef(null),{onItemDismiss:S}=p;r.useEffect(()=>{let e=m.current;if(p.isRootMenu&&e){let t=()=>{var t;S(),c(),e.contains(document.activeElement)&&(null===(t=i.current)||void 0===t||t.focus())};return e.addEventListener(Q,t),()=>e.removeEventListener(Q,t)}},[p.isRootMenu,e.value,i,S,c]);let E=r.useMemo(()=>{let e=w().map(e=>e.value);"rtl"===p.dir&&e.reverse();let t=e.indexOf(p.value),n=e.indexOf(p.previousValue),r=o===p.value,i=n===e.indexOf(o);if(!r&&!i)return x.current;let a=(()=>{if(t!==n){if(r&&-1!==n)return t>n?"from-end":"from-start";if(i&&-1!==t)return t>n?"to-start":"to-end"}return null})();return x.current=a,a},[p.previousValue,p.value,p.dir,w,o]);return(0,b.jsx)(eo,{asChild:!0,children:(0,b.jsx)(h.XB,{id:y,"aria-labelledby":g,"data-motion":E,"data-orientation":p.orientation,...f,ref:v,disableOutsidePointerEvents:!1,onDismiss:()=>{var e;let t=new Event(Q,{bubbles:!0,cancelable:!0});null===(e=m.current)||void 0===e||e.dispatchEvent(t)},onFocusOutside:(0,a.M)(e.onFocusOutside,e=>{var t;d();let n=e.target;(null===(t=p.rootNavigationMenu)||void 0===t?void 0:t.contains(n))&&e.preventDefault()}),onPointerDownOutside:(0,a.M)(e.onPointerDownOutside,e=>{var t;let n=e.target,r=w().some(e=>{var t;return null===(t=e.ref.current)||void 0===t?void 0:t.contains(n)}),o=p.isRootMenu&&(null===(t=p.viewport)||void 0===t?void 0:t.contains(n));(r||o||!p.isRootMenu)&&e.preventDefault()}),onKeyDown:(0,a.M)(e.onKeyDown,e=>{let t=e.altKey||e.ctrlKey||e.metaKey;if("Tab"===e.key&&!t){let t=el(e.currentTarget),r=document.activeElement,o=t.findIndex(e=>e===r);if(eu(e.shiftKey?t.slice(0,o).reverse():t.slice(o+1,t.length)))e.preventDefault();else{var n;null===(n=s.current)||void 0===n||n.focus()}}}),onEscapeKeyDown:(0,a.M)(e.onEscapeKeyDown,e=>{l.current=!0})})})}),ee="NavigationMenuViewport",et=r.forwardRef((e,t)=>{let{forceMount:n,...r}=e,o=!!R(ee,e.__scopeNavigationMenu).value;return(0,b.jsx)(d.z,{present:n||o,children:(0,b.jsx)(en,{...r,ref:t})})});et.displayName=ee;var en=r.forwardRef((e,t)=>
1{let{__scopeNavigationMenu:n,children:o,...i}=e,l=R(ee,n),c=(0,u.e)(t,l.onViewportChange),f=j(G,e.__scopeNavigationMenu),[p,h]=r.useState(null),[m,v]=r.useState(null),g=p?(null==p?void 0:p.width)+"px":void 0,y=p?(null==p?void 0:p.height)+"px":void 0,w=!!l.value,x=w?l.value:l.previousValue,k=()=>{m&&h({width:m.offsetWidth,height:m.offsetHeight})};return ed(m,k),(0,b.jsx)(s.WV.div,{"data-state":ef(w),"data-orientation":l.orientation,...i,ref:c,style:{pointerEvents:!w&&l.isRootMenu?"none":void 0,"--radix-navigation-menu-viewport-width":g,"--radix-navigation-menu-viewport-height":y,...i.style},onPointerEnter:(0,a.M)(e.onPointerEnter,l.onContentEnter),onPointerLeave:(0,a.M)(e.onPointerLeave,em(l.onContentLeave)),children:Array.from(f.items).map(e=>{let[t,{ref:n,forceMount:r,...o}]=e,i=x===t;return(0,b.jsx)(d.z,{present:r||i,children:(0,b.jsx)(J,{...o,ref:(0,u.F)(n,e=>{i&&e&&v(e)})})},t)})})}),er="FocusGroup",eo=r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,...r}=e,o=R(er,n);return(0,b.jsx)(E.Provider,{scope:n,children:(0,b.jsx)(E.Slot,{scope:n,children:(0,b.jsx)(s.WV.div,{dir:o.dir,...r,ref:t})})})}),ei=["ArrowRight","ArrowLeft","ArrowUp","ArrowDown"],ea="FocusGroupItem",es=r.forwardRef((e,t)=>{let{__scopeNavigationMenu:n,...r}=e,o=C(n),i=R(ea,n);return(0,b.jsx)(E.ItemSlot,{scope:n,children:(0,b.jsx)(s.WV.button,{...r,ref:t,onKeyDown:(0,a.M)(e.onKeyDown,e=>{if(["Home","End",...ei].includes(e.key)){let t=o().map(e=>e.ref.current);if(["rtl"===i.dir?"ArrowRight":"ArrowLeft","ArrowUp","End"].includes(e.key)&&t.reverse(),ei.includes(e.key)){let n=t.indexOf(e.currentTarget);t=t.slice(n+1)}setTimeout(()=>eu(t)),e.preventDefault()}})})})});function el(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function eu(e){let t=document.activeElement;return e.some(e=>e===t||(e.focus(),document.activeElement!==t))}function ec(e){return e.forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")}),()=>{e.forEach(e=>{let t=e.dataset.tabindex;e.setAttribute("tabindex",t)})}}function ed(e,t){let n=(0,g.W)(t);(0,v.b)(()=>{let t=0;if(e){let r=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(n)});return r.observe(e),()=>{window.cancelAnimationFrame(t),r.unobserve(e)}}},[e,n])}function ef(e){return e?"open":"closed"}function ep(e,t){return"".concat(e,"-trigger-").concat(t)}function eh(e,t){return"".concat(e,"-content-").concat(t)}function em(e){return t=>"mouse"===t.pointerType?e(t):void 0}var ev=_,eg=L,ey=z,eb=V,ew=Y,ex=Z,ek=et},29957:function(e,t,n){"use strict";n.d(t,{ee:function(){return D},Eh:function(){return L},VY:function(){return N},fC:function(){return A},D7:function(){return y}});var r=n(8247),o=n(82157),i=n(56111),a=n(42111),s=n(31711),l="Arrow",u=r.forwardRef((e,t)=>{let{children:n,width:r=10,height:o=5,...i}=e;return(0,s.jsx)(a.WV.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,s.jsx)("polygon",{points:"0,0 30,0 15,10"})})});u.displayName=l;var c=u,d=n(49818),f=n(24820),p=n(13970),h=n(11513),m=n(72760),v="Popper",[g,y]=(0,f.b)(v),[b,w]=g(v),x=e=>{let{__scopePopper:t,children:n}=e,[o,i]=r.useState(null);return(0,s.jsx)(b,{scope:t,anchor:o,onAnchorChange:i,children:n})};x.displayName=v;var k="PopperAnchor",S=r.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:o,...i}=e,l=w(k,n),u=r.useRef(null),c=(0,d.e)(t,u);return r.useEffect(()=>{l.onAnchorChange((null==o?void 0:o.current)||u.current)}),o?null:(0,s.jsx)(a.WV.div,{...i,ref:c})});S.displayName=k;var E="PopperContent",[C,T]=g(E),O=r.forwardRef((e,t)=>{var n,l,u,c,f,v,g,y;let{__scopePopper:b,side:x="bottom",sideOffset:k=0,align:S="center",alignOffset:T=0,arrowPadding:O=0,avoidCollisions:M=!0,collisionBoundary:I=[],collisionPadding:R=0,sticky:A="partial",hideWhenDetached:D=!1,updatePositionStrategy:N="optimized",onPlaced:L,...W}=e,F=w(E,b),[B,z]=r.useState(null),H=(0,d.e)(t,e=>z(e)),[V,U]=r.useState(null),q=(0,m.t)(V),Y=null!==(g=null==q?void 0:q.width)&&void 0!==g?g:0,$=null!==(y=null==q?void 0:q.height)&&void 0!==y?y:0,K=x+("center"!==S?"-"+S:""),G="number"==typeof R?R:{top:0,right:0,bottom:0,left:0,...R},Z=Array.isArray(I)?I:[I],X=Z.length>0,Q={padding:G,boundary:Z.filter(P),altBoundary:X},{refs:J,floatingStyles:ee,placement:et,isPositioned:en,middlewareData:er}=(0,o.YF)({strategy:"fixed",placement:K,whileElementsMounted:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,i.Me)(...t,{animationFrame:"always"===N})},elements:{reference:F.anchor},middleware:[(0,o.cv)({mainAxis:k+$,alignmentAxis:T}),M&&(0,o.uY)({mainAxis:!0,crossAxis:!1,limiter:"partial"===A?(0,o.dr)():void 0,...Q}),M&&(0,o.RR)({...Q}),(0,o.dp)({...Q,apply:e=>{let{elements:t,rects:n,availableWidth:r,availableHeight:o}=e,{width:i,height:a}=n.reference,s=t.floating.style;s.setProperty("--radix-popper-available-width","".concat(r,"px")),s.setProperty("--radix-popper-available-height","".concat(o,"px")),s.setProperty("--radix-popper-anchor-width","".concat(i,"px")),s.setProperty("--radix-popper-anchor-height","".concat(a,"px"))}}),V&&(0,o.x7)({element:V,padding:O}),j({arrowWidth:Y,arrowHeight:$}),D&&(0,o.Cp)({strategy:"referenceHidden",...Q})]}),[eo,ei]=_(et),ea=(0,p.W)(L);(0,h.b)(()=>{en&&(null==ea||ea())},[en,ea]);let es=null===(n=er.arrow)||void 0===n?void 0:n.x,el=null===(l=er.arrow)||void 0===l?void 0:l.y,eu=(null===(u=er.arrow)||void 0===u?void 0:u.centerOffset)!==0,[ec,ed]=r.useState();return(0,h.b)(()=>{B&&ed(window.getComputedStyle(B).zIndex)},[B]),(0,s.jsx)("div",{ref:J.setFloating,"data-radix-popper-content-wrapper":"",style:{...ee,transform:en?ee.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ec,"--radix-popper-transform-origin":[null===(c=er.transformOrigin)||void 0===c?void 0:c.x,null===(f=er.transformOrigin)||void 0===f?void 0:f.y].join(" "),...(null===(v=er.hide)||void 0===v?void 0:v.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,s.jsx)(C,{scope:b,placedSide:eo,onArrowChange:U,arrowX:es,arrowY:el,shouldHideArrow:eu,children:(0,s.jsx)(a.WV.div,{"data-side":eo,"data-align":ei,...W,ref:H,style:{...W.style,animation:en?void 0:"none"}})})})});O.displayName=E;var M="PopperArrow",I={top:"bottom",right:"left",bottom:"top",left:"r
1ight"},R=r.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,o=T(M,n),i=I[o.placedSide];return(0,s.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,s.jsx)(c,{...r,ref:t,style:{...r.style,display:"block"}})})});function P(e){return null!==e}R.displayName=M;var j=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,a;let{placement:s,rects:l,middlewareData:u}=t,c=(null===(n=u.arrow)||void 0===n?void 0:n.centerOffset)!==0,d=c?0:e.arrowWidth,f=c?0:e.arrowHeight,[p,h]=_(s),m={start:"0%",center:"50%",end:"100%"}[h],v=(null!==(i=null===(r=u.arrow)||void 0===r?void 0:r.x)&&void 0!==i?i:0)+d/2,g=(null!==(a=null===(o=u.arrow)||void 0===o?void 0:o.y)&&void 0!==a?a:0)+f/2,y="",b="";return"bottom"===p?(y=c?m:"".concat(v,"px"),b="".concat(-f,"px")):"top"===p?(y=c?m:"".concat(v,"px"),b="".concat(l.floating.height+f,"px")):"right"===p?(y="".concat(-f,"px"),b=c?m:"".concat(g,"px")):"left"===p&&(y="".concat(l.floating.width+f,"px"),b=c?m:"".concat(g,"px")),{data:{x:y,y:b}}}});function _(e){let[t,n="center"]=e.split("-");return[t,n]}var A=x,D=S,N=O,L=R},80770:function(e,t,n){"use strict";n.d(t,{h:function(){return u}});var r=n(8247),o=n(92122),i=n(42111),a=n(11513),s=n(31711),l="Portal",u=r.forwardRef((e,t)=>{var n,l;let{container:u,...c}=e,[d,f]=r.useState(!1);(0,a.b)(()=>f(!0),[]);let p=u||d&&(null===(l=globalThis)||void 0===l?void 0:null===(n=l.document)||void 0===n?void 0:n.body);return p?o.createPortal((0,s.jsx)(i.WV.div,{...c,ref:t}),p):null});u.displayName=l},11:function(e,t,n){"use strict";n.d(t,{B4:function(){return e_},JO:function(){return eA},VY:function(){return eN},ck:function(){return eW},eT:function(){return eF},fC:function(){return eP},h_:function(){return eD},l_:function(){return eL},xz:function(){return ej}});var r=n(8247),o=n(92122),i=n(43499),a=n(61157),s=n(39171),l=n(49818),u=n(24820),c=n(36432),d=n(83185),f=n(54556),p=n(16225),h=n(8754),m=n(29957),v=n(80770),g=n(42111),y=n(31462),b=n(13970),w=n(82574),x=n(11513),k=n(32254),S=n(47106),E=n(3020),C=n(6075),T=n(31711),O=[" ","Enter","ArrowUp","ArrowDown"],M=[" ","Enter"],I="Select",[R,P,j]=(0,s.B)(I),[_,A]=(0,u.b)(I,[j,m.D7]),D=(0,m.D7)(),[N,L]=_(I),[W,F]=_(I),B=e=>{let{__scopeSelect:t,children:n,open:o,defaultOpen:i,onOpenChange:a,value:s,defaultValue:l,onValueChange:u,dir:d,name:f,autoComplete:p,disabled:v,required:g,form:y}=e,b=D(t),[x,k]=r.useState(null),[S,E]=r.useState(null),[C,O]=r.useState(!1),M=(0,c.gm)(d),[I=!1,P]=(0,w.T)({prop:o,defaultProp:i,onChange:a}),[j,_]=(0,w.T)({prop:s,defaultProp:l,onChange:u}),A=r.useRef(null),L=!x||y||!!x.closest("form"),[F,B]=r.useState(new Set),z=Array.from(F).map(e=>e.props.value).join(";");return(0,T.jsx)(m.fC,{...b,children:(0,T.jsxs)(N,{required:g,scope:t,trigger:x,onTriggerChange:k,valueNode:S,onValueNodeChange:E,valueNodeHasChildren:C,onValueNodeHasChildrenChange:O,contentId:(0,h.M)(),value:j,onValueChange:_,open:I,onOpenChange:P,dir:M,triggerPointerDownPosRef:A,disabled:v,children:[(0,T.jsx)(R.Provider,{scope:t,children:(0,T.jsx)(W,{scope:e.__scopeSelect,onNativeOptionAdd:r.useCallback(e=>{B(t=>new Set(t).add(e))},[]),onNativeOptionRemove:r.useCallback(e=>{B(t=>{let n=new Set(t);return n.delete(e),n})},[]),children:n})}),L?(0,T.jsxs)(eO,{"aria-hidden":!0,required:g,tabIndex:-1,name:f,autoComplete:p,value:j,onChange:e=>_(e.target.value),disabled:v,form:y,children:[void 0===j?(0,T.jsx)("option",{value:""}):null,Array.from(F)]},z):null]})})};B.displayName=I;var z="SelectTrigger",H=r.forwardRef((e,t)=>{let{__scopeSelect:n,disabled:o=!1,...i}=e,s=D(n),u=L(z,n),c=u.disabled||o,d=(0,l.e)(t,u.onTriggerChange),f=P(n),p=r.useRef("touch"),[h,v,y]=eM(e=>{let t=f().filter(e=>!e.disabled),n=t.find(e=>e.value===u.value),r=eI(t,e,n);void 0!==r&&u.onValueChange(r.value)}),b=e=>{c||(u.onOpenChange(!0),y()),e&&(u.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})};return(0,T.jsx)(m.ee,{asChild:!0,...s,children:(0,T.jsx)(g.WV.button,{type:"button",role:"combobox","aria-controls":u.contentId,"aria-expanded":u.open,"aria-required":u.required,"aria-autocomplete":"none",dir:u.dir,"data-state":u.open?"open":"closed",disabled:c,"data-disabled":c?"":void 0,"data-placeholder":eT(u.value)?"":void 0,...i,ref:d,onClick:(0,a.M)(i.onClick,e=>
1{e.currentTarget.focus(),"mouse"!==p.current&&b(e)}),onPointerDown:(0,a.M)(i.onPointerDown,e=>{p.current=e.pointerType;let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&"mouse"===e.pointerType&&(b(e),e.preventDefault())}),onKeyDown:(0,a.M)(i.onKeyDown,e=>{let t=""!==h.current;e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||v(e.key),(!t||" "!==e.key)&&O.includes(e.key)&&(b(),e.preventDefault())})})})});H.displayName=z;var V="SelectValue",U=r.forwardRef((e,t)=>{let{__scopeSelect:n,className:r,style:o,children:i,placeholder:a="",...s}=e,u=L(V,n),{onValueNodeHasChildrenChange:c}=u,d=void 0!==i,f=(0,l.e)(t,u.onValueNodeChange);return(0,x.b)(()=>{c(d)},[c,d]),(0,T.jsx)(g.WV.span,{...s,ref:f,style:{pointerEvents:"none"},children:eT(u.value)?(0,T.jsx)(T.Fragment,{children:a}):i})});U.displayName=V;var q="SelectIcon",Y=r.forwardRef((e,t)=>{let{__scopeSelect:n,children:r,...o}=e;return(0,T.jsx)(g.WV.span,{"aria-hidden":!0,...o,ref:t,children:r||"â¼"})});Y.displayName=q;var $="SelectPortal",K=e=>(0,T.jsx)(v.h,{asChild:!0,...e});K.displayName=$;var G="SelectContent",Z=r.forwardRef((e,t)=>{let n=L(G,e.__scopeSelect),[i,a]=r.useState();if((0,x.b)(()=>{a(new DocumentFragment)},[]),!n.open){let t=i;return t?o.createPortal((0,T.jsx)(Q,{scope:e.__scopeSelect,children:(0,T.jsx)(R.Slot,{scope:e.__scopeSelect,children:(0,T.jsx)("div",{children:e.children})})}),t):null}return(0,T.jsx)(et,{...e,ref:t})});Z.displayName=G;var X=10,[Q,J]=_(G),ee="SelectContentImpl",et=r.forwardRef((e,t)=>{let{__scopeSelect:n,position:o="item-aligned",onCloseAutoFocus:i,onEscapeKeyDown:s,onPointerDownOutside:u,side:c,sideOffset:h,align:m,alignOffset:v,arrowPadding:g,collisionBoundary:b,collisionPadding:w,sticky:x,hideWhenDetached:k,avoidCollisions:S,...O}=e,M=L(G,n),[I,R]=r.useState(null),[j,_]=r.useState(null),A=(0,l.e)(t,e=>R(e)),[D,N]=r.useState(null),[W,F]=r.useState(null),B=P(n),[z,H]=r.useState(!1),V=r.useRef(!1);r.useEffect(()=>{if(I)return(0,E.Ry)(I)},[I]),(0,f.EW)();let U=r.useCallback(e=>{let[t,...n]=B().map(e=>e.ref.current),[r]=n.slice(-1),o=document.activeElement;for(let n of e)if(n===o||(null==n||n.scrollIntoView({block:"nearest"}),n===t&&j&&(j.scrollTop=0),n===r&&j&&(j.scrollTop=j.scrollHeight),null==n||n.focus(),document.activeElement!==o))return},[B,j]),q=r.useCallback(()=>U([D,I]),[U,D,I]);r.useEffect(()=>{z&&q()},[z,q]);let{onOpenChange:Y,triggerPointerDownPosRef:$}=M;r.useEffect(()=>{if(I){let e={x:0,y:0},t=t=>{var n,r,o,i;e={x:Math.abs(Math.round(t.pageX)-(null!==(o=null===(n=$.current)||void 0===n?void 0:n.x)&&void 0!==o?o:0)),y:Math.abs(Math.round(t.pageY)-(null!==(i=null===(r=$.current)||void 0===r?void 0:r.y)&&void 0!==i?i:0))}},n=n=>{e.x<=10&&e.y<=10?n.preventDefault():I.contains(n.target)||Y(!1),document.removeEventListener("pointermove",t),$.current=null};return null!==$.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",n,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",n,{capture:!0})}}},[I,Y,$]),r.useEffect(()=>{let e=()=>Y(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[Y]);let[K,Z]=eM(e=>{let t=B().filter(e=>!e.disabled),n=t.find(e=>e.ref.current===document.activeElement),r=eI(t,e,n);r&&setTimeout(()=>r.ref.current.focus())}),X=r.useCallback((e,t,n)=>{let r=!V.current&&!n;(void 0!==M.value&&M.value===t||r)&&(N(e),r&&(V.current=!0))},[M.value]),J=r.useCallback(()=>null==I?void 0:I.focus(),[I]),ee=r.useCallback((e,t,n)=>{let r=!V.current&&!n;(void 0!==M.value&&M.value===t||r)&&F(e)},[M.value]),et="popper"===o?ei:er,en=et===ei?{side:c,sideOffset:h,align:m,alignOffset:v,arrowPadding:g,collisionBoundary:b,collisionPadding:w,sticky:x,hideWhenDetached:k,avoidCollisions:S}:{};return(0,T.jsx)(Q,{scope:n,content:I,viewport:j,onViewportChange:_,itemRefCallback:X,selectedItem:D,onItemLeave:J,itemTextRefCallback:ee,focusSelectedItem:q,selectedItemText:W,position:o,isPositioned:z,searchRef:K,children:(0,T.jsx)(C.Z,{as:y.g7,allowPinchZoom:!0,children:(0,T.jsx)(p.M,{asChild:!0,trapped:M.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:(0,a.M)(i,e=>{var t;null===(t=M.trigger)||void 0===t||t.focus({preventScroll:!0}),e.preventDefault()}),children:(0,T.jsx)(d.XB,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:s,onPointerDownOutside:u,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>M.onOpenChange(!1),children:(0,T.jsx)(et,{role:"listbox",id:M.contentId,"data-state":M.open?"open":"closed",dir:M.dir,onContextMenu:e=>e.preventDefault(),...O,...en,onPlaced:()=>H(!0),ref:A,style:{display:"flex",flexDirection:"column",outline:"none",...O.style},onKeyDown:(0,a.M)(O.onKeyDown,e=>{let t=e.ctrlKey||e.altKey||e.metaKey;
1if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||Z(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=B().filter(e=>!e.disabled).map(e=>e.ref.current);if(["ArrowUp","End"].includes(e.key)&&(t=t.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){let n=e.target,r=t.indexOf(n);t=t.slice(r+1)}setTimeout(()=>U(t)),e.preventDefault()}})})})})})})});et.displayName=ee;var en="SelectItemAlignedPosition",er=r.forwardRef((e,t)=>{let{__scopeSelect:n,onPlaced:o,...a}=e,s=L(G,n),u=J(G,n),[c,d]=r.useState(null),[f,p]=r.useState(null),h=(0,l.e)(t,e=>p(e)),m=P(n),v=r.useRef(!1),y=r.useRef(!0),{viewport:b,selectedItem:w,selectedItemText:k,focusSelectedItem:S}=u,E=r.useCallback(()=>{if(s.trigger&&s.valueNode&&c&&f&&b&&w&&k){let e=s.trigger.getBoundingClientRect(),t=f.getBoundingClientRect(),n=s.valueNode.getBoundingClientRect(),r=k.getBoundingClientRect();if("rtl"!==s.dir){let o=r.left-t.left,a=n.left-o,s=e.left-a,l=e.width+s,u=Math.max(l,t.width),d=window.innerWidth-X,f=(0,i.u)(a,[X,Math.max(X,d-u)]);c.style.minWidth=l+"px",c.style.left=f+"px"}else{let o=t.right-r.right,a=window.innerWidth-n.right-o,s=window.innerWidth-e.right-a,l=e.width+s,u=Math.max(l,t.width),d=window.innerWidth-X,f=(0,i.u)(a,[X,Math.max(X,d-u)]);c.style.minWidth=l+"px",c.style.right=f+"px"}let a=m(),l=window.innerHeight-2*X,u=b.scrollHeight,d=window.getComputedStyle(f),p=parseInt(d.borderTopWidth,10),h=parseInt(d.paddingTop,10),g=parseInt(d.borderBottomWidth,10),y=p+h+u+parseInt(d.paddingBottom,10)+g,x=Math.min(5*w.offsetHeight,y),S=window.getComputedStyle(b),E=parseInt(S.paddingTop,10),C=parseInt(S.paddingBottom,10),T=e.top+e.height/2-X,O=l-T,M=w.offsetHeight/2,I=p+h+(w.offsetTop+M),R=y-I;if(I<=T){let e=a.length>0&&w===a[a.length-1].ref.current;c.style.bottom="0px";let t=I+Math.max(O,M+(e?C:0)+(f.clientHeight-b.offsetTop-b.offsetHeight)+g);c.style.height=t+"px"}else{let e=a.length>0&&w===a[0].ref.current;c.style.top="0px";let t=Math.max(T,p+b.offsetTop+(e?E:0)+M)+R;c.style.height=t+"px",b.scrollTop=I-T+b.offsetTop}c.style.margin="".concat(X,"px 0"),c.style.minHeight=x+"px",c.style.maxHeight=l+"px",null==o||o(),requestAnimationFrame(()=>v.current=!0)}},[m,s.trigger,s.valueNode,c,f,b,w,k,s.dir,o]);(0,x.b)(()=>E(),[E]);let[C,O]=r.useState();(0,x.b)(()=>{f&&O(window.getComputedStyle(f).zIndex)},[f]);let M=r.useCallback(e=>{e&&!0===y.current&&(E(),null==S||S(),y.current=!1)},[E,S]);return(0,T.jsx)(ea,{scope:n,contentWrapper:c,shouldExpandOnScrollRef:v,onScrollButtonChange:M,children:(0,T.jsx)("div",{ref:d,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:C},children:(0,T.jsx)(g.WV.div,{...a,ref:h,style:{boxSizing:"border-box",maxHeight:"100%",...a.style}})})})});er.displayName=en;var eo="SelectPopperPosition",ei=r.forwardRef((e,t)=>{let{__scopeSelect:n,align:r="start",collisionPadding:o=X,...i}=e,a=D(n);return(0,T.jsx)(m.VY,{...a,...i,ref:t,align:r,collisionPadding:o,style:{boxSizing:"border-box",...i.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});ei.displayName=eo;var[ea,es]=_(G,{}),el="SelectViewport",eu=r.forwardRef((e,t)=>{let{__scopeSelect:n,nonce:o,...i}=e,s=J(el,n),u=es(el,n),c=(0,l.e)(t,s.onViewportChange),d=r.useRef(0);return(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:o}),(0,T.jsx)(R.Slot,{scope:n,children:(0,T.jsx)(g.WV.div,{"data-radix-select-viewport":"",role:"presentation",...i,ref:c,style:{position:"relative",flex:1,overflow:"hidden auto",...i.style},onScroll:(0,a.M)(i.onScroll,e=>{let t=e.currentTarget,{contentWrapper:n,shouldExpandOnScrollRef:r}=u;if((null==r?void 0:r.current)&&n){let e=Math.abs(d.current-t.scrollTop);if(e>0){let r=window.innerHeight-2*X,o=Math.max(parseFloat(n.style.minHeight),parseFloat(n.style.height));if(o<r){let i=o+e,a=Math.min(r,i),s=i-a;n.style.height=a+"px","0px"===n.style.bottom&&(t.scrollTop=s>0?s:0,n.style.justifyContent="flex-end")}}}d.current=t.scrollTop})})})]})});eu.displayName=el;var ec="SelectGroup",[ed,ef]=_(ec);r.forwardRef((e,t)=>
1{let{__scopeSelect:n,...r}=e,o=(0,h.M)();return(0,T.jsx)(ed,{scope:n,id:o,children:(0,T.jsx)(g.WV.div,{role:"group","aria-labelledby":o,...r,ref:t})})}).displayName=ec;var ep="SelectLabel";r.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e,o=ef(ep,n);return(0,T.jsx)(g.WV.div,{id:o.id,...r,ref:t})}).displayName=ep;var eh="SelectItem",[em,ev]=_(eh),eg=r.forwardRef((e,t)=>{let{__scopeSelect:n,value:o,disabled:i=!1,textValue:s,...u}=e,c=L(eh,n),d=J(eh,n),f=c.value===o,[p,m]=r.useState(null!=s?s:""),[v,y]=r.useState(!1),b=(0,l.e)(t,e=>{var t;return null===(t=d.itemRefCallback)||void 0===t?void 0:t.call(d,e,o,i)}),w=(0,h.M)(),x=r.useRef("touch"),k=()=>{i||(c.onValueChange(o),c.onOpenChange(!1))};if(""===o)throw Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return(0,T.jsx)(em,{scope:n,value:o,disabled:i,textId:w,isSelected:f,onItemTextChange:r.useCallback(e=>{m(t=>{var n;return t||(null!==(n=null==e?void 0:e.textContent)&&void 0!==n?n:"").trim()})},[]),children:(0,T.jsx)(R.ItemSlot,{scope:n,value:o,disabled:i,textValue:p,children:(0,T.jsx)(g.WV.div,{role:"option","aria-labelledby":w,"data-highlighted":v?"":void 0,"aria-selected":f&&v,"data-state":f?"checked":"unchecked","aria-disabled":i||void 0,"data-disabled":i?"":void 0,tabIndex:i?void 0:-1,...u,ref:b,onFocus:(0,a.M)(u.onFocus,()=>y(!0)),onBlur:(0,a.M)(u.onBlur,()=>y(!1)),onClick:(0,a.M)(u.onClick,()=>{"mouse"!==x.current&&k()}),onPointerUp:(0,a.M)(u.onPointerUp,()=>{"mouse"===x.current&&k()}),onPointerDown:(0,a.M)(u.onPointerDown,e=>{x.current=e.pointerType}),onPointerMove:(0,a.M)(u.onPointerMove,e=>{if(x.current=e.pointerType,i){var t;null===(t=d.onItemLeave)||void 0===t||t.call(d)}else"mouse"===x.current&&e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:(0,a.M)(u.onPointerLeave,e=>{if(e.currentTarget===document.activeElement){var t;null===(t=d.onItemLeave)||void 0===t||t.call(d)}}),onKeyDown:(0,a.M)(u.onKeyDown,e=>{var t;(null===(t=d.searchRef)||void 0===t?void 0:t.current)!==""&&" "===e.key||(M.includes(e.key)&&k()," "===e.key&&e.preventDefault())})})})})});eg.displayName=eh;var ey="SelectItemText",eb=r.forwardRef((e,t)=>{let{__scopeSelect:n,className:i,style:a,...s}=e,u=L(ey,n),c=J(ey,n),d=ev(ey,n),f=F(ey,n),[p,h]=r.useState(null),m=(0,l.e)(t,e=>h(e),d.onItemTextChange,e=>{var t;return null===(t=c.itemTextRefCallback)||void 0===t?void 0:t.call(c,e,d.value,d.disabled)}),v=null==p?void 0:p.textContent,y=r.useMemo(()=>(0,T.jsx)("option",{value:d.value,disabled:d.disabled,children:v},d.value),[d.disabled,d.value,v]),{onNativeOptionAdd:b,onNativeOptionRemove:w}=f;return(0,x.b)(()=>(b(y),()=>w(y)),[b,w,y]),(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(g.WV.span,{id:d.textId,...s,ref:m}),d.isSelected&&u.valueNode&&!u.valueNodeHasChildren?o.createPortal(s.children,u.valueNode):null]})});eb.displayName=ey;var ew="SelectItemIndicator";r.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e;return ev(ew,n).isSelected?(0,T.jsx)(g.WV.span,{"aria-hidden":!0,...r,ref:t}):null}).displayName=ew;var ex="SelectScrollUpButton";r.forwardRef((e,t)=>{let n=J(ex,e.__scopeSelect),o=es(ex,e.__scopeSelect),[i,a]=r.useState(!1),s=(0,l.e)(t,o.onScrollButtonChange);return(0,x.b)(()=>{if(n.viewport&&n.isPositioned){let e=function(){a(t.scrollTop>0)},t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[n.viewport,n.isPositioned]),i?(0,T.jsx)(eS,{...e,ref:s,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}}):null}).displayName=ex;var ek="SelectScrollDownButton";r.forwardRef((e,t)=>{let n=J(ek,e.__scopeSelect),o=es(ek,e.__scopeSelect),[i,a]=r.useState(!1),s=(0,l.e)(t,o.onScrollButtonChange);return(0,x.b)(()=>{if(n.viewport&&n.isPositioned){let e=function(){let e=t.scrollHeight-t.clientHeight;a(Math.ceil(t.scrollTop)<e)},t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[n.viewport,n.isPositioned]),i?(0,T.jsx)(eS,{...e,ref:s,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}}):null}).displayName=ek;var eS=r.forwardRef((e,t)=>
1{let{__scopeSelect:n,onAutoScroll:o,...i}=e,s=J("SelectScrollButton",n),l=r.useRef(null),u=P(n),c=r.useCallback(()=>{null!==l.current&&(window.clearInterval(l.current),l.current=null)},[]);return r.useEffect(()=>()=>c(),[c]),(0,x.b)(()=>{var e;let t=u().find(e=>e.ref.current===document.activeElement);null==t||null===(e=t.ref.current)||void 0===e||e.scrollIntoView({block:"nearest"})},[u]),(0,T.jsx)(g.WV.div,{"aria-hidden":!0,...i,ref:t,style:{flexShrink:0,...i.style},onPointerDown:(0,a.M)(i.onPointerDown,()=>{null===l.current&&(l.current=window.setInterval(o,50))}),onPointerMove:(0,a.M)(i.onPointerMove,()=>{var e;null===(e=s.onItemLeave)||void 0===e||e.call(s),null===l.current&&(l.current=window.setInterval(o,50))}),onPointerLeave:(0,a.M)(i.onPointerLeave,()=>{c()})})}),eE="SelectSeparator";r.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e;return(0,T.jsx)(g.WV.div,{"aria-hidden":!0,...r,ref:t})}).displayName=eE;var eC="SelectArrow";function eT(e){return""===e||void 0===e}r.forwardRef((e,t)=>{let{__scopeSelect:n,...r}=e,o=D(n),i=L(eC,n),a=J(eC,n);return i.open&&"popper"===a.position?(0,T.jsx)(m.Eh,{...o,...r,ref:t}):null}).displayName=eC;var eO=r.forwardRef((e,t)=>{let{value:n,...o}=e,i=r.useRef(null),a=(0,l.e)(t,i),s=(0,k.D)(n);return r.useEffect(()=>{let e=i.current,t=Object.getOwnPropertyDescriptor(window.HTMLSelectElement.prototype,"value").set;if(s!==n&&t){let r=new Event("change",{bubbles:!0});t.call(e,n),e.dispatchEvent(r)}},[s,n]),(0,T.jsx)(S.T,{asChild:!0,children:(0,T.jsx)("select",{...o,ref:a,defaultValue:n})})});function eM(e){let t=(0,b.W)(e),n=r.useRef(""),o=r.useRef(0),i=r.useCallback(e=>{let r=n.current+e;t(r),function e(t){n.current=t,window.clearTimeout(o.current),""!==t&&(o.current=window.setTimeout(()=>e(""),1e3))}(r)},[t]),a=r.useCallback(()=>{n.current="",window.clearTimeout(o.current)},[]);return r.useEffect(()=>()=>window.clearTimeout(o.current),[]),[n,i,a]}function eI(e,t,n){let r=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,o=n?e.indexOf(n):-1,i=eR(e,Math.max(o,0));1===r.length&&(i=i.filter(e=>e!==n));let a=i.find(e=>e.textValue.toLowerCase().startsWith(r.toLowerCase()));return a!==n?a:void 0}function eR(e,t){return e.map((n,r)=>e[(t+r)%e.length])}eO.displayName="BubbleSelect";var eP=B,ej=H,e_=U,eA=Y,eD=K,eN=Z,eL=eu,eW=eg,eF=eb},20442:function(e,t,n){"use strict";n.d(t,{Eh:function(){return et},VY:function(){return ee},fC:function(){return X},h_:function(){return J},xz:function(){return Q},zt:function(){return Z}});var r=n(8247),o=n(61157),i=n(49818),a=n(24820),s=n(83185),l=n(8754),u=n(29957),c=n(80770),d=n(64287),f=n(42111),p=n(31462),h=n(82574),m=n(47106),v=n(31711),[g,y]=(0,a.b)("Tooltip",[u.D7]),b=(0,u.D7)(),w="TooltipProvider",x=700,k="tooltip.open",[S,E]=g(w),C=e=>{let{__scopeTooltip:t,delayDuration:n=x,skipDelayDuration:o=300,disableHoverableContent:i=!1,children:a}=e,[s,l]=r.useState(!0),u=r.useRef(!1),c=r.useRef(0);return r.useEffect(()=>{let e=c.current;return()=>window.clearTimeout(e)},[]),(0,v.jsx)(S,{scope:t,isOpenDelayed:s,delayDuration:n,onOpen:r.useCallback(()=>{window.clearTimeout(c.current),l(!1)},[]),onClose:r.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>l(!0),o)},[o]),isPointerInTransitRef:u,onPointerInTransitChange:r.useCallback(e=>{u.current=e},[]),disableHoverableContent:i,children:a})};C.displayName=w;var T="Tooltip",[O,M]=g(T),I=e=>{let{__scopeTooltip:t,children:n,open:o,defaultOpen:i=!1,onOpenChange:a,disableHoverableContent:s,delayDuration:c}=e,d=E(T,e.__scopeTooltip),f=b(t),[p,m]=r.useState(null),g=(0,l.M)(),y=r.useRef(0),w=null!=s?s:d.disableHoverableContent,x=null!=c?c:d.delayDuration,S=r.useRef(!1),[C=!1,M]=(0,h.T)({prop:o,defaultProp:i,onChange:e=>{e?(d.onOpen(),document.dispatchEvent(new CustomEvent(k))):d.onClose(),null==a||a(e)}}),I=r.useMemo(()=>C?S.current?"delayed-open":"instant-open":"closed",[C]),R=r.useCallback(()=>{window.clearTimeout(y.current),y.current=0,S.current=!1,M(!0)},[M]),P=r.useCallback(()=>{window.clearTimeout(y.current),y.current=0,M(!1)},[M]),j=r.useCallback(()=>{window.clearTimeout(y.current),y.current=window.setTimeout(()=>{S.current=!0,M(!0),y.current=0},x)},[x,M]);return r.useEffect(()=>()=>{y.current&&(window.clearTimeout(y.current),y.current=0)},[]),(0,v.jsx)(u.fC,{...f,children:(0,v.jsx)(O,{scope:t,contentId:g,open:C,stateAttribute:I,trigger:p,onTriggerChange:m,onTriggerEnter:r.useCallback(()=>{d.isOpenDelayed?j():R()},[d.isOpenDelayed,j,R]),onTriggerLeave:r.useCallback(()=>{w?P():(window.clearTimeout(y.current),y.current=0)},[P,w]),onOpen:R,onClose:P,disableHoverableContent:w,children:n})})};I.displayName=T;var R="TooltipTrigger",P=r.forwardRef((e,t)=>
1{let{__scopeTooltip:n,...a}=e,s=M(R,n),l=E(R,n),c=b(n),d=r.useRef(null),p=(0,i.e)(t,d,s.onTriggerChange),h=r.useRef(!1),m=r.useRef(!1),g=r.useCallback(()=>h.current=!1,[]);return r.useEffect(()=>()=>document.removeEventListener("pointerup",g),[g]),(0,v.jsx)(u.ee,{asChild:!0,...c,children:(0,v.jsx)(f.WV.button,{"aria-describedby":s.open?s.contentId:void 0,"data-state":s.stateAttribute,...a,ref:p,onPointerMove:(0,o.M)(e.onPointerMove,e=>{"touch"===e.pointerType||m.current||l.isPointerInTransitRef.current||(s.onTriggerEnter(),m.current=!0)}),onPointerLeave:(0,o.M)(e.onPointerLeave,()=>{s.onTriggerLeave(),m.current=!1}),onPointerDown:(0,o.M)(e.onPointerDown,()=>{h.current=!0,document.addEventListener("pointerup",g,{once:!0})}),onFocus:(0,o.M)(e.onFocus,()=>{h.current||s.onOpen()}),onBlur:(0,o.M)(e.onBlur,s.onClose),onClick:(0,o.M)(e.onClick,s.onClose)})})});P.displayName=R;var j="TooltipPortal",[_,A]=g(j,{forceMount:void 0}),D=e=>{let{__scopeTooltip:t,forceMount:n,children:r,container:o}=e,i=M(j,t);return(0,v.jsx)(_,{scope:t,forceMount:n,children:(0,v.jsx)(d.z,{present:n||i.open,children:(0,v.jsx)(c.h,{asChild:!0,container:o,children:r})})})};D.displayName=j;var N="TooltipContent",L=r.forwardRef((e,t)=>{let n=A(N,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...i}=e,a=M(N,e.__scopeTooltip);return(0,v.jsx)(d.z,{present:r||a.open,children:a.disableHoverableContent?(0,v.jsx)(z,{side:o,...i,ref:t}):(0,v.jsx)(W,{side:o,...i,ref:t})})}),W=r.forwardRef((e,t)=>{let n=M(N,e.__scopeTooltip),o=E(N,e.__scopeTooltip),a=r.useRef(null),s=(0,i.e)(t,a),[l,u]=r.useState(null),{trigger:c,onClose:d}=n,f=a.current,{onPointerInTransitChange:p}=o,h=r.useCallback(()=>{u(null),p(!1)},[p]),m=r.useCallback((e,t)=>{let n=e.currentTarget,r={x:e.clientX,y:e.clientY},o=U(r,n.getBoundingClientRect());u(K([...q(r,o),...Y(t.getBoundingClientRect())])),p(!0)},[p]);return r.useEffect(()=>()=>h(),[h]),r.useEffect(()=>{if(c&&f){let e=e=>m(e,f),t=e=>m(e,c);return c.addEventListener("pointerleave",e),f.addEventListener("pointerleave",t),()=>{c.removeEventListener("pointerleave",e),f.removeEventListener("pointerleave",t)}}},[c,f,m,h]),r.useEffect(()=>{if(l){let e=e=>{let t=e.target,n={x:e.clientX,y:e.clientY},r=(null==c?void 0:c.contains(t))||(null==f?void 0:f.contains(t)),o=!$(n,l);r?h():o&&(h(),d())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}},[c,f,l,d,h]),(0,v.jsx)(z,{...e,ref:s})}),[F,B]=g(T,{isInside:!1}),z=r.forwardRef((e,t)=>{let{__scopeTooltip:n,children:o,"aria-label":i,onEscapeKeyDown:a,onPointerDownOutside:l,...c}=e,d=M(N,n),f=b(n),{onClose:h}=d;return r.useEffect(()=>(document.addEventListener(k,h),()=>document.removeEventListener(k,h)),[h]),r.useEffect(()=>{if(d.trigger){let e=e=>{let t=e.target;(null==t?void 0:t.contains(d.trigger))&&h()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}},[d.trigger,h]),(0,v.jsx)(s.XB,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:a,onPointerDownOutside:l,onFocusOutside:e=>e.preventDefault(),onDismiss:h,children:(0,v.jsxs)(u.VY,{"data-state":d.stateAttribute,...f,...c,ref:t,style:{...c.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[(0,v.jsx)(p.A4,{children:o}),(0,v.jsx)(F,{scope:n,isInside:!0,children:(0,v.jsx)(m.f,{id:d.contentId,role:"tooltip",children:i||o})})]})})});L.displayName=N;var H="TooltipArrow",V=r.forwardRef((e,t)=>{let{__scopeTooltip:n,...r}=e,o=b(n);return B(H,n).isInside?null:(0,v.jsx)(u.Eh,{...o,...r,ref:t})});function U(e,t){let n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,o,i)){case i:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw Error("unreachable")}}function q(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5,r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n})}return r}function Y(e){let{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}function $(e,t){let{x:n,y:r}=e,o=!1;for(let e=0,i=t.length-1;e<t.length;i=e++){let a=t[e].x,s=t[e].y,l=t[i].x,u=t[i].y;s>r!=u>r&&n<(l-a)*(r-s)/(u-s)+a&&(o=!o)}return o}function K(e){let t=e.slice();return t.sort((e,t)=>
1e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:e.y>t.y?1:0),G(t)}function G(e){if(e.length<=1)return e.slice();let t=[];for(let n=0;n<e.length;n++){let r=e[n];for(;t.length>=2;){let e=t[t.length-1],n=t[t.length-2];if((e.x-n.x)*(r.y-n.y)>=(e.y-n.y)*(r.x-n.x))t.pop();else break}t.push(r)}t.pop();let n=[];for(let t=e.length-1;t>=0;t--){let r=e[t];for(;n.length>=2;){let e=n[n.length-1],t=n[n.length-2];if((e.x-t.x)*(r.y-t.y)>=(e.y-t.y)*(r.x-t.x))n.pop();else break}n.push(r)}return(n.pop(),1===t.length&&1===n.length&&t[0].x===n[0].x&&t[0].y===n[0].y)?t:t.concat(n)}V.displayName=H;var Z=C,X=I,Q=P,J=D,ee=L,et=V},47106:function(e,t,n){"use strict";n.d(t,{T:function(){return s},f:function(){return l}});var r=n(8247),o=n(42111),i=n(31711),a="VisuallyHidden",s=r.forwardRef((e,t)=>(0,i.jsx)(o.WV.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));s.displayName=a;var l=s},89925:function(e,t,n){"use strict";n.d(t,{H:function(){return J}});var r=n(70558),o=n(8247);function i(e){return(0,o.useEffect)(()=>()=>e(),[])}var a=n(96115),s=n(72806),l=n(82106),u=n(27605),c=n(41399);let d=(e,t,n)=>{let r=t-e;return((n-e)%r+r)%r+e};var f=n(61151);function p(e,t){return(0,f.N)(e)?e[d(0,e.length,t)]:e}var h=n(97203),m=n(85911),v=n(10054);function g(e){return"object"==typeof e&&!Array.isArray(e)}function y(e,t,n,r){return"string"==typeof e&&g(t)?(0,a.IG)(e,n,r):e instanceof NodeList?Array.from(e):Array.isArray(e)?e:[e]}function b(e,t,n){return e*(t+1)}function w(e,t,n,r){var o;return"number"==typeof t?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):"<"===t?n:null!==(o=r.get(t))&&void 0!==o?o:e}var x=n(41107),k=n(72789);function S(e,t,n){for(let r=0;r<e.length;r++){let o=e[r];o.at>t&&o.at<n&&((0,x.cl)(e,o),r--)}}function E(e,t,n,r,o,i){S(e,o,i);for(let a=0;a<t.length;a++)e.push({value:t[a],at:(0,k.t)(o,i,r[a]),easing:p(n,a)})}function C(e,t){for(let n=0;n<e.length;n++)e[n]=e[n]/(t+1)}function T(e,t){return e.at!==t.at?e.at-t.at:null===e.value?1:null===t.value?-1:0}let O="easeInOut",M=20;function I(e,{defaultTransition:t={},...n}={},r,o){let i=t.duration||.3,s=new Map,d=new Map,f={},g=new Map,x=0,k=0,S=0;for(let n=0;n<e.length;n++){let s=e[n];if("string"==typeof s){g.set(s,k);continue}if(!Array.isArray(s)){g.set(s.name,w(k,s.at,x,g));continue}let[c,T,O={}]=s;void 0!==O.at&&(k=w(k,O.at,x,g));let I=0,A=(e,n,r,s=0,c=0)=>{let d=j(e),{delay:f=0,times:v=(0,h.Y)(d),type:g="keyframes",repeat:y,repeatType:w,repeatDelay:x=0,...T}=n,{ease:O=t.ease||"easeOut",duration:R}=n,P="function"==typeof f?f(s,c):f,_=d.length,A=(0,a.xD)(g)?g:null==o?void 0:o[g];if(_<=2&&A){let e=100;2===_&&D(d)&&(e=Math.abs(d[1]-d[0]));let t={...T};void 0!==R&&(t.duration=(0,l.w)(R));let n=(0,a.S9)(t,e,A);O=n.ease,R=n.duration}null!=R||(R=i);let N=k+P;1===v.length&&0===v[0]&&(v[1]=1);let L=v.length-d.length;if(L>0&&(0,m.c)(v,L),1===d.length&&d.unshift(null),y){(0,u.k)(y<M,"Repeat count too high, must be less than 20"),R=b(R,y);let e=[...d],t=[...v],n=[...O=Array.isArray(O)?[...O]:[O]];for(let r=0;r<y;r++){d.push(...e);for(let o=0;o<e.length;o++)v.push(t[o]+(r+1)),O.push(0===o?"linear":p(n,o-1))}C(v,y)}let W=N+R;E(r,d,O,v,N,W),I=Math.max(P+R,I),S=Math.max(W,S)};if((0,v.i)(c))A(T,O,P("default",R(c,d)));else{let e=y(c,T,r,f),t=e.length;for(let n=0;n<t;n++){let r=R(e[n],d);for(let e in T)A(T[e],_(O,e),P(e,r),n,t)}}x=k,k+=I}return d.forEach((e,r)=>{for(let o in e){let i=e[o];i.sort(T);let a=[],l=[],u=[];for(let e=0;e<i.length;e++){let{at:t,value:n,easing:r}=i[e];a.push(n),l.push((0,c.Y)(0,S,t)),u.push(r||"easeOut")}0!==l[0]&&(l.unshift(0),a.unshift(a[0]),u.unshift(O)),1!==l[l.length-1]&&(l.push(1),a.push(null)),s.has(r)||s.set(r,{keyframes:{},transition:{}});let d=s.get(r);d.keyframes[o]=a,d.transition[o]={...t,duration:S,ease:u,times:l,...n}}}),s}function R(e,t){return t.has(e)||t.set(e,{}),t.get(e)}function P(e,t){return t[e]||(t[e]=[]),t[e]}function j(e){return Array.isArray(e)?e:[e]}function _(e,t){return e&&e[t]?{...e,...e[t]}:{...e}}let A=e=>"number"==typeof e,D=e=>e.every(A);var N=n(56724),L=n(370),W=n(56612),F=n(97780),B=n(4980),z=n(27642),H=n(46822);function V(e,t){return e in t}class U extends H.l{constructor(){super(...arguments),this.type="object"}readValueFromInstance(e,t){if(V(t,e)){let n=e[t];if("string"==typeof n||"number"==typeof n)return n}}getBaseTargetFromProps(){}removeValueFromRenderState(e,t){delete t.output[e]}measureInstanceViewportBox(){return(0,z.dO)()}build(e,t){Object.assign(e.output,t)}renderInstance(e,{output:t}){Object.assign(e,t)}sortInstanceNodePosition(){return 0}}function q(e){let t={presenceContext:null,props:{}
1,visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=(0,W.v)(e)?new F.e(t):new B.W(t);n.mount(e),N.R.set(e,n)}function Y(e){let t=new U({presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}});t.mount(e),N.R.set(e,t)}var $=n(17695);function K(e,t){return(0,v.i)(e)||"number"==typeof e||"string"==typeof e&&!g(t)}function G(e,t,n,r){let o=[];if(K(e,t))o.push((0,$.D)(e,g(t)&&t.default||t,n&&n.default||n));else{let i=y(e,t,r),a=i.length;(0,u.k)(!!a,"No valid elements provided.");for(let e=0;e<a;e++){let r=i[e],s=r instanceof Element?q:Y;N.R.has(r)||s(r);let l=N.R.get(r),u={...n};"delay"in u&&"function"==typeof u.delay&&(u.delay=u.delay(e,a)),o.push(...(0,L.w)(l,{...t,transition:u},{}))}}return o}function Z(e,t,n){let r=[];return I(e,t,n,{spring:s.S}).forEach(({keyframes:e,transition:t},n)=>{r.push(...G(n,e,t))}),r}function X(e){return Array.isArray(e)&&e.some(Array.isArray)}function Q(e){return function(t,n,r){let o=[];o=X(t)?Z(t,n,e):G(t,n,r,e);let i=new a.sP(o);return e&&e.animations.push(i),i}}function J(){let e=(0,r.h)(()=>({current:null,animations:[]})),t=(0,r.h)(()=>Q(e));return i(()=>{e.animations.forEach(e=>e.stop())}),[e,t]}Q()},13651:function(e,t,n){"use strict";n.d(t,{_:function(){return f}});var r=n(27605),o=n(1802),i=n(33641);function a(e){e.values.forEach(e=>e.stop())}function s(e,t){[...t].reverse().forEach(n=>{let r=e.getVariant(n);r&&(0,o.C)(e,r),e.variantChildren&&e.variantChildren.forEach(e=>{s(e,t)})})}function l(e,t){return Array.isArray(t)?s(e,t):"string"==typeof t?s(e,[t]):void(0,o.C)(e,t)}function u(){let e=!1,t=new Set,n={subscribe:e=>(t.add(e),()=>void t.delete(e)),start(n,o){(0,r.k)(e,"controls.start() should only be called after a component has mounted. Consider calling within a useEffect hook.");let a=[];return t.forEach(e=>{a.push((0,i.d)(e,n,{transitionOverride:o}))}),Promise.all(a)},set:n=>((0,r.k)(e,"controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."),t.forEach(e=>{l(e,n)})),stop(){t.forEach(e=>{a(e)})},mount:()=>(e=!0,()=>{e=!1,n.stop()})};return n}var c=n(70558),d=n(24706);let f=function(){let e=(0,c.h)(u);return(0,d.L)(e.mount,[]),e}},92360:function(e,t,n){"use strict";n.d(t,{E:function(){return i}});var r=n(39090);function o(e,t){if("first"===e)return 0;{let n=t-1;return"last"===e?n:n/2}}function i(e=.1,{startDelay:t=0,from:n=0,ease:i}={}){return(a,s)=>{let l=e*Math.abs(("number"==typeof n?n:o(n,s))-a);if(i){let t=s*e;l=(0,r.R)(i)(l/t)*t}return t+l}}},37845:function(e,t,n){"use strict";var r=n(96682);t.ZP=r.default||r},42681:function(e,t,n){"use strict";let r,o,i,a;n.d(t,{ZP:function(){return et}});var s=n(8247),l=n(31711),u=Object.defineProperty,c=Object.defineProperties,d=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable,m=Math.pow,v=(e,t,n)=>t in e?u(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,g=(e,t)=>{for(var n in t||(t={}))p.call(t,n)&&v(e,n,t[n]);if(f)for(var n of f(t))h.call(t,n)&&v(e,n,t[n]);return e},y=(e,t)=>c(e,d(t)),b=(e,t,n)=>
1{let[r,o]=(0,s.useState)(),i=(0,s.useRef)(n);return(0,s.useEffect)(()=>{i.current=n},[n]),(0,s.useEffect)(()=>{let n=null==e?void 0:e.current,r=null==t?void 0:t.current;if(!window.IntersectionObserver||!n||!r)return;let a=new IntersectionObserver(e=>{e.forEach(e=>{o(e),i.current(e)})},{threshold:[.05,.95],root:r});return a.observe(n),()=>a.disconnect()},[e,t]),r},w=(e,t)=>`${t?100/(3*e):100/e}%`,x=(e,t,n,r,o,i,a,s,l,u,c)=>{let d=null!=c?c:w(e,r),f=n?1:0,p="fade"===i?200:500,h="auto";return l&&(h=u?"100%":n?"auto":"0"),{width:d,height:h,padding:`0 ${o?o/2:0}px`,transition:i?`${a||p}ms ease 0s`:void 0,transform:"zoom"===i?`scale(${t&&n?1:s||.85})`:void 0,opacity:"fade"===i?f:1}},k=(e,t,n)=>"prev-cloned"===n?e-t:"next-cloned"===n?e+t:e,S=({count:e,children:t,index:n,isCurrentSlide:r,typeOfSlide:o,wrapAround:i,cellSpacing:a,slideWidth:u,animation:c,speed:d,zoomScale:f,onVisibleSlideHeightChange:p,adaptiveHeight:h,initializedAdaptiveHeight:m,updateIOEntry:v,id:w,carouselRef:S,carouselId:E,tabbed:C})=>{var T;let O=i?k(n,e,o):n,M=(0,s.useRef)(null),I=b(M,S,e=>{v(w,(null==e?void 0:e.intersectionRatio)>=.95)}),R=!!(null==I?void 0:I.isIntersecting),P=(null!=(T=null==I?void 0:I.intersectionRatio)?T:1)>=.95,j=(0,s.useRef)(!1);(0,s.useEffect)(()=>{var e;let t=M.current;if(t){let n=null==(e=t.getBoundingClientRect())?void 0:e.height,r=j.current;R&&!r?p(O,n):!R&&r&&p(O,null),j.current=R}},[O,R,p]);let _=r&&P?" slide-current":"";return(0,l.jsx)("div",y(g({ref:M},{inert:P?void 0:"true"}),{className:`slide${_}${o?` ${o}`:""}${P?" slide-visible":""}`,style:x(e,r,P,i,a,c,d,f,h,m,u),id:o?void 0:`${E}-slide-${n+1}`,role:C?"tabpanel":"group","aria-roledescription":C?void 0:"slide",children:t}))},E={position:"absolute",width:"1px",height:"1px",overflow:"hidden",padding:0,margin:"-1px",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",border:0},C=({currentSlide:e,count:t})=>`Slide ${e+1} of ${t}`,T=({message:e,ariaLive:t="polite"})=>(0,l.jsx)("div",{"aria-live":t,"aria-atomic":"true",style:E,tabIndex:-1,children:e}),O=((r=O||{}).Center="center",r.Right="right",r.Left="left",r),M=((o=M||{}).Next="next",o.Prev="prev",o.Up="up",o.Down="down",o),I=((i=I||{}).TopLeft="TopLeft",i.TopCenter="TopCenter",i.TopRight="TopRight",i.CenterLeft="CenterLeft",i.CenterCenter="CenterCenter",i.CenterRight="CenterRight",i.BottomLeft="BottomLeft",i.BottomCenter="BottomCenter",i.BottomRight="BottomRight",i),R=((a=R||{}).page="page",a.remainder="remainder",a),P=(e,t,n,r,o,i,a)=>t?n+o:n>=r-1||"left"===a&&n>=r-i?n:"remainder"===e&&"left"===a?Math.min(n+o,r-i):Math.min(n+o,r-1),j=(e,t,n,r,o,i)=>t?n-r:n<=0||"right"===i&&n<=o-1?n:"remainder"===e&&"right"===i?Math.max(n-r,o-1):Math.max(n-r,0),_=(e,t,n,r,o,i,a)=>{if(void 0!==e)return e;let s=B(t,r,a,n,!1,o);return i?s[s.length-1]:s[0]},A=(e,t)=>(e%t+t)%t,D=e=>({border:0,background:"rgba(0,0,0,0.4)",color:"white",padding:10,textTransform:"uppercase",opacity:e?.3:1,cursor:e?"not-allowed":"pointer"}),N=({cellAlign:e,currentSlide:t,slidesToShow:n,wrapAround:r})=>!r&&(0===t||"right"===e&&t<=n-1),L=({previousSlide:e,defaultControlsConfig:{prevButtonClassName:t,prevButtonStyle:n={},prevButtonText:r,prevButtonOnClick:o},onUserNavigation:i,carouselId:a,previousDisabled:s})=>{let u=t=>{null==o||o(t),t.defaultPrevented||(i(t),t.preventDefault(),e())};return(0,l.jsx)("button",{className:t,style:g(g({},D(s)),n),disabled:s,onClick:u,"aria-label":"previous","aria-controls":`${a}-slider-frame`,type:"button",children:r||"Prev"})},W=({cellAlign:e,currentSlide:t,slideCount:n,slidesToShow:r,wrapAround:o})=>!o&&(t>=n-1||"left"===e&&t>=n-r),F=({nextSlide:e,defaultControlsConfig:{nextButtonClassName:t,nextButtonStyle:n={},nextButtonText:r,nextButtonOnClick:o},carouselId:i,nextDisabled:a,onUserNavigation:s})=>{let u=t=>{null==o||o(t),t.defaultPrevented||(s(t),t.preventDefault(),e())};return(0,l.jsx)("button",{className:t,style:g(g({},D(a)),n),disabled:a,onClick:u,"aria-label":"next","aria-controls":`${i}-slider-frame`,type:"button",children:r||"Next"})},B=(e,t,n,r,o,i)=>{let a=[],s=t<=0?1:t;if(o){for(let t=0;t<e;t+=s)a.push(t);return a}if("center"===i){for(let t=0;t<e-1;t+=s)a.push(t);return e>0&&a.push(e-1),a}if("left"===i){if(r>=e)return[0];let t=e-r;for(let e=0;e<t;e+=s)a.push(e);return"remainder"===n?a.push(t):a.push(a[a.length-1]+s),a}if("right"===i){if(r>=e)return[e-1];let t=r-1;
1if("remainder"===n){for(let n=t;n<e-1;n+=s)a.push(n);a.push(e-1)}else{for(let n=e-1;n>t;n-=s)a.push(n);a.push(a[a.length-1]-s),a.reverse()}}return a},z=({pagingDotsIndices:e,defaultControlsConfig:{pagingDotsContainerClassName:t,pagingDotsClassName:n,pagingDotsStyle:r={},pagingDotsOnClick:o},carouselId:i,currentSlide:a,onUserNavigation:u,slideCount:c,goToSlide:d,tabbed:f})=>{let p={position:"relative",top:-10,display:"flex",margin:0,padding:0,listStyleType:"none"},h=(0,s.useCallback)(e=>({cursor:"pointer",opacity:e?1:.5,background:"transparent",border:"none",fill:"black"}),[]),m=A(a,c);return f?(0,l.jsx)("div",{className:t,style:p,role:"tablist","aria-label":"Choose slide to display.",children:e.map((t,a)=>{let s=m===t||m<t&&(0===a||m>e[a-1]);return(0,l.jsx)("button",{className:["paging-item",n,s?"active":null].join(" "),type:"button",style:g(g({},h(s)),r),onClick:e=>{null==o||o(e),e.defaultPrevented||(u(e),d(t))},"aria-label":`slide ${t+1}`,"aria-selected":s,"aria-controls":`${i}-slide-${t+1}`,role:"tab",children:(0,l.jsx)("svg",{className:"paging-dot",width:"6",height:"6","aria-hidden":"true",focusable:"false",viewBox:"0 0 6 6",children:(0,l.jsx)("circle",{cx:"3",cy:"3",r:"3"})})},t)})}):null},H=(e,t,n,r)=>{let[o,i]=(0,s.useState)(1),a=(0,s.useRef)(Date.now()),l=(0,s.useRef)(),u=(0,s.useRef)(!0),c=(0,s.useRef)(null),d=null===c.current||c.current===n||r?o:0;return(0,s.useEffect)(()=>{if(c.current=n,u.current){u.current=!1;return}if(r)return;a.current=Date.now(),i(0);let t=()=>{l.current=requestAnimationFrame(()=>{let n=Math.min(1,(Date.now()-a.current)/e);i(n),n<1?t():l.current=void 0})};return t(),()=>{void 0!==l.current&&(cancelAnimationFrame(l.current),i(1))}},[n,e,r]),{isAnimating:1!==d,value:t(d)}},V=(e,t,n,r,o)=>{let i=o?3*t:t,a=100/i,s=o?-100/3:0;return"right"===r&&n>1&&(s+=a*(n-1)),"center"===r&&n>1&&(s+=(n-1)/2*a),s-100/i*e},U=s.forwardRef(({animation:e,animationDistance:t,cellAlign:n,children:r,currentSlide:o,disableAnimation:i,disableEdgeSwiping:a,draggedOffset:u,easing:c,edgeEasing:d,isDragging:f,scrollMode:p,slideCount:h,slidesToScroll:m,slidesToShow:v,speed:g,wrapAround:y,slideWidth:b,setIsAnimating:w},x)=>{let k;let S=y?3*h:h,E=b?`calc(${b} * ${S})`:`${100*S/v}%`,C=[h,v,n,y],T=B(h,m,p,v,y,n),O=`${u}px`;if(f&&a&&!y){let e=[T[0],T[T.length-1]].map(e=>V(e,...C));O=`clamp(${e[1]}%, ${u}px, ${e[0]}%)`}let M=V(o,...C),{value:I,isAnimating:R}=H(g,!a&&!y&&(o===T[0]&&t<0||o===T[T.length-1]&&t>0)?d:c,o+t,f||i||"fade"===e);if(f||0!==M||R){if(f)k=`translateX(${O})`;else{let e=R?(1-I)*t:0;k=`translateX(calc(${M}% - ${e}px))`}}return(0,s.useEffect)(()=>{w(R)},[R,w]),(0,l.jsx)("div",{ref:x,className:"slider-list",style:{width:E,textAlign:"left",userSelect:"auto",transform:k,display:"flex"},children:r})});U.displayName="SliderList";var q={position:"absolute",display:"flex",zIndex:1,top:0,left:0,bottom:0,right:0},Y=e=>{let t,n;switch(e){case"TopLeft":case"TopCenter":case"TopRight":t="flex-start";break;case"CenterLeft":case"CenterCenter":case"CenterRight":t="center";break;case"BottomLeft":case"BottomCenter":case"BottomRight":t="flex-end"}switch(e){case"TopLeft":case"CenterLeft":case"BottomLeft":n="flex-start";break;case"TopCenter":case"CenterCenter":case"BottomCenter":n="center";break;case"TopRight":case"CenterRight":case"BottomRight":n="flex-end"}return{alignItems:t,justifyContent:n}},$=e=>g(g({},Y(e)),q),K=[{funcName:"renderTopLeftControls",key:"TopLeft"},{funcName:"renderTopCenterControls",key:"TopCenter"},{funcName:"renderTopRightControls",key:"TopRight"},{funcName:"renderCenterLeftControls",key:"CenterLeft"},{funcName:"renderCenterCenterControls",key:"CenterCenter"},{funcName:"renderCenterRightControls",key:"CenterRight"},{funcName:"renderBottomLeftControls",key:"BottomLeft"},{funcName:"renderBottomCenterControls",key:"BottomCenter"},{funcName:"renderBottomRightControls",key:"BottomRight"}],G=(e,t,n,r,o,i,a)=>{if(e.withoutControls)return null;let u=y(g({},e),{currentSlide:n,slideCount:t}),c=W(u),d=N(u),f=B(t,a,e.scrollMode,e.slidesToShow,e.wrapAround,e.cellAlign);return K.map(u=>{var p;return e[u.funcName]&&"function"==typeof e[u.funcName]?(0,l.jsx)("div",{style:y(g({},$(u.key)),{pointerEvents:"none"}),children:(0,l.jsx)("div",{className:[`slider-control-${u.key.toLowerCase()}`,e.defaultControlsConfig.containerClassName||""].join(" ").trim(),style:{pointerEvents:"auto"},children:null==(p=e[u.funcName])?void 0:p.call(e,{cellAlign:e.cellAlign,cellSpacing:e.cellSpacing,currentSlide:n,defaultControlsConfig:e.defaultControlsConfig||{},carouselId:e.carouselId,pagingDotsIndices:f,goToSlide:r,nextDisabled:c,nextSlide:o,onUserNavigation:e.onUserNavigation,previousDisabled:d,previousSlide:i,scrollMode:e.scrollMode,slideCount:t,slidesToScroll:a,slidesToShow:e.slidesToShow||1,tabbed:e.tabbed,vertical:e.vertical,wrapAround:e.wrapAround})})},u.funcName):(0,l.jsx)(s.Fragment,{},u.funcName)})},Z=e=>m(e-1,3)+1,X={adaptiveHeight:!1,adaptiveHeightAnimation:!0,afterSlide:()=>{},autoplay:!1,autoplayInterval:3e3,autoplayReverse:!1,beforeSlide:()=>{},cellAlign:"left",cellSpacing:0,defaultControlsConfig:{},disableAnimation:!1,disableEdgeSwiping:!1,dragging:!0,dragThreshold:.5,easing:Z,edgeEasing:Z,enableKeyboardControls:!1,frameAriaLabel:"Slider",keyCodeConfig:{nextSlide:[39,68,38,87
1],previousSlide:[37,65,40,83],firstSlide:[81],lastSlide:[69],pause:[32]},landmark:!1,onDragStart:()=>{},onDrag:()=>{},onDragEnd:()=>{},onUserNavigation:()=>{},pauseOnHover:!0,renderAnnounceSlideMessage:C,renderBottomCenterControls:e=>(0,l.jsx)(z,g({},e)),renderCenterLeftControls:e=>(0,l.jsx)(L,g({},e)),renderCenterRightControls:e=>(0,l.jsx)(F,g({},e)),scrollMode:"page",slidesToScroll:1,slidesToShow:1,speed:500,style:{},swiping:!0,tabbed:!0,vertical:!1,withoutControls:!1,wrapAround:!1,children:(0,l.jsx)(l.Fragment,{})},Q=e=>{let[t,n]=(0,s.useState)(e),r=(0,s.useRef)(e);return[t,(0,s.useCallback)(e=>{r.current=e,n(e)},[]),r]},J=(e,t,n)=>{let[r,o,i]=Q([]),[a,l]=(0,s.useState)(!1);return{handleVisibleSlideHeightChange:(0,s.useCallback)((e,r)=>{let a;let s=i.current;o(a=null===r?s.filter(t=>t.slideIndex!==e):[...s,{slideIndex:e,height:r}]),a.length>=Math.min(n,Math.ceil(t))&&l(!0)},[n,o,t,i]),frameHeight:(0,s.useMemo)(()=>{if(!e)return"auto";{if(!a)return"auto";let e=Math.max(0,...r.map(e=>e.height));return`${e}px`}},[e,a,r]),initializedAdaptiveHeight:a}},ee=e=>{let t=(0,s.useRef)(null);return(0,s.useEffect)(()=>{e&&("function"==typeof e?e(t.current):e.current=t.current)},[e]),t},et=s.forwardRef((e,t)=>{let n=e,r=(0,s.useId)(),{adaptiveHeight:o,adaptiveHeightAnimation:i,afterSlide:a,animation:u,autoplay:c,autoplayInterval:d,autoplayReverse:f,beforeSlide:p,carouselId:h=r,cellAlign:m,cellSpacing:v,children:b,className:w,disableAnimation:x,dragging:k,dragThreshold:E,enableKeyboardControls:C,frameAriaLabel:O,keyCodeConfig:M,landmark:I,onDrag:R,onDragEnd:D,onDragStart:N,onUserNavigation:L,pauseOnHover:W,renderAnnounceSlideMessage:F,scrollMode:z,slideIndex:H,slidesToScroll:q,slidesToShow:Y,slideWidth:$,speed:K,style:Z,swiping:X,tabbed:Q,wrapAround:et,zoomScale:en}=n,er=s.Children.toArray(b).filter(Boolean),eo=er.length,ei=$||"auto"===q?"left":m,ea="auto"===q?"remainder":z,[es,el]=(0,s.useState)(new Map),eu=Array.from(es).filter(([,e])=>e).length,[ec,ed]=(0,s.useState)(eu),ef=$?ec:Y,ep="fade"===u?ef:"auto"===q?Math.max(ec,1):q,[eh,em]=(0,s.useState)(()=>_(H,eo,ef,ep,ei,f,ea)),[ev,eg]=(0,s.useState)(!1),[ey,eb]=(0,s.useState)(!1),[ew,ex]=(0,s.useState)(0),[ek,eS]=(0,s.useState)(0),[eE,eC]=(0,s.useState)(!1),eT=(0,s.useCallback)((e,t)=>{!!es.get(e)!==t&&el(n=>{let r=new Map(n);return r.set(e,t),r})},[es]),eO=(0,s.useRef)(!1);(0,s.useEffect)(()=>{ey&&(eO.current=!0),ey||eE||(eO.current||ed(eu),eO.current=!1)},[eE,ey,eu]);let eM=(0,s.useRef)(null),eI=(0,s.useRef)(0),eR=(0,s.useRef)(null),eP=(0,s.useRef)(null),ej=(0,s.useRef)(),e_=(0,s.useRef)(null),eA=(0,s.useRef)(!0),eD=(0,s.useCallback)(e=>{e&&e.querySelectorAll(".slider-list img").forEach(e=>e.setAttribute("draggable","false")),eR.current=e},[]);(0,s.useEffect)(()=>(eA.current=!0,()=>{eA.current=!1}),[]);let eN=ee(t)||eP,eL=(0,s.useCallback)(e=>{if(!eR.current||!eN.current)return;let t=A(e,eo),n=e!==eh;n&&p(eh,t);let r=eR.current.getBoundingClientRect().left-eN.current.getBoundingClientRect().left,o=eR.current.offsetWidth,i=V(t,eo,ef,ei,et)/100*o;if(et){let t=o/3;e<0&&(i+=t),e>=eo&&(i-=t)}eS(i-r),n&&(em(t),setTimeout(()=>{eA.current&&a(t)},x?40:K||500))},[a,p,eN,ei,eh,x,K,eo,ef,et]),eW=(0,s.useCallback)(()=>{let e=P(ea,et,eh,eo,ep,ef,ei);eh!==e&&eL(e)},[ei,eh,eL,ep,ea,eo,ef,et]),eF=(0,s.useCallback)(()=>{let e=j(ea,et,eh,ep,ef,ei);eh!==e&&eL(e)},[ei,eh,eL,ep,ea,ef,et]),eB=(0,s.useRef)(H);(0,s.useEffect)(()=>{void 0===H||H===eB.current||f||(eL(H),eB.current=H)},[H,f,eL]),(0,s.useEffect)(()=>{let e=null;return ev&&(e=Date.now()),()=>{null!==e&&null!==e_.current&&(e_.current+=Date.now()-e)}},[ev]),(0,s.useEffect)(()=>{if(c&&!ev){let e=null!==e_.current?d-(Date.now()-e_.current):d;ej.current=setTimeout(()=>{e_.current=Date.now(),f?eF():eW()},e)}return c&&ev&&clearTimeout(ej.current),()=>{clearTimeout(ej.current)}},[ev,c,d,f,eF,eW]);let ez=e=>{let t=null;if(Object.keys(M).forEach(n=>{var r;(null==(r=M[n])?void 0:r.includes(e.keyCode))&&(t=n)}),null!==t)switch(e.preventDefault(),e.stopPropagation(),t){case"nextSlide":L(e),eW();break;case"previousSlide":L(e),eF();break;case"firstSlide":case"lastSlide":{L(e);let n=B(eo,ep,ea,ef,et,ei);"firstSlide"===t?eL(n[0]):eL(n[n.length-1]);break}case"pause":eg(e=>!e)}},eH=(0,s.useRef)([]),eV=e=>{if(!ey||!eN.current)return;eb(!1);let t=0;if(eH.current.length>1){let e=eH.current[0],n=eH.current[eH.current.length-1],r=n.time-e.time,o=.92,i=9*Math.abs((n.pos-e.pos)/r);for(;Math.abs(i)>1;)t+=i,i*=o}eH.current=[];let n=Math.abs(ew)+Math.abs(t);D(e),eM.current=null,ex(0);let r=eN.current.offsetWidth*Math.min(1,ep/ef),o=r*E;if(n<o){eL(eh);return}let i=ef>=2*ep?1+Math.floor((n-o)/r):1,a=eh;for(let e=0;e<i;e+=1)a=ew>0?P(ea,et,a,eo,ep,ef,ei):j(ea,et,a,ep,ef,ei);a!==eh&&L(e),eL(a)},eU=(0,s.useCallback)(e=>{X&&eR.current&&eN.current&&(eb(!0),eI.current=eR.current.getBoundingClientRect().left-eN.current.getBoundingClientRect().left,N(e))},[eN,N,X]),eq=(0,s.useCallback)(e=>{if(!ey)return;
1let t=null===eM.current,n=ew+(null!==eM.current?e-eM.current:0),r=Date.now();for(;eH.current.length>0&&!(r-eH.current[0].time<=100);)eH.current.shift();eH.current.push({pos:n,time:r}),t||ex(n),eM.current=e},[ey,ew]),eY=(0,s.useCallback)(e=>{ey&&eN.current&&(N(e),eq(eN.current.offsetWidth-e.touches[0].pageX))},[ey,eN,eq,N]),e$=(0,s.useCallback)(e=>{k&&eR.current&&eN.current&&(eb(!0),eI.current=eR.current.getBoundingClientRect().left-eN.current.getBoundingClientRect().left,N(e))},[eN,k,N]),eK=(0,s.useCallback)(e=>{if(!ey||!eN.current)return;R(e);let t=e.clientX-eN.current.getBoundingClientRect().left;eq(eN.current.offsetWidth-t)},[eN,ey,eq,R]),eG=e=>{e.preventDefault(),eV(e)},eZ=(0,s.useCallback)(()=>{W&&eg(!0)},[W]),eX=(0,s.useCallback)(()=>{W&&eg(!1)},[W]),{frameHeight:eQ,handleVisibleSlideHeightChange:eJ,initializedAdaptiveHeight:e0}=J(o,ef,eo),e1=e=>er.map((t,n)=>(0,l.jsx)(S,{id:`${e}-${n}`,carouselId:h,count:eo,index:n,isCurrentSlide:eh===n,typeOfSlide:e,wrapAround:et,cellSpacing:v,animation:u,speed:K,zoomScale:en,onVisibleSlideHeightChange:eJ,slideWidth:$,updateIOEntry:eT,adaptiveHeight:o,initializedAdaptiveHeight:e0,carouselRef:eN,tabbed:Q,children:t},`${e}-${n}`));return(0,l.jsxs)("div",{className:"slider-container",style:{position:"relative"},onMouseEnter:eZ,onMouseLeave:eX,"aria-label":O,role:I?"region":"group","aria-roledescription":"carousel",id:h,"data-testid":h,children:[(0,l.jsx)(T,{ariaLive:c&&!ev?"off":"polite",message:F({currentSlide:eh,count:eo})}),G(y(g({},n),{carouselId:h}),eo,eh,eL,eW,eF,ep),(0,l.jsx)("div",{className:["slider-frame",w||""].join(" ").trim(),style:g({overflow:"hidden",width:"100%",position:"relative",outline:"none",touchAction:"pan-y",height:eQ,transition:i?"height 300ms ease-in-out":void 0,willChange:"height",userSelect:"none"},Z),tabIndex:C?0:-1,onKeyDown:C?ez:void 0,ref:eN,onMouseUp:eG,onMouseDown:e$,onMouseMove:eK,onMouseLeave:eG,onTouchStart:eU,onTouchEnd:eV,onTouchMove:eY,id:`${h}-slider-frame`,"data-testid":`${h}-slider-frame`,children:(0,l.jsxs)(U,{animationDistance:ek,cellAlign:ei,currentSlide:eh,disableEdgeSwiping:n.disableEdgeSwiping,draggedOffset:eI.current-ew,disableAnimation:x,easing:n.easing,edgeEasing:n.edgeEasing,isDragging:ey,ref:eD,scrollMode:ea,animation:u,slideCount:eo,slidesToScroll:ep,slidesToShow:ef,speed:K,slideWidth:$,wrapAround:et,setIsAnimating:eC,children:[et?e1("prev-cloned"):null,e1(),et?e1("next-cloned"):null]})})]})});et.defaultProps=X,et.displayName="Carousel"},22258:function(e,t,n){"use strict";n.d(t,{_:function(){return n5}});var r,o,i,a,s,l={};n.r(l),n.d(l,{CaptionLabel:function(){return tM},Chevron:function(){return tI},Day:function(){return tR},DayButton:function(){return tP},Dropdown:function(){return tA},DropdownNav:function(){return tD},Footer:function(){return tN},Month:function(){return tL},MonthCaption:function(){return tW},MonthGrid:function(){return tF},Months:function(){return tB},MonthsDropdown:function(){return tz},Nav:function(){return tH},NextMonthButton:function(){return tV},Option:function(){return tU},PreviousMonthButton:function(){return tq},Root:function(){return tY},Select:function(){return t$},Week:function(){return tK},WeekNumber:function(){return tX},WeekNumberHeader:function(){return tQ},Weekday:function(){return tG},Weekdays:function(){return tZ},Weeks:function(){return tJ},YearsDropdown:function(){return t0}});var u={};n.r(u),n.d(u,{formatCaption:function(){return t4},formatDay:function(){return t8},formatMonthDropdown:function(){return t5},formatWeekNumber:function(){return t9},formatWeekNumberHeader:function(){return t6},formatWeekdayName:function(){return t7},formatYearDropdown:function(){return ne}});var c={};n.r(c),n.d(c,{labelDayButton:function(){return nn},labelGrid:function(){return nr},labelGridcell:function(){return no},labelMonthDropdown:function(){return ni},labelNav:function(){return na},labelNext:function(){return nl},labelPrevious:function(){return nu},labelWeekNumber:function(){return nd},labelWeekNumberHeader:function(){return nf},labelWeekday:function(){return nc},labelYearDropdown:function(){return np}});var d=n(8247);let f={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},p=(e,t,n)=>{let r;let o=f[e];return(r="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),null==n?void 0:n.addSuffix)?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function h(e){return function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}let m={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},v={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},g={date:h({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:h({formats:m,defaultWidth:"full"}),dateTime:h({formats:v,defaultWidth:"full"})},y={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},b=(e,t,n,r)=>y[e];function w(e){return(t,n)=>{let r;if("formatting"===((null==n?void 0:n.context)?String(n.context):"standalone")&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,o=(null==n?void 0:n.width)?String(n.width):t;r=e.formattingValues[o]||e.formattingValues[t]}else{let t=e.defaultWidth,o=(null==n?void 0:n.width)?String(n.width):e.defaultWidth;r=e.values[o]||e.values[t]}return r[e.argumentCallback?e.argumentCallback(t):t]}}let x={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},k={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},S={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
1ay","Saturday"]},E={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},C={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},T={ordinalNumber:(e,t)=>{let n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:w({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:w({values:x,defaultWidth:"wide",argumentCallback:e=>e-1}),month:w({values:k,defaultWidth:"wide"}),day:w({values:S,defaultWidth:"wide"}),dayPeriod:w({values:E,defaultWidth:"wide",formattingValues:C,defaultFormattingWidth:"wide"})};function O(e){return function(t){let n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=r.width,i=o&&e.matchPatterns[o]||e.matchPatterns[e.defaultMatchWidth],a=t.match(i);if(!a)return null;let s=a[0],l=o&&e.parsePatterns[o]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(l)?I(l,e=>e.test(s)):M(l,e=>e.test(s));return n=e.valueCallback?e.valueCallback(u):u,{value:n=r.valueCallback?r.valueCallback(n):n,rest:t.slice(s.length)}}}function M(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function I(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}let R={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},P={any:[/^b/i,/^(a|c)/i]},j={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},_={any:[/1/i,/2/i,/3/i,/4/i]},A={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},D={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},N={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},L={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},W={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},F={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},B={code:"en-US",formatDistance:p,formatLong:g,formatRelative:b,localize:T,match:{ordinalNumber:function(e){return function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.match(e.matchPattern);if(!r)return null;let o=r[0],i=t.match(e.parsePattern);if(!i)return null;let a=e.valueCallback?e.valueCallback(i[0]):i[0];return{value:a=n.valueCallback?n.valueCallback(a):a,rest:t.slice(o.length)}}}({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:O({matchPatterns:R,defaultMatchWidth:"wide",parsePatterns:P,defaultParseWidth:"any"}),quarter:O({matchPatterns:j,defaultMatchWidth:"wide",parsePatterns:_,defaultParseWidth:"any",valueCallback:e=>e+1}),month:O({matchPatterns:A,defaultMatchWidth:"wide",parsePatterns:D,defaultParseWidth:"any"}),day:O({matchPatterns:N,defaultMatchWidth:"wide",parsePatterns:L,defaultParseWidth:"any"}),dayPeriod:O({matchPatterns:W,defaultMatchWidth:"any",parsePatterns:F,defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}},z={};function H(){return z}let V=6048e5,U=864e5,q=Symbol.for("constructDateFrom");function Y(e,t){return"function"==typeof e?e(t):e&&"object"==typeof e&&q in e?e[q](t):e instanceof Date?new e.constructor(t):new Date(t)}function $(e,t){return Y(t||e,e)}function K(e){let t=$(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function G(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];let o=Y.bind(null,e||n.find(e=>"object"==typeof e));return n.map(o)}function Z(e,t){let n=$(e,null==t?void 0:t.in);return n.setHours(0,0,0,0),n}
1function X(e,t,n){let[r,o]=G(null==n?void 0:n.in,e,t),i=Z(r),a=Z(o);return Math.round((+i-K(i)-(+a-K(a)))/U)}function Q(e,t){let n=$(e,null==t?void 0:t.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}function J(e,t){let n=$(e,null==t?void 0:t.in);return X(n,Q(n))+1}function ee(e,t){var n,r,o,i,a,s,l,u;let c=H(),d=null!==(u=null!==(l=null!==(s=null!==(a=null==t?void 0:t.weekStartsOn)&&void 0!==a?a:null==t?void 0:null===(r=t.locale)||void 0===r?void 0:null===(n=r.options)||void 0===n?void 0:n.weekStartsOn)&&void 0!==s?s:c.weekStartsOn)&&void 0!==l?l:null===(i=c.locale)||void 0===i?void 0:null===(o=i.options)||void 0===o?void 0:o.weekStartsOn)&&void 0!==u?u:0,f=$(e,null==t?void 0:t.in),p=f.getDay(),h=(p<d?7:0)+p-d;return f.setDate(f.getDate()-h),f.setHours(0,0,0,0),f}function et(e,t){return ee(e,{...t,weekStartsOn:1})}function en(e,t){let n=$(e,null==t?void 0:t.in),r=n.getFullYear(),o=Y(n,0);o.setFullYear(r+1,0,4),o.setHours(0,0,0,0);let i=et(o),a=Y(n,0);a.setFullYear(r,0,4),a.setHours(0,0,0,0);let s=et(a);return n.getTime()>=i.getTime()?r+1:n.getTime()>=s.getTime()?r:r-1}function er(e,t){let n=en(e,t),r=Y((null==t?void 0:t.in)||e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),et(r)}function eo(e,t){let n=$(e,null==t?void 0:t.in);return Math.round((+et(n)-+er(n))/V)+1}function ei(e,t){var n,r,o,i,a,s,l,u;let c=$(e,null==t?void 0:t.in),d=c.getFullYear(),f=H(),p=null!==(u=null!==(l=null!==(s=null!==(a=null==t?void 0:t.firstWeekContainsDate)&&void 0!==a?a:null==t?void 0:null===(r=t.locale)||void 0===r?void 0:null===(n=r.options)||void 0===n?void 0:n.firstWeekContainsDate)&&void 0!==s?s:f.firstWeekContainsDate)&&void 0!==l?l:null===(i=f.locale)||void 0===i?void 0:null===(o=i.options)||void 0===o?void 0:o.firstWeekContainsDate)&&void 0!==u?u:1,h=Y((null==t?void 0:t.in)||e,0);h.setFullYear(d+1,0,p),h.setHours(0,0,0,0);let m=ee(h,t),v=Y((null==t?void 0:t.in)||e,0);v.setFullYear(d,0,p),v.setHours(0,0,0,0);let g=ee(v,t);return+c>=+m?d+1:+c>=+g?d:d-1}function ea(e,t){var n,r,o,i,a,s,l,u;let c=H(),d=null!==(u=null!==(l=null!==(s=null!==(a=null==t?void 0:t.firstWeekContainsDate)&&void 0!==a?a:null==t?void 0:null===(r=t.locale)||void 0===r?void 0:null===(n=r.options)||void 0===n?void 0:n.firstWeekContainsDate)&&void 0!==s?s:c.firstWeekContainsDate)&&void 0!==l?l:null===(i=c.locale)||void 0===i?void 0:null===(o=i.options)||void 0===o?void 0:o.firstWeekContainsDate)&&void 0!==u?u:1,f=ei(e,t),p=Y((null==t?void 0:t.in)||e,0);return p.setFullYear(f,0,d),p.setHours(0,0,0,0),ee(p,t)}function es(e,t){let n=$(e,null==t?void 0:t.in);return Math.round((+ee(n,t)-+ea(n,t))/V)+1}function el(e,t){return(e<0?"-":"")+Math.abs(e).toString().padStart(t,"0")}let eu={y(e,t){let n=e.getFullYear(),r=n>0?n:1-n;return el("yy"===t?r%100:r,t.length)},M(e,t){let n=e.getMonth();return"M"===t?String(n+1):el(n+1,2)},d:(e,t)=>el(e.getDate(),t.length),a(e,t){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(e,t)=>el(e.getHours()%12||12,t.length),H:(e,t)=>el(e.getHours(),t.length),m:(e,t)=>el(e.getMinutes(),t.length),s:(e,t)=>el(e.getSeconds(),t.length),S(e,t){let n=t.length;return el(Math.trunc(e.getMilliseconds()*Math.pow(10,n-3)),t.length)}},ec={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},ed={G:function(e,t,n){let r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){let t=e.getFullYear(),r=t>0?t:1-t;return n.ordinalNumber(r,{unit:"year"})}return eu.y(e,t)},Y:function(e,t,n,r){let o=ei(e,r),i=o>0?o:1-o;return"YY"===t?el(i%100,2):"Yo"===t?n.ordinalNumber(i,{unit:"year"}):el(i,t.length)},R:function(e,t){return el(en(e),t.length)},u:function(e,t){return el(e.getFullYear(),t.length)},Q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return el(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){let r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return el(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){let r=e.getMonth();switch(t){case"M":case"MM":return eu.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){let r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return el(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){let o=es(e,r);return"wo"===t?n.ordinalNumber(o,{unit:"week"}):el(o,t.length)},I:function(e,t,n){let r=eo(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):el(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):eu.d(e,t)},D:function(e,t,n){let r=J(e);return"Do"===t?n.ordinalNumber(r,{unit:"dayOfYear"}):el(r,t.length)},E:function(e,t,n){let r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){let o=e.getDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return el(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){let o=e.getDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return el(i,t.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){let r=e.getDay(),o=0===r?7:r;switch(t){case"i":return String(o);case"ii":return el(o,t.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){let r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){let r;let o=e.getHours();switch(r=12===o?ec.noon:0===o?ec.midnight:o/12>
1=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){let r;let o=e.getHours();switch(r=o>=17?ec.evening:o>=12?ec.afternoon:o>=4?ec.morning:ec.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return eu.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):eu.H(e,t)},K:function(e,t,n){let r=e.getHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):el(r,t.length)},k:function(e,t,n){let r=e.getHours();return(0===r&&(r=24),"ko"===t)?n.ordinalNumber(r,{unit:"hour"}):el(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):eu.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):eu.s(e,t)},S:function(e,t){return eu.S(e,t)},X:function(e,t,n){let r=e.getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return ep(r);case"XXXX":case"XX":return eh(r);default:return eh(r,":")}},x:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"x":return ep(r);case"xxxx":case"xx":return eh(r);default:return eh(r,":")}},O:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+ef(r,":");default:return"GMT"+eh(r,":")}},z:function(e,t,n){let r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+ef(r,":");default:return"GMT"+eh(r,":")}},t:function(e,t,n){return el(Math.trunc(+e/1e3),t.length)},T:function(e,t,n){return el(+e,t.length)}};function ef(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e>0?"-":"+",r=Math.abs(e),o=Math.trunc(r/60),i=r%60;return 0===i?n+String(o):n+String(o)+t+el(i,2)}function ep(e,t){return e%60==0?(e>0?"-":"+")+el(Math.abs(e)/60,2):eh(e,t)}function eh(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=e>0?"-":"+",r=Math.abs(e);return n+el(Math.trunc(r/60),2)+t+el(r%60,2)}let em=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},ev=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},eg=(e,t)=>{let n;let r=e.match(/(P+)(p+)?/)||[],o=r[1],i=r[2];if(!i)return em(e,t);switch(o){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",em(o,t)).replace("{{time}}",ev(i,t))},ey={p:ev,P:eg},eb=/^D+$/,ew=/^Y+$/,ex=["D","DD","YY","YYYY"];function ek(e){return eb.test(e)}function eS(e){return ew.test(e)}function eE(e,t,n){let r=eC(e,t,n);if(console.warn(r),ex.includes(e))throw RangeError(r)}function eC(e,t,n){let r="Y"===e[0]?"years":"days of the month";return"Use `".concat(e.toLowerCase(),"` instead of `").concat(e,"` (in `").concat(t,"`) for formatting ").concat(r," to the input `").
1concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md")}function eT(e){return e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e)}function eO(e){return!(!eT(e)&&"number"!=typeof e||isNaN(+$(e)))}let eM=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,eI=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,eR=/^'([^]*?)'?$/,eP=/''/g,ej=/[a-zA-Z]/;function e_(e,t,n){var r,o,i,a,s,l,u,c,d,f,p,h,m,v,g,y,b,w;let x=H(),k=null!==(f=null!==(d=null==n?void 0:n.locale)&&void 0!==d?d:x.locale)&&void 0!==f?f:B,S=null!==(v=null!==(m=null!==(h=null!==(p=null==n?void 0:n.firstWeekContainsDate)&&void 0!==p?p:null==n?void 0:null===(o=n.locale)||void 0===o?void 0:null===(r=o.options)||void 0===r?void 0:r.firstWeekContainsDate)&&void 0!==h?h:x.firstWeekContainsDate)&&void 0!==m?m:null===(a=x.locale)||void 0===a?void 0:null===(i=a.options)||void 0===i?void 0:i.firstWeekContainsDate)&&void 0!==v?v:1,E=null!==(w=null!==(b=null!==(y=null!==(g=null==n?void 0:n.weekStartsOn)&&void 0!==g?g:null==n?void 0:null===(l=n.locale)||void 0===l?void 0:null===(s=l.options)||void 0===s?void 0:s.weekStartsOn)&&void 0!==y?y:x.weekStartsOn)&&void 0!==b?b:null===(c=x.locale)||void 0===c?void 0:null===(u=c.options)||void 0===u?void 0:u.weekStartsOn)&&void 0!==w?w:0,C=$(e,null==n?void 0:n.in);if(!eO(C))throw RangeError("Invalid time value");let T=t.match(eI).map(e=>{let t=e[0];return"p"===t||"P"===t?(0,ey[t])(e,k.formatLong):e}).join("").match(eM).map(e=>{if("''"===e)return{isToken:!1,value:"'"};let t=e[0];if("'"===t)return{isToken:!1,value:eA(e)};if(ed[t])return{isToken:!0,value:e};if(t.match(ej))throw RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});k.localize.preprocessor&&(T=k.localize.preprocessor(C,T));let O={firstWeekContainsDate:S,weekStartsOn:E,locale:k};return T.map(r=>{if(!r.isToken)return r.value;let o=r.value;return(!(null==n?void 0:n.useAdditionalWeekYearTokens)&&eS(o)||!(null==n?void 0:n.useAdditionalDayOfYearTokens)&&ek(o))&&eE(o,t,String(e)),(0,ed[o[0]])(C,o,k.localize,O)}).join("")}function eA(e){let t=e.match(eR);return t?t[1].replace(eP,"'"):e}let eD={...B,labels:{labelDayButton:(e,t,n,r)=>{let o;let i=(o=r&&"function"==typeof r.format?r.format.bind(r):(e,t)=>e_(e,t,{locale:B,...n}))(e,"PPPP");return t.today&&(i=`Today, ${i}`),t.selected&&(i=`${i}, selected`),i},labelMonthDropdown:"Choose the Month",labelNext:"Go to the Next Month",labelPrevious:"Go to the Previous Month",labelWeekNumber:e=>`Week ${e}`,labelYearDropdown:"Choose the Year",labelGrid:(e,t,n)=>{let r;return(r=n&&"function"==typeof n.format?n.format.bind(n):(e,n)=>e_(e,n,{locale:B,...t}))(e,"LLLL yyyy")},labelGridcell:(e,t,n,r)=>{let o;let i=(o=r&&"function"==typeof r.format?r.format.bind(r):(e,t)=>e_(e,t,{locale:B,...n}))(e,"PPPP");return t?.today&&(i=`Today, ${i}`),i},labelNav:"Navigation bar",labelWeekNumberHeader:"Week Number",labelWeekday:(e,t,n)=>{let r;return(r=n&&"function"==typeof n.format?n.format.bind(n):(e,n)=>e_(e,n,{locale:B,...t}))(e,"cccc")}}};function eN(e,t,n="long"){return new Intl.DateTimeFormat("en-US",{hour:"numeric",timeZone:e,timeZoneName:n}).format(t).split(/\s/g).slice(2).join(" ")}Symbol.for("constructDateFrom");let eL={},eW={};function eF(e,t){try{let n=(eL[e]||=new Intl.DateTimeFormat("en-US",{timeZone:e,timeZoneName:"longOffset"}).format)(t).split("GMT")[1];if(n in eW)return eW[n];return ez(n,n.split(":"))}catch{if(e in eW)return eW[e];let t=e?.match(eB);if(t)return ez(e,t.slice(1));return NaN}}let eB=/([+-]\d\d):?(\d\d)?/;function ez(e,t){let n=+(t[0]||0),r=+(t[1]||0),o=+(t[2]||0)/60;return eW[e]=60*n+r>0?60*n+r+o:60*n-r-o}class eH extends Date{constructor(...e){super(),e.length>1&&"string"==typeof e[e.length-1]&&(this.timeZone=e.pop()),this.internal=new Date,isNaN(eF(this.timeZone,this))?this.setTime(NaN):e.length?"number"==typeof e[0]&&(1===e.length||2===e.length&&"number"!=typeof e[1])?this.setTime(e[0]):"string"==typeof e[0]?this.setTime(+new Date(e[0])):e[0]instanceof Date?this.setTime(+e[0]):(this.setTime(+new Date(...e)),eY(this,e)):this.setTime(Date.now())}static tz(e,...t){return t.length?new eH(...t,e):new eH(Date.now(),e)}withTimeZone(e){return new eH(+this,e)}getTimezoneOffset(){let e=-eF(this.timeZone,this);return e>0?Math.floor(e):Math.ceil(e)}setTime(e){return Date.prototype.setTime.apply(this,arguments),eU(this),+this}[Symbol.for("constructDateFrom")](e){return new eH(+new Date(e),this.timeZone)}}let eV=/^(get|set)(?!UTC)/;function eU(e){e.internal.setTime(+e),e.internal.setUTCSeconds(e.internal.getUTCSeconds()-Math.round(-(60*eF(e.timeZone,e))))}function eq(e){Date.prototype.setFullYear.call(e,e.internal.getUTCFullYear(),e.internal.getUTCMonth(),e.internal.getUTCDate()),Date.prototype.setHours.call(e,e.internal.getUTCHours(),e.internal.getUTCMinutes(),e.internal.getUTCSeconds(),e.internal.getUTCMilliseconds()),eY(e)}function eY(e,t){let n=Array.isArray(t)?e$(t):+e.internal,r=eF(e.timeZone,e),o=r>0?Math.floor(r):Math.ceil(r),i=new Date(+e);i.setUTCHours(i.getUTCHours()-1);let a=-new Date(+e).getTimezoneOffset(),s=-new Date(+i).getTimezoneOffset(),l=a-s,u=a;if(l&&a!==o&&Date.prototype.getHours.apply(e)!==(Array.isArray(t)?t[3]||0:e.internal.getUTCHours())){let t=new Date(+e),n=a-o;n&&t.setUTCMinutes(t.getUTCMinutes()+n);let r=eF(e.timeZone,t);(r>0?Math.floor(r):Math.ceil(r))===o&&(u=s)}
1let c=u-o;c&&Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+c);let d=new Date(+e);d.setUTCSeconds(0);let f=a>0?d.getSeconds():(d.getSeconds()-60)%60,p=Math.round(-(60*eF(e.timeZone,e)))%60;(p||f)&&Date.prototype.setUTCSeconds.call(e,Date.prototype.getUTCSeconds.call(e)+p+f);let h=eF(e.timeZone,e),m=h>0?Math.floor(h):Math.ceil(h),v=-new Date(+e).getTimezoneOffset()-m,g=m!==o,y=v-c,b=m-o,w=n-6e4*m,x=b>0&&eK(e)-n==6e4*b&&eK(e,w)!==n;if(g&&y&&!x){Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+y);let t=eF(e.timeZone,e),n=m-(t>0?Math.floor(t):Math.ceil(t));n&&y<0&&Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+n)}eU(e);let k=(t?n:n+1e3*p)-+e.internal;k&&18e5>Math.abs(k)&&(Date.prototype.setTime.call(e,+e+k),eU(e))}function e$(e){return Date.UTC(e[0],e.length>1?e[1]:0,e.length>2?e[2]:1,...e.slice(3))}function eK(e,t){let n=new Date(t??+e);return n.setUTCSeconds(n.getUTCSeconds()-Math.round(-(60*eF(e.timeZone,n)))),+n}Object.getOwnPropertyNames(Date.prototype).forEach(e=>{if(!eV.test(e))return;let t=e.replace(eV,"$1UTC");eH.prototype[t]&&(e.startsWith("get")?eH.prototype[e]=function(){return this.internal[t]()}:(eH.prototype[e]=function(){return Date.prototype[t].apply(this.internal,arguments),eq(this),+this},eH.prototype[t]=function(){return Date.prototype[t].apply(this,arguments),eU(this),+this}))});class eG extends eH{static tz(e,...t){return t.length?new eG(...t,e):new eG(Date.now(),e)}toISOString(){let[e,t,n]=this.tzComponents(),r=`${e}${t}:${n}`;return this.internal.toISOString().slice(0,-1)+r}toString(){return`${this.toDateString()} ${this.toTimeString()}`}toDateString(){let[e,t,n,r]=this.internal.toUTCString().split(" ");return`${e?.slice(0,-1)} ${n} ${t} ${r}`}toTimeString(){let e=this.internal.toUTCString().split(" ")[4],[t,n,r]=this.tzComponents();return`${e} GMT${t}${n}${r} (${eN(this.timeZone,this)})`}toLocaleString(e,t){return Date.prototype.toLocaleString.call(this,e,{...t,timeZone:t?.timeZone||this.timeZone})}toLocaleDateString(e,t){return Date.prototype.toLocaleDateString.call(this,e,{...t,timeZone:t?.timeZone||this.timeZone})}toLocaleTimeString(e,t){return Date.prototype.toLocaleTimeString.call(this,e,{...t,timeZone:t?.timeZone||this.timeZone})}tzComponents(){let e=this.getTimezoneOffset();return[e>0?"-":"+",String(Math.floor(Math.abs(e)/60)).padStart(2,"0"),String(Math.abs(e)%60).padStart(2,"0")]}withTimeZone(e){return new eG(+this,e)}[Symbol.for("constructDateFrom")](e){return new eG(+new Date(e),this.timeZone)}}function eZ(e,t,n){let r=$(e,null==n?void 0:n.in);return isNaN(t)?Y((null==n?void 0:n.in)||e,NaN):(t&&r.setDate(r.getDate()+t),r)}function eX(e,t,n){let r=$(e,null==n?void 0:n.in);if(isNaN(t))return Y((null==n?void 0:n.in)||e,NaN);if(!t)return r;let o=r.getDate(),i=Y((null==n?void 0:n.in)||e,r.getTime());return(i.setMonth(r.getMonth()+t+1,0),o>=i.getDate())?i:(r.setFullYear(i.getFullYear(),i.getMonth(),o),r)}function eQ(e,t,n){return eZ(e,7*t,n)}function eJ(e,t,n){return eX(e,12*t,n)}function e0(e,t,n){let[r,o]=G(null==n?void 0:n.in,e,t);return 12*(r.getFullYear()-o.getFullYear())+(r.getMonth()-o.getMonth())}function e1(e,t){let[n,r]=G(e,t.start,t.end);return{start:n,end:r}}function e2(e,t){var n;let{start:r,end:o}=e1(null==t?void 0:t.in,e),i=+r>+o,a=i?+r:+o,s=i?o:r;s.setHours(0,0,0,0),s.setDate(1);let l=null!==(n=null==t?void 0:t.step)&&void 0!==n?n:1;if(!l)return[];l<0&&(l=-l,i=!i);let u=[];for(;+s<=a;)u.push(Y(r,s)),s.setMonth(s.getMonth()+l);return i?u.reverse():u}function e3(e,t){var n;let{start:r,end:o}=e1(null==t?void 0:t.in,e),i=+r>+o,a=i?+r:+o,s=i?o:r;s.setHours(0,0,0,0),s.setMonth(0,1);let l=null!==(n=null==t?void 0:t.step)&&void 0!==n?n:1;if(!l)return[];l<0&&(l=-l,i=!i);let u=[];for(;+s<=a;)u.push(Y(r,s)),s.setFullYear(s.getFullYear()+l);return i?u.reverse():u}function e4(e,t){var n,r,o,i,a,s,l,u;let c=H(),d=null!==(u=null!==(l=null!==(s=null!==(a=null==t?void 0:t.weekStartsOn)&&void 0!==a?a:null==t?void 0:null===(r=t.locale)||void 0===r?void 0:null===(n=r.options)||void 0===n?void 0:n.weekStartsOn)&&void 0!==s?s:c.weekStartsOn)&&void 0!==l?l:null===(i=c.locale)||void 0===i?void 0:null===(o=i.options)||void 0===o?void 0:o.weekStartsOn)&&void 0!==u?u:0,f=$(e,null==t?void 0:t.in),p=f.getDay(),h=(p<d?-7:0)+6-(p-d);return f.setDate(f.getDate()+h),f.setHours(23,59,59,999),f}function e8(e,t){return e4(e,{...t,weekStartsOn:1}
1)}function e5(e,t){let n=$(e,null==t?void 0:t.in),r=n.getMonth();return n.setFullYear(n.getFullYear(),r+1,0),n.setHours(23,59,59,999),n}function e7(e,t){let n=$(e,null==t?void 0:t.in),r=n.getFullYear();return n.setFullYear(r+1,0,0),n.setHours(23,59,59,999),n}function e9(e,t){return $(e,null==t?void 0:t.in).getMonth()}function e6(e,t){return $(e,null==t?void 0:t.in).getFullYear()}function te(e,t){return+$(e)>+$(t)}function tt(e,t){return+$(e)<+$(t)}function tn(e,t,n){let[r,o]=G(null==n?void 0:n.in,e,t);return+Z(r)==+Z(o)}function tr(e,t,n){let[r,o]=G(null==n?void 0:n.in,e,t);return r.getFullYear()===o.getFullYear()&&r.getMonth()===o.getMonth()}function to(e,t,n){let[r,o]=G(null==n?void 0:n.in,e,t);return r.getFullYear()===o.getFullYear()}function ti(e,t){let n;let r=null==t?void 0:t.in;return e.forEach(e=>{r||"object"!=typeof e||(r=Y.bind(null,e));let t=$(e,r);(!n||n<t||isNaN(+t))&&(n=t)}),Y(r,n||NaN)}function ta(e,t){let n;let r=null==t?void 0:t.in;return e.forEach(e=>{r||"object"!=typeof e||(r=Y.bind(null,e));let t=$(e,r);(!n||n>t||isNaN(+t))&&(n=t)}),Y(r,n||NaN)}function ts(e,t){let n=$(e,null==t?void 0:t.in),r=n.getFullYear(),o=n.getMonth(),i=Y(n,0);return i.setFullYear(r,o+1,0),i.setHours(0,0,0,0),i.getDate()}function tl(e,t,n){let r=$(e,null==n?void 0:n.in),o=r.getFullYear(),i=r.getDate(),a=Y((null==n?void 0:n.in)||e,0);a.setFullYear(o,t,15),a.setHours(0,0,0,0);let s=ts(a);return r.setMonth(t,Math.min(i,s)),r}function tu(e,t,n){let r=$(e,null==n?void 0:n.in);return isNaN(+r)?Y((null==n?void 0:n.in)||e,NaN):(r.setFullYear(t),r)}function tc(e,t){let n=$(e,null==t?void 0:t.in);return n.setDate(1),n.setHours(0,0,0,0),n}let td=5,tf=4;function tp(e,t){let n=t.startOfMonth(e),r=n.getDay()>0?n.getDay():7,o=t.addDays(e,-r+1),i=t.addDays(o,7*td-1);return t.getMonth(e)===t.getMonth(i)?td:tf}function th(e,t){let n=t.startOfMonth(e),r=n.getDay();return 1===r?n:0===r?t.addDays(n,-6):t.addDays(n,-1*(r-1))}function tm(e,t){let n=th(e,t),r=tp(e,t);return t.addDays(n,7*r-1)}class tv{constructor(e,t){this.today=()=>this.overrides?.today?this.overrides.today():this.options.timeZone?eG.tz(this.options.timeZone):new(this.options.Date??Date),this.newDate=(e,t,n)=>this.overrides?.newDate?this.overrides.newDate(e,t,n):this.options.timeZone?new eG(e,t,n,this.options.timeZone):new Date(e,t,n),this.addDays=(e,t)=>this.overrides?.addDays?this.overrides.addDays(e,t):eZ(e,t),this.addMonths=(e,t)=>this.overrides?.addMonths?this.overrides.addMonths(e,t):eX(e,t),this.addWeeks=(e,t)=>this.overrides?.addWeeks?this.overrides.addWeeks(e,t):eQ(e,t),this.addYears=(e,t)=>this.overrides?.addYears?this.overrides.addYears(e,t):eJ(e,t),this.differenceInCalendarDays=(e,t)=>this.overrides?.differenceInCalendarDays?this.overrides.differenceInCalendarDays(e,t):X(e,t),this.differenceInCalendarMonths=(e,t)=>this.overrides?.differenceInCalendarMonths?this.overrides.differenceInCalendarMonths(e,t):e0(e,t),this.eachMonthOfInterval=e=>this.overrides?.eachMonthOfInterval?this.overrides.eachMonthOfInterval(e):e2(e),this.eachYearOfInterval=e=>{let t=this.overrides?.eachYearOfInterval?this.overrides.eachYearOfInterval(e):e3(e),n=new Set(t.map(e=>this.getYear(e)));if(n.size===t.length)return t;let r=[];return n.forEach(e=>{r.push(new Date(e,0,1))}),r},this.endOfBroadcastWeek=e=>this.overrides?.endOfBroadcastWeek?this.overrides.endOfBroadcastWeek(e):tm(e,this),this.endOfISOWeek=e=>this.overrides?.endOfISOWeek?this.overrides.endOfISOWeek(e):e8(e),this.endOfMonth=e=>this.overrides?.endOfMonth?this.overrides.endOfMonth(e):e5(e),this.endOfWeek=(e,t)=>this.overrides?.endOfWeek?this.overrides.endOfWeek(e,t):e4(e,this.options),this.endOfYear=e=>this.overrides?.endOfYear?this.overrides.endOfYear(e):e7(e),this.format=(e,t,n)=>{let r=this.overrides?.format?this.overrides.format(e,t,this.options):e_(e,t,this.options);return this.options.numerals&&"latn"!==this.options.numerals?this.replaceDigits(r):r},this.getISOWeek=e=>this.overrides?.getISOWeek?this.overrides.getISOWeek(e):eo(e),this.getMonth=(e,t)=>this.overrides?.getMonth?this.overrides.getMonth(e,this.options):e9(e,this.options),this.getYear=(e,t)=>
1this.overrides?.getYear?this.overrides.getYear(e,this.options):e6(e,this.options),this.getWeek=(e,t)=>this.overrides?.getWeek?this.overrides.getWeek(e,this.options):es(e,this.options),this.isAfter=(e,t)=>this.overrides?.isAfter?this.overrides.isAfter(e,t):te(e,t),this.isBefore=(e,t)=>this.overrides?.isBefore?this.overrides.isBefore(e,t):tt(e,t),this.isDate=e=>this.overrides?.isDate?this.overrides.isDate(e):eT(e),this.isSameDay=(e,t)=>this.overrides?.isSameDay?this.overrides.isSameDay(e,t):tn(e,t),this.isSameMonth=(e,t)=>this.overrides?.isSameMonth?this.overrides.isSameMonth(e,t):tr(e,t),this.isSameYear=(e,t)=>this.overrides?.isSameYear?this.overrides.isSameYear(e,t):to(e,t),this.max=e=>this.overrides?.max?this.overrides.max(e):ti(e),this.min=e=>this.overrides?.min?this.overrides.min(e):ta(e),this.setMonth=(e,t)=>this.overrides?.setMonth?this.overrides.setMonth(e,t):tl(e,t),this.setYear=(e,t)=>this.overrides?.setYear?this.overrides.setYear(e,t):tu(e,t),this.startOfBroadcastWeek=(e,t)=>this.overrides?.startOfBroadcastWeek?this.overrides.startOfBroadcastWeek(e,this):th(e,this),this.startOfDay=e=>this.overrides?.startOfDay?this.overrides.startOfDay(e):Z(e),this.startOfISOWeek=e=>this.overrides?.startOfISOWeek?this.overrides.startOfISOWeek(e):et(e),this.startOfMonth=e=>this.overrides?.startOfMonth?this.overrides.startOfMonth(e):tc(e),this.startOfWeek=(e,t)=>this.overrides?.startOfWeek?this.overrides.startOfWeek(e,this.options):ee(e,this.options),this.startOfYear=e=>this.overrides?.startOfYear?this.overrides.startOfYear(e):Q(e),this.options={locale:eD,...e},this.overrides=t}getDigitMap(){let{numerals:e="latn"}=this.options,t=new Intl.NumberFormat("en-US",{numberingSystem:e}),n={};for(let e=0;e<10;e++)n[e.toString()]=t.format(e);return n}replaceDigits(e){let t=this.getDigitMap();return e.replace(/\d/g,e=>t[e]||e)}formatNumber(e){return this.replaceDigits(e.toString())}getMonthYearOrder(){let e=this.options.locale?.code;return e&&tv.yearFirstLocales.has(e)?"year-first":"month-first"}formatMonthYear(e){let{locale:t,timeZone:n,numerals:r}=this.options,o=t?.code;if(o&&tv.yearFirstLocales.has(o))try{return new Intl.DateTimeFormat(o,{month:"long",year:"numeric",timeZone:n,numberingSystem:r}).format(e)}catch{}let i="year-first"===this.getMonthYearOrder()?"y LLLL":"LLLL y";return this.format(e,i)}}tv.yearFirstLocales=new Set(["eu","hu","ja","ja-Hira","ja-JP","ko","ko-KR","lt","lt-LT","lv","lv-LV","mn","mn-MN","zh","zh-CN","zh-HK","zh-TW"]);let tg=new tv;function ty(e,t,n=!1,r=tg){let{from:o,to:i}=e,{differenceInCalendarDays:a,isSameDay:s}=r;return o&&i?(0>a(i,o)&&([o,i]=[i,o]),a(t,o)>=(n?1:0)&&a(i,t)>=(n?1:0)):!n&&i?s(i,t):!n&&!!o&&s(o,t)}function tb(e){return!!(e&&"object"==typeof e&&"before"in e&&"after"in e)}function tw(e){return!!(e&&"object"==typeof e&&"from"in e)}function tx(e){return!!(e&&"object"==typeof e&&"after"in e)}function tk(e){return!!(e&&"object"==typeof e&&"before"in e)}function tS(e){return!!(e&&"object"==typeof e&&"dayOfWeek"in e)}function tE(e,t){return Array.isArray(e)&&e.every(t.isDate)}function tC(e,t,n=tg){let r=Array.isArray(t)?t:[t],{isSameDay:o,differenceInCalendarDays:i,isAfter:a}=n;return r.some(t=>{if("boolean"==typeof t)return t;if(n.isDate(t))return o(e,t);if(tE(t,n))return t.some(t=>o(e,t));if(tw(t))return ty(t,e,!1,n);if(tS(t))return Array.isArray(t.dayOfWeek)?t.dayOfWeek.includes(e.getDay()):t.dayOfWeek===e.getDay();if(tb(t)){let n=i(t.before,e),r=i(t.after,e),o=n>0,s=r<0;return a(t.before,t.after)?s&&o:o||s}return tx(t)?i(e,t.after)>0:tk(t)?i(t.before,e)>0:"function"==typeof t&&t(e)})}function tT(e,t,n,r,i){let{disabled:a,hidden:s,modifiers:l,showOutsideDays:u,broadcastCalendar:c,today:d=i.today()}=t,{isSameDay:f,isSameMonth:p,startOfMonth:h,isBefore:m,endOfMonth:v,isAfter:g}=i,y=n&&h(n),b=r&&v(r),w={[o.focused]:[],[o.outside]:[],[o.disabled]:[],[o.hidden]:[],[o.today]:[]},x={};for(let t of e){let{date:e,displayMonth:n}=t,r=!!(n&&!p(e,n)),o=!!(y&&m(e,y)),h=!!(b&&g(e,b)),v=!!(a&&tC(e,a,i)),k=!!(s&&tC(e,s,i))||o||h||!c&&!u&&r||c&&!1===u&&r,S=f(e,d);r&&w.outside.push(t),v&&w.disabled.push(t),k&&w.hidden.push(t),S&&w.today.push(t),l&&Object.keys(l).forEach(n=>{let r=l?.[n];r&&tC(e,r,i)&&(x[n]?x[n].push(t):x[n]=[t])})}return e=>{let t={[o.focused]:!1,[o.disabled]:!1,[o.hidden]:!1,[o.outside]:!1,[o.today]:!1},n={};for(let n in w){let r=w[n];t[n]=r.some(t=>t===e)}for(let t in x)n[t]=x[t].some(t=>t===e);return{...t,...n}}}function tO(e,t,n={}){return Object.entries(e).filter(([,e])=>!0===e).reduce((e,[r])=>(n[r]?e.push(n[r]):t[o[r]]?e.push(t[o[r]]):t[i[r]]&&e.push(t[i[r]]),e),[t[r.Day]])}function tM(e){return d.createElement("span",{...e})}function tI(e){let{size:t=24,orientation:n="left",className:r,style:o}=e;return d.createElement("svg",{className:r,style:o,width:t,height:t,viewBox:"0 0 24 24"},"up"===n&&d.createElement("polygon",{points:"6.77 17 12.5 11.43 18.24 17 20 15.28 12.5 8 5 15.28"}),"down"===n&&d.createElement("polygon",{points:"6.77 8 12.5 13.57 18.24 8 20 9.72 12.5 17 5 9.72"}),"left"===n&&d.createElement("polygon",{points:"16 18.112 9.81111111 12 16 5.87733333 14.0888889 4 6 12 14.0888889 20"}),"right"===n&&d.createElement("polygon",{points:"8 18.112 14.18888889 12 8 5.87733333 9.91111111 4 18 12 9.91111111 20"}))}function tR(e){let{day:t,modifiers:n,...r}=e;return d.createElement("td",{...r})}function tP(e){let{day:t,modifiers:n,...r}=e,o=d.useRef(null);return d.useEffect(()=>{n.focused&&o.current?.focus()},[n.focused]),d.createElement("button",{ref:o,...r})}!function(e){e.Root="root",e.Chevron="chevron",e.Day="day",e.DayButton="day_button",e.CaptionLabel="caption_label",e.Dropdowns="dropdowns",e.Dropdown="dropdown",e.DropdownRoot="dropdown_root",e.Footer="footer",e.MonthGrid="month_grid",e.MonthCaption="month_caption",e.MonthsDropdown="months_dropdown",e.Month="month",e.Months="months",e.Nav="nav",e.NextMonthButton="button_next",e.PreviousMonthButton="button_previous",e.Week="week",e.Weeks="weeks",e.Weekday="weekday",e.Weekdays="weekdays",e.WeekNumber="week_number",e.WeekNumberHeader="week_number_header",e.YearsDropdown="years_dropdown"}(r||(r={})),function(e){e.disabled="disabled",e.hidden="hidden",e.outside="outside",e.focused="focused",e.today="today"}(o||(o={})),function(e){e.range_end="range_end",e.range_middle="range_middle",e.range_start="range_start",e.selected="selected"}(i||(i={})),function(e){e.weeks_before_enter="weeks_before_enter",e.weeks_before_exit="weeks_before_exit",e.weeks_after_enter="weeks_after_enter",e.weeks_after_exit="weeks_after_exit",e.caption_after_enter="caption_after_enter",e.caption_after_exit="caption_after_exit",e.caption_before_enter="caption_before_enter",e.caption_before_exit="caption_before_exit"}(a||(a={}));let tj=(0,d.createContext)(void 0);function t_(){let e=(0,d.useContext)(tj);if(void 0===e)throw Error("useDayPicker() must be used within a custom component.");return e}function tA(e){let{options:t,className:n,...o}=e,{classNames:i,components:a,styles:s}=t_(),l=[i[r.Dropdown],n].join(" "),u=t?.find(({value:e})=>e===o.value);return d.createElement("span",{"data-disabled":o.disabled,className:i[r.DropdownRoot],style:s?.[r.DropdownRoot]},d.createElement(a.Select,{className:l,...o},t?.map(({value:e,label:t,disabled:n})=>d.createElement(a.Option,{key:e,value:e,disabled:n},t))),d.createElement("span",{className:i[r.CaptionLabel],style:s?.[r.CaptionLabel],"aria-hidden":!0},u?.label,d.createElement(a.Chevron,{orientation:"down",size:18,className:i[r.Chevron],style:s?.[r.Chevron]}
vendor: 12,667 bytes, line 1
1)))}function tD(e){return d.createElement("div",{...e})}function tN(e){return d.createElement("div",{...e})}function tL(e){let{calendarMonth:t,displayIndex:n,...r}=e;return d.createElement("div",{...r},e.children)}function tW(e){let{calendarMonth:t,displayIndex:n,...r}=e;return d.createElement("div",{...r})}function tF(e){return d.createElement("table",{...e})}function tB(e){return d.createElement("div",{...e})}function tz(e){let{components:t}=t_();return d.createElement(t.Dropdown,{...e})}function tH(e){let{onPreviousClick:t,onNextClick:n,previousMonth:o,nextMonth:i,...a}=e,{components:s,classNames:l,styles:u,labels:{labelPrevious:c,labelNext:f}}=t_(),p=(0,d.useCallback)(e=>{i&&n?.(e)},[i,n]),h=(0,d.useCallback)(e=>{o&&t?.(e)},[o,t]);return d.createElement("nav",{...a},d.createElement(s.PreviousMonthButton,{type:"button",className:l[r.PreviousMonthButton],style:u?.[r.PreviousMonthButton],tabIndex:o?void 0:-1,"aria-disabled":!o||void 0,"aria-label":c(o),onClick:h},d.createElement(s.Chevron,{disabled:!o||void 0,className:l[r.Chevron],style:u?.[r.Chevron],orientation:"left"})),d.createElement(s.NextMonthButton,{type:"button",className:l[r.NextMonthButton],style:u?.[r.NextMonthButton],tabIndex:i?void 0:-1,"aria-disabled":!i||void 0,"aria-label":f(i),onClick:p},d.createElement(s.Chevron,{disabled:!i||void 0,orientation:"right",className:l[r.Chevron],style:u?.[r.Chevron]})))}function tV(e){return d.createElement("button",{...e})}function tU(e){return d.createElement("option",{...e})}function tq(e){return d.createElement("button",{...e})}function tY(e){let{rootRef:t,...n}=e;return d.createElement("div",{...n,ref:t})}function t$(e){return d.createElement("select",{...e})}function tK(e){let{week:t,...n}=e;return d.createElement("tr",{...n})}function tG(e){return d.createElement("th",{...e})}function tZ(e){return d.createElement("thead",{"aria-hidden":!0},d.createElement("tr",{...e}))}function tX(e){let{week:t,...n}=e;return d.createElement("th",{...n})}function tQ(e){return d.createElement("th",{...e})}function tJ(e){return d.createElement("tbody",{...e})}function t0(e){let{components:t}=t_();return d.createElement(t.Dropdown,{...e})}function t1(e){return{...l,...e}}function t2(e){let t={"data-mode":e.mode??void 0,"data-required":"required"in e?e.required:void 0,"data-multiple-months":e.numberOfMonths&&e.numberOfMonths>1||void 0,"data-week-numbers":e.showWeekNumber||void 0,"data-broadcast-calendar":e.broadcastCalendar||void 0,"data-nav-layout":e.navLayout||void 0};return Object.entries(e).forEach(([e,n])=>{e.startsWith("data-")&&(t[e]=n)}),t}function t3(){let e={};for(let t in r)e[r[t]]=`rdp-${r[t]}`;for(let t in o)e[o[t]]=`rdp-${o[t]}`;for(let t in i)e[i[t]]=`rdp-${i[t]}`;for(let t in a)e[a[t]]=`rdp-${a[t]}`;return e}function t4(e,t,n){return(n??new tv(t)).formatMonthYear(e)}function t8(e,t,n){return(n??new tv(t)).format(e,"d")}function t5(e,t=tg){return t.format(e,"LLLL")}function t7(e,t,n){return(n??new tv(t)).format(e,"cccccc")}function t9(e,t=tg){return e<10?t.formatNumber(`0${e.toLocaleString()}`):t.formatNumber(`${e.toLocaleString()}`)}function t6(){return""}function ne(e,t=tg){return t.format(e,"yyyy")}function nt(e){return{...u,...e}}function nn(e,t,n,r){let o=(r??new tv(n)).format(e,"PPPP");return t.today&&(o=`Today, ${o}`),t.selected&&(o=`${o}, selected`),o}function nr(e,t,n){return(n??new tv(t)).formatMonthYear(e)}function no(e,t,n,r){let o=(r??new tv(n)).format(e,"PPPP");return t?.today&&(o=`Today, ${o}`),o}function ni(e){return"Choose the Month"}function na(){return""}let ns="Go to the Next Month";function nl(e,t){return ns}function nu(e){return"Go to the Previous Month"}function nc(e,t,n){return(n??new tv(t)).format(e,"cccc")}function nd(e,t){return`Week ${e}`}function nf(e){return"Week Number"}function np(e){return"Choose the Year"}let nh=(e,t,n)=>t||(n?"function"==typeof n?n:(...e)=>n:e);function nm(e,t){let n=t.locale?.labels??{};return{...c,...e??{},labelDayButton:nh(nn,e?.labelDayButton,n.labelDayButton),labelMonthDropdown:nh(ni,e?.labelMonthDropdown,n.labelMonthDropdown),labelNext:nh(nl,e?.labelNext,n.labelNext),labelPrevious:nh(nu,e?.labelPrevious,n.labelPrevious),labelWeekNumber:nh(nd,e?.labelWeekNumber,n.labelWeekNumber),labelYearDropdown:nh(np,e?.labelYearDropdown,n.labelYearDropdown),labelGrid:nh(nr,e?.labelGrid,n.labelGrid),labelGridcell:nh(no,e?.labelGridcell,n.labelGridcell),labelNav:nh(na,e?.labelNav,n.labelNav),labelWeekNumberHeader:nh(nf,e?.labelWeekNumberHeader,n.labelWeekNumberHeader),labelWeekday:nh(nc,e?.labelWeekday,n.labelWeekday)}}function nv(e,t,n,r,o){let{startOfMonth:i,startOfYear:a,endOfYear:s,eachMonthOfInterval:l,getMonth:u}=o;return l({start:a(e),end:s(e)}).map(e=>{let a=r.formatMonthDropdown(e,o);return{value:u(e),label:a,disabled:t&&e<i(t)||n&&e>i(n)||!1}})}function ng(e,t={},n={}){let o={...t?.[r.Day]};return Object.entries(e).filter(([,e])=>!0===e).forEach(([e])=>{o={...o,...n?.[e]}}),o}function ny(e,t,n,r){let o=r??e.today(),i=n?e.startOfBroadcastWeek(o,e):t?e.startOfISOWeek(o):e.startOfWeek(o),a=[];for(let t=0;t<7;t++){let n=e.addDays(i,t);a.push(n)}return a}function nb(e,t,n,r,o=!1){if(!e||!t)return;let{startOfYear:i,endOfYear:a,eachYearOfInterval:s,getYear:l}=r,u=s({start:i(e),end:a(t)});return o&&u.reverse(),u.map(e=>{let t=n.formatYearDropdown(e,r);return{value:l(e),label:t,disabled:!1}})}function nw(e,t={}){let{weekStartsOn:n,locale:r}=t,o=n??r?.options?.weekStartsOn??0,i=t=>{let n="number"==typeof t||"string"==typeof t?new Date(t):t;return new eG(n.getFullYear(),n.getMonth(),n.getDate(),12,0,0,e)},a=e=>{let t=i(e);return new Date(t.getFullYear(),t.getMonth(),t.getDate(),0,0,0,0)};return{today:()=>i(eG.tz(e)),newDate:(t,n,r)=>new eG(t,n,r,12,0,0,e),startOfDay:e=>i(e),startOfWeek:(e,t)=>{let n=i(e),r=t?.weekStartsOn??o,a=(n.getDay()-r+7)%7;return n.setDate(n.getDate()-a),n},startOfISOWeek:e=>{let t=i(e),n=(t.getDay()-1+7)%7;return t.setDate(t.getDate()-n),t},startOfMonth:e=>{let t=i(e);return t.setDate(1),t},startOfYear:e=>{let t=i(e);return t.setMonth(0,1),t},endOfWeek:(e,t)=>{let n=i(e),r=(((t?.weekStartsOn??o)+6)%7-n.getDay()+7)%7;return n.setDate(n.getDate()+r),n},endOfISOWeek:e=>{let t=i(e),n=(7-t.getDay())%7;return t.setDate(t.getDate()+n),t},endOfMonth:e=>{let t=i(e);return t.setMonth(t.getMonth()+1,0),t},endOfYear:e=>{let t=i(e);return t.setMonth(11,31),t},eachMonthOfInterval:t=>{let n=i(t.start),r=i(t.end),o=[],a=new eG(n.getFullYear(),n.getMonth(),1,12,0,0,e),s=12*r.getFullYear()+r.getMonth();for(;12*a.getFullYear()+a.getMonth()<=s;)o.push(new eG(a,e)),a.setMonth(a.getMonth()+1,1);return o},addDays:(e,t)=>{let n=i(e);return n.setDate(n.getDate()+t),n},addWeeks:(e,t)=>{let n=i(e);return n.setDate(n.getDate()+7*t),n},addMonths:(e,t)=>{let n=i(e);return n.setMonth(n.getMonth()+t),n},addYears:(e,t)=>{let n=i(e);return n.setFullYear(n.getFullYear()+t),n},eachYearOfInterval:t=>{let n=i(t.start),r=i(t.end),o=[],a=new eG(n.getFullYear(),0,1,12,0,0,e);for(;a.getFullYear()<=r.getFullYear();)o.push(new eG(a,e)),a.setFullYear(a.getFullYear()+1,0,1);return o},getWeek:(e,t)=>es(a(e),{weekStartsOn:t?.weekStartsOn??o,firstWeekContainsDate:t?.firstWeekContainsDate??r?.options?.firstWeekContainsDate??1}),getISOWeek:e=>eo(a(e)),differenceInCalendarDays:(e,t)=>X(a(e),a(t)),differenceInCalendarMonths:(e,t)=>e0(a(e),a(t))}}let nx=e=>e instanceof HTMLElement?e:null,nk=e=>[...e.querySelectorAll("[data-animated-month]")??[]],nS=e=>nx(e.querySelector("[data-animated-month]")),nE=e=>nx(e.querySelector("[data-animated-caption]")),nC=e=>nx(e.querySelector("[data-animated-weeks]")),nT=e=>nx(e.querySelector("[data-animated-nav]")),nO=e=>nx(e.querySelector("[data-animated-weekdays]"));function nM(e,t,{classNames:n,months:r,focused:o,dateLib:i}){let s=(0,d.useRef)(null),l=(0,d.useRef)(r),u=(0,d.useRef)(!1);(0,d.useLayoutEffect)(()=>{let c=l.current;if(l.current=r,!t||!e.current||!(e.current instanceof HTMLElement)||0===r.length||0===c.length||r.length!==c.length)return;let d=i.isSameMonth(r[0].date,c[0].date),f=i.isAfter(r[0].date,c[0].date),p=f?n[a.caption_after_enter]:n[a.caption_before_enter],h=f?n[a.weeks_after_enter]:n[a.weeks_before_enter],m=s.current,v=e.current.cloneNode(!0);if(v instanceof HTMLElement?(nk(v).forEach(e=>{if(!(e instanceof HTMLElement))return;let t=nS(e);t&&e.contains(t)&&e.removeChild(t);let n=nE(e);n&&n.classList.remove(p);let r=nC(e);r&&r.classList.remove(h)}),s.current=v):s.current=null,u.current||d||o)return;let g=m instanceof HTMLElement?nk(m):[],y=nk(e.current);if(y?.every(e=>e instanceof HTMLElement)&&g?.every(e=>e instanceof HTMLElement)){u.current=!0;let t=[];e.current.style.isolation="isolate";let r=nT(e.current);r&&(r.style.zIndex="1"),y.forEach((o,i)=>{let s=g[i];if(!s)return;o.style.position="relative",o.style.overflow="hidden";let l=nE(o);l&&l.classList.add(p);let c=nC(o);c&&c.classList.add(h);let d=()=>{u.current=!1,e.current&&(e.current.style.isolation=""),r&&(r.style.zIndex=""),l&&l.classList.remove(p),c&&c.classList.remove(h),o.style.position="",o.style.overflow="",o.contains(s)&&o.removeChild(s)};t.push(d),s.style.pointerEvents="none",s.style.position="absolute",s.style.overflow="hidden",s.setAttribute("aria-hidden","true");let m=nO(s);m&&(m.style.opacity="0");let v=nE(s);v&&(v.classList.add(f?n[a.caption_before_exit]:n[a.caption_after_exit]),v.addEventListener("animationend",d));let y=nC(s);y&&y.classList.add(f?n[a.weeks_before_exit]:n[a.weeks_after_exit]),o.insertBefore(s,o.firstChild)})}})}function nI(e,t,n,r){let o=e[0],i=e[e.length-1],{ISOWeek:a,fixedWeeks:s,broadcastCalendar:l}=n??{},{addDays:u,differenceInCalendarDays:c,differenceInCalendarMonths:d,endOfBroadcastWeek:f,endOfISOWeek:p,endOfMonth:h,endOfWeek:m,isAfter:v,startOfBroadcastWeek:g,startOfISOWeek:y,startOfWeek:b}=r,w=l?g(o,r):a?y(o):b(o),x=l?f(i):a?p(h(i)):m(h(i)),k=t&&(l?f(t):a?p(t):m(t)),S=c(k&&v(x,k)?k:x,w),E=d(i,o)+1,C=[];for(let e=0;e<=S;e++){let t=u(w,e);C.push(t)}let T=(l?35:42)*E;if(s&&C.length<T){let e=T-C.length;for(let t=0;t<e;t++){let e=u(C[C.length-1],1);C.push(e)}}return C}function nR(e){let t=[];return e.reduce((e,n)=>{let r=n.weeks.reduce((e,t)=>e.concat(t.days.slice()),t.slice());return e.concat(r.slice())},t.slice())}function nP(e,t,n,r){let{numberOfMonths:o=1}=n,i=[];for(let n=0;n<o;n++){let o=r.addMonths(e,n);if(t&&o>t)break;i.push(o)}return i}function nj(e,t,n,r){let{month:o,defaultMonth:i,today:a=r.today(),numberOfMonths:s=1}=e,l=o||i||a,{differenceInCalendarMonths:u,addMonths:c,startOfMonth:d}=r;return n&&u(n,l)<s-1&&(l=c(n,-1*(s-1))),t&&0>u(l,t)&&(l=t),d(l)}class n_{constructor(e,t,n=tg){this.date=e,this.displayMonth=t,this.outside=!!(t&&!n.isSameMonth(e,t)),this.dateLib=n,this.isoDate=n.format(e,"yyyy-MM-dd"),this.displayMonthId=n.format(t,"yyyy-MM"),this.dateMonthId=n.format(e,"yyyy-MM")}isEqualTo(e){return this.dateLib.isSameDay(e.date,this.date)&&this.dateLib.isSameMonth(e.displayMonth,this.displayMonth)}}class nA{constructor(e,t){this.days=t,this.weekNumber=e}}class nD{constructor(e,t){this.date=e,this.weeks=t}}function nN(e,t,n,r){let{addDays:o,endOfBroadcastWeek:i,endOfISOWeek:a,endOfMonth:s,endOfWeek:l,getISOWeek:u,getWeek:c,startOfBroadcastWeek:d,startOfISOWeek:f,startOfWeek:p}=r,h=e.reduce((e,h)=>{let m=n.broadcastCalendar?d(h,r):n.ISOWeek?f(h):p(h),v=n.broadcastCalendar?i(h):n.ISOWeek?a(s(h)):l(s(h)),g=t.filter(e=>e>=m&&e<=v),y=n.broadcastCalendar?35:42;if(n.fixedWeeks&&g.length<y){let e=t.filter(e=>{let t=y-g.length;return e>v&&e<=o(v,t)});g.push(...e)}let b=g.reduce((e,t)=>{let o=n.ISOWeek?u(t):c(t),i=e.find(e=>e.weekNumber===o),a=new n_(t,h,r);return i?i.days.push(a):e.push(new nA(o,[a])),e},[]),w=new nD(h,b);return e.push(w),e},[]);return n.reverseMonths?h.reverse():h}function nL(e,t){let{startMonth:n,endMonth:r}=e,{startOfYear:o,startOfDay:i,startOfMonth:a,endOfMonth:s,addYears:l,endOfYear:u,today:c}=t,d="dropdown"===e.captionLayout||"dropdown-years"===e.captionLayout;return n?n=a(n):!n&&d&&(n=o(l(e.today??c(),-100))),r?r=s(r):!r&&d&&(r=u(e.today??c())),[n?i(n):n,r?i(r):r]}function nW(e,t,n,r){if(n.disableNavigation)return;let{pagedNavigation:o,numberOfMonths:i=1}=n,{startOfMonth:a,addMonths:s,differenceInCalendarMonths:l}=r,u=o?i:1,c=a(e);if(!t||!(l(t,e)<i))return s(c,u)}function nF(e,t,n,r){if(n.disableNavigation)return;let{pagedNavigation:o,numberOfMonths:i}=n,{startOfMonth:a,addMonths:s,differenceInCalendarMonths:l}=r,u=o?i??1:1,c=a(e);if(!t||!(0>=l(c,t)))return s(c,-u)}function nB(e){let t=[];return e.reduce((e,t)=>e.concat(t.weeks.slice()),t.slice())}function nz(e,t){let[n,r]=(0,d.useState)(e);return[void 0===t?n:t,r]}function nH(e,t){let[n,r]=nL(e,t),{startOfMonth:o,endOfMonth:i}=t,a=nj(e,n,r,t),[s,l]=nz(a,e.month?a:void 0);(0,d.useEffect)(()=>
1{l(nj(e,n,r,t))},[e.timeZone]);let{months:u,weeks:c,days:f,previousMonth:p,nextMonth:h}=(0,d.useMemo)(()=>{let o=nP(s,r,{numberOfMonths:e.numberOfMonths},t),a=nI(o,e.endMonth?i(e.endMonth):void 0,{ISOWeek:e.ISOWeek,fixedWeeks:e.fixedWeeks,broadcastCalendar:e.broadcastCalendar},t),l=nN(o,a,{broadcastCalendar:e.broadcastCalendar,fixedWeeks:e.fixedWeeks,ISOWeek:e.ISOWeek,reverseMonths:e.reverseMonths},t),u=nB(l),c=nR(l);return{months:l,weeks:u,days:c,previousMonth:nF(s,n,e,t),nextMonth:nW(s,r,e,t)}},[t,s.getTime(),r?.getTime(),n?.getTime(),e.disableNavigation,e.broadcastCalendar,e.endMonth?.getTime(),e.fixedWeeks,e.ISOWeek,e.numberOfMonths,e.pagedNavigation,e.reverseMonths]),{disableNavigation:m,onMonthChange:v}=e,g=e=>c.some(t=>t.days.some(t=>t.isEqualTo(e))),y=e=>{if(m)return;let t=o(e);n&&t<o(n)&&(t=o(n)),r&&t>o(r)&&(t=o(r)),l(t),v?.(t)},b=e=>{g(e)||y(e.date)};return{months:u,weeks:c,days:f,navStart:n,navEnd:r,previousMonth:p,nextMonth:h,goToMonth:y,goToDay:b}}function nV(e){return!e[o.disabled]&&!e[o.hidden]&&!e[o.outside]}function nU(e,t,n,r){let i;let a=-1;for(let l of e){let e=t(l);nV(e)&&(e[o.focused]&&a<s.FocusedModifier?(i=l,a=s.FocusedModifier):r?.isEqualTo(l)&&a<s.LastFocused?(i=l,a=s.LastFocused):n(l.date)&&a<s.Selected?(i=l,a=s.Selected):e[o.today]&&a<s.Today&&(i=l,a=s.Today))}return i||(i=e.find(e=>nV(t(e)))),i}function nq(e,t,n,r,o,i,a){let{ISOWeek:s,broadcastCalendar:l}=i,{addDays:u,addMonths:c,addWeeks:d,addYears:f,endOfBroadcastWeek:p,endOfISOWeek:h,endOfWeek:m,max:v,min:g,startOfBroadcastWeek:y,startOfISOWeek:b,startOfWeek:w}=a,x=({day:u,week:d,month:c,year:f,startOfWeek:e=>l?y(e,a):s?b(e):w(e),endOfWeek:e=>l?p(e):s?h(e):m(e)})[e](n,"after"===t?1:-1);return"before"===t&&r?x=v([r,x]):"after"===t&&o&&(x=g([o,x])),x}function nY(e,t,n,r,o,i,a,s=0){if(s>365)return;let l=nq(e,t,n.date,r,o,i,a),u=!!(i.disabled&&tC(l,i.disabled,a)),c=!!(i.hidden&&tC(l,i.hidden,a)),d=l,f=new n_(l,d,a);return u||c?nY(e,t,f,r,o,i,a,s+1):f}function n$(e,t,n,r,o){let{autoFocus:i}=e,[a,s]=(0,d.useState)(),l=nU(t.days,n,r||(()=>!1),a),[u,c]=(0,d.useState)(i?l:void 0),f=()=>{s(u),c(void 0)},p=(n,r)=>{if(!u)return;let i=nY(n,r,u,t.navStart,t.navEnd,e,o);if(i){if(e.disableNavigation&&!t.days.some(e=>e.isEqualTo(i)))return;t.goToDay(i),c(i)}};return{isFocusTarget:e=>!!l?.isEqualTo(e),setFocused:c,focused:u,blur:f,moveFocus:p}}function nK(e,t){let{selected:n,required:r,onSelect:o}=e,[i,a]=nz(n,o?n:void 0),s=o?n:i,{isSameDay:l}=t,u=e=>s?.some(t=>l(t,e))??!1,{min:c,max:d}=e,f=(e,t,n)=>{let i=[...s??[]];if(u(e)){if(s?.length===c||r&&s?.length===1)return;i=s?.filter(t=>!l(t,e))}else i=s?.length===d?[e]:[...i,e];return o||a(i),o?.(i,e,t,n),i};return{selected:s,select:f,isSelected:u}}function nG(e,t,n=0,r=0,o=!1,i=tg){let a;let{from:s,to:l}=t||{},{isSameDay:u,isAfter:c,isBefore:d}=i;if(s||l){if(s&&!l)a=u(s,e)?0===n?{from:s,to:e}:o?{from:s,to:void 0}:void 0:d(e,s)?{from:e,to:s}:{from:s,to:e};else if(s&&l){if(u(s,e)&&u(l,e))a=o?{from:s,to:l}:void 0;else if(u(s,e))a={from:s,to:n>0?void 0:e};else if(u(l,e))a={from:e,to:n>0?void 0:e};else if(d(e,s))a={from:e,to:l};else if(c(e,s))a={from:s,to:e};else if(c(e,l))a={from:s,to:e};else throw Error("Invalid range")}}else a={from:e,to:n>0?void 0:e};if(a?.from&&a?.to){let t=i.differenceInCalendarDays(a.to,a.from);r>0&&t>r?a={from:e,to:void 0}:n>1&&t<n&&(a={from:e,to:void 0})}return a}function nZ(e,t,n=tg){let r=Array.isArray(t)?t:[t],o=e.from,i=Math.min(n.differenceInCalendarDays(e.to,e.from),6);for(let e=0;e<=i;e++){if(r.includes(o.getDay()))return!0;o=n.addDays(o,1)}return!1}function nX(e,t,n=tg){return ty(e,t.from,!1,n)||ty(e,t.to,!1,n)||ty(t,e.from,!1,n)||ty(t,e.to,!1,n)}function nQ(e,t,n=tg){let r=Array.isArray(t)?t:[t];if(r.filter(e=>"function"!=typeof e).some(t=>"boolean"==typeof t?t:n.isDate(t)?ty(e,t,!1,n):tE(t,n)?t.some(t=>ty(e,t,!1,n)):tw(t)?!!t.from&&!!t.to&&nX(e,{from:t.from,to:t.to},n):tS(t)?nZ(e,t.dayOfWeek,n):tb(t)?n.isAfter(t.before,t.after)?nX(e,{from:n.addDays(t.after,1),to:n.addDays(t.before,-1)},n):tC(e.from,t,n)||tC(e.to,t,n):!!(tx(t)||tk(t))&&(tC(e.from,t,n)||tC(e.to,t,n))))return!0;let o=r.filter(e=>"function"==typeof e);if(o.length){let t=e.from,r=n.differenceInCalendarDays(e.to,e.from);for(let e=0;e<=r;e++){if(o.some(e=>e(t)))return!0;
1t=n.addDays(t,1)}}return!1}function nJ(e,t){let{disabled:n,excludeDisabled:r,resetOnSelect:o,selected:i,required:a,onSelect:s}=e,[l,u]=nz(i,s?i:void 0),c=s?i:l,d=e=>c&&ty(c,e,!1,t),f=(i,l,d)=>{let f;let{min:p,max:h}=e;if(i){let e=c?.from,n=c?.to,r=!!e&&!!n,s=!!e&&!!n&&t.isSameDay(e,n)&&t.isSameDay(i,e);f=o&&(r||!c?.from)?!a&&s?void 0:{from:i,to:void 0}:nG(i,c,p,h,a,t)}return r&&n&&f?.from&&f.to&&nQ({from:f.from,to:f.to},n,t)&&(f.from=i,f.to=void 0),s||u(f),s?.(f,i,l,d),f};return{selected:c,select:f,isSelected:d}}function n0(e,t){let{selected:n,required:r,onSelect:o}=e,[i,a]=nz(n,o?n:void 0),s=o?n:i,{isSameDay:l}=t,u=e=>!!s&&l(s,e),c=(e,t,n)=>{let i=e;return!r&&s&&s&&l(e,s)&&(i=void 0),o||a(i),o?.(i,e,t,n),i};return{selected:s,select:c,isSelected:u}}function n1(e,t){let n=n0(e,t),r=nK(e,t),o=nJ(e,t);switch(e.mode){case"single":return n;case"multiple":return r;case"range":return o;default:return}}function n2(e,t){return e instanceof eG&&e.timeZone===t?e:new eG(e,t)}function n3(e,t,n){if(!n)return n2(e,t);let r=n2(e,t);return new Date(new eG(r.getFullYear(),r.getMonth(),r.getDate(),12,0,0,t).getTime())}function n4(e,t,n){return"boolean"==typeof e||"function"==typeof e?e:e instanceof Date?n3(e,t,n):Array.isArray(e)?e.map(e=>e instanceof Date?n3(e,t,n):e):tw(e)?{...e,from:e.from?n2(e.from,t):e.from,to:e.to?n2(e.to,t):e.to}:tb(e)?{before:n3(e.before,t,n),after:n3(e.after,t,n)}:tx(e)?{after:n3(e.after,t,n)}:tk(e)?{before:n3(e.before,t,n)}:e}function n8(e,t,n){return e?Array.isArray(e)?e.map(e=>n4(e,t,n)):n4(e,t,n):e}function n5(e){let t=e,n=t.timeZone;if(n&&((t={...e,timeZone:n}).today&&(t.today=n2(t.today,n)),t.month&&(t.month=n2(t.month,n)),t.defaultMonth&&(t.defaultMonth=n2(t.defaultMonth,n)),t.startMonth&&(t.startMonth=n2(t.startMonth,n)),t.endMonth&&(t.endMonth=n2(t.endMonth,n)),"single"===t.mode&&t.selected?t.selected=n2(t.selected,n):"multiple"===t.mode&&t.selected?t.selected=t.selected?.map(e=>n2(e,n)):"range"===t.mode&&t.selected&&(t.selected={from:t.selected.from?n2(t.selected.from,n):t.selected.from,to:t.selected.to?n2(t.selected.to,n):t.selected.to}),void 0!==t.disabled&&(t.disabled=n8(t.disabled,n)),void 0!==t.hidden&&(t.hidden=n8(t.hidden,n)),t.modifiers)){let e={};Object.keys(t.modifiers).forEach(r=>{e[r]=n8(t.modifiers?.[r],n)}),t.modifiers=e}let{components:a,formatters:s,labels:l,dateLib:u,locale:c,classNames:f}=(0,d.useMemo)(()=>{let e={...eD,...t.locale},n=t.broadcastCalendar?1:t.weekStartsOn,r=t.noonSafe&&t.timeZone?nw(t.timeZone,{weekStartsOn:n,locale:e}):void 0,o=t.dateLib&&r?{...r,...t.dateLib}:t.dateLib??r,i=new tv({locale:e,weekStartsOn:n,firstWeekContainsDate:t.firstWeekContainsDate,useAdditionalWeekYearTokens:t.useAdditionalWeekYearTokens,useAdditionalDayOfYearTokens:t.useAdditionalDayOfYearTokens,timeZone:t.timeZone,numerals:t.numerals},o);return{dateLib:i,components:t1(t.components),formatters:nt(t.formatters),labels:nm(t.labels,i.options),locale:e,classNames:{...t3(),...t.classNames}}},[t.locale,t.broadcastCalendar,t.weekStartsOn,t.firstWeekContainsDate,t.useAdditionalWeekYearTokens,t.useAdditionalDayOfYearTokens,t.timeZone,t.numerals,t.dateLib,t.noonSafe,t.components,t.formatters,t.labels,t.classNames]);t.today||(t={...t,today:u.today()});let{captionLayout:p,mode:h,navLayout:m,numberOfMonths:v=1,onDayBlur:g,onDayClick:y,onDayFocus:b,onDayKeyDown:w,onDayMouseEnter:x,onDayMouseLeave:k,onNextClick:S,onPrevClick:E,showWeekNumber:C,styles:T}=t,{formatCaption:O,formatDay:M,formatMonthDropdown:I,formatWeekNumber:R,formatWeekNumberHeader:P,formatWeekdayName:j,formatYearDropdown:_}=s,A=nH(t,u),{days:D,months:N,navStart:L,navEnd:W,previousMonth:F,nextMonth:B,goToMonth:z}=A,H=tT(D,t,L,W,u),{isSelected:V,select:U,selected:q}=n1(t,u)??{},{blur:Y,focused:$,isFocusTarget:K,moveFocus:G,setFocused:Z}=n$(t,A,H,V??(()=>!1),u),{labelDayButton:X,labelGridcell:Q,labelGrid:J,labelMonthDropdown:ee,labelNav:et,labelPrevious:en,labelNext:er,labelWeekday:eo,labelWeekNumber:ei,labelWeekNumberHeader:ea,labelYearDropdown:es}=l,el=(0,d.useMemo)(()=>ny(u,t.ISOWeek,t.broadcastCalendar,t.today),[u,t.ISOWeek,t.broadcastCalendar,t.today]),eu=void 0!==h||void 0!==y,ec=(0,d.useCallback)(()=>{F&&(z(F),E?.(F))},[F,z,E]),ed=(0,d.useCallback)(()=>
1{B&&(z(B),S?.(B))},[z,B,S]),ef=(0,d.useCallback)((e,t)=>n=>{n.preventDefault(),n.stopPropagation(),Z(e),t.disabled||(U?.(e.date,t,n),y?.(e.date,t,n))},[U,y,Z]),ep=(0,d.useCallback)((e,t)=>n=>{Z(e),b?.(e.date,t,n)},[b,Z]),eh=(0,d.useCallback)((e,t)=>n=>{Y(),g?.(e.date,t,n)},[Y,g]),em=(0,d.useCallback)((e,n)=>r=>{let o={ArrowLeft:[r.shiftKey?"month":"day","rtl"===t.dir?"after":"before"],ArrowRight:[r.shiftKey?"month":"day","rtl"===t.dir?"before":"after"],ArrowDown:[r.shiftKey?"year":"week","after"],ArrowUp:[r.shiftKey?"year":"week","before"],PageUp:[r.shiftKey?"year":"month","before"],PageDown:[r.shiftKey?"year":"month","after"],Home:["startOfWeek","before"],End:["endOfWeek","after"]};if(o[r.key]){r.preventDefault(),r.stopPropagation();let[e,t]=o[r.key];G(e,t)}w?.(e.date,n,r)},[G,w,t.dir]),ev=(0,d.useCallback)((e,t)=>n=>{x?.(e.date,t,n)},[x]),eg=(0,d.useCallback)((e,t)=>n=>{k?.(e.date,t,n)},[k]),ey=(0,d.useCallback)((e,t)=>n=>{let r=Number(n.target.value),o=u.setMonth(u.startOfMonth(e),r);z(u.addMonths(o,-t))},[u,z]),eb=(0,d.useCallback)((e,t)=>n=>{let r=Number(n.target.value),o=u.setYear(u.startOfMonth(e),r);z(u.addMonths(o,-t))},[u,z]),{className:ew,style:ex}=(0,d.useMemo)(()=>({className:[f[r.Root],t.className].filter(Boolean).join(" "),style:{...T?.[r.Root],...t.style}}),[f,t.className,t.style,T]),ek=t2(t),eS=e=>{let t=T?.[r.Dropdown],n=T?.[e];if(t||n)return{...t,...n}},eE=(0,d.useRef)(null);nM(eE,!!t.animate,{classNames:f,months:N,focused:$,dateLib:u});let eC={dayPickerProps:t,selected:q,select:U,isSelected:V,months:N,nextMonth:B,previousMonth:F,goToMonth:z,getModifiers:H,components:a,classNames:f,styles:T,labels:l,formatters:s};return d.createElement(tj.Provider,{value:eC},d.createElement(a.Root,{rootRef:t.animate?eE:void 0,className:ew,style:ex,dir:t.dir,id:t.id,lang:t.lang??c.code,nonce:t.nonce,title:t.title,role:t.role,"aria-label":t["aria-label"],"aria-labelledby":t["aria-labelledby"],...ek},d.createElement(a.Months,{className:f[r.Months],style:T?.[r.Months]},!t.hideNavigation&&!m&&d.createElement(a.Nav,{"data-animated-nav":t.animate?"true":void 0,className:f[r.Nav],style:T?.[r.Nav],"aria-label":et(),onPreviousClick:ec,onNextClick:ed,previousMonth:F,nextMonth:B}),N.map((e,n)=>{let l=t.reverseMonths?N.length-1-n:n;return d.createElement(a.Month,{"data-animated-month":t.animate?"true":void 0,className:f[r.Month],style:T?.[r.Month],key:n,displayIndex:n,calendarMonth:e},"around"===m&&!t.hideNavigation&&0===n&&d.createElement(a.PreviousMonthButton,{type:"button",className:f[r.PreviousMonthButton],style:T?.[r.PreviousMonthButton],tabIndex:F?void 0:-1,"aria-disabled":!F||void 0,"aria-label":en(F),onClick:ec,"data-animated-button":t.animate?"true":void 0},d.createElement(a.Chevron,{disabled:!F||void 0,className:f[r.Chevron],style:T?.[r.Chevron],orientation:"rtl"===t.dir?"right":"left"})),d.createElement(a.MonthCaption,{"data-animated-caption":t.animate?"true":void 0,className:f[r.MonthCaption],style:T?.[r.MonthCaption],calendarMonth:e,displayIndex:n},p?.startsWith("dropdown")?d.createElement(a.DropdownNav,{className:f[r.Dropdowns],style:T?.[r.Dropdowns]},(()=>{let n="dropdown"===p||"dropdown-months"===p?d.createElement(a.MonthsDropdown,{key:"month",className:f[r.MonthsDropdown],"aria-label":ee(),disabled:!!t.disableNavigation,onChange:ey(e.date,l),options:nv(e.date,L,W,s,u),style:eS(r.MonthsDropdown),value:u.getMonth(e.date)}):d.createElement("span",{key:"month"},I(e.date,u)),o="dropdown"===p||"dropdown-years"===p?d.createElement(a.YearsDropdown,{key:"year",className:f[r.YearsDropdown],"aria-label":es(u.options),disabled:!!t.disableNavigation,onChange:eb(e.date,l),options:nb(L,W,s,u,!!t.reverseYears),style:eS(r.YearsDropdown),value:u.getYear(e.date)}):d.createElement("span",{key:"year"},_(e.date,u));return"year-first"===u.getMonthYearOrder()?[o,n]:[n,o]})(),d.createElement("span",{role:"status","aria-live":"polite",style:{border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"}},O(e.date,u.options,u))):d.createElement(a.CaptionLabel,{className:f[r.CaptionLabel],style:T?.[r.CaptionLabel],role:"status","aria-live":"polite"},O(e.date,u.options,u))),"around"===m&&!t.hideNavigation&&n===v-1&&d.createElement(a.NextMonthButton,{type:"button",className:f[r.NextMonthButton],style:T?.[r.NextMonthButton],tabIndex:B?void 0:-1,"aria-disabled":!B||void 0,"aria-label":er(B),onClick:ed,"data-animated-button":t.animate?"true":void 0},d.createElement(a.Chevron,{disabled:!B||void 0,className:f[r.Chevron],style:T?.[r.Chevron],orientation:"rtl"===t.dir?"left":"right"})),n===v-1&&"after"===m&&!t.hideNavigation&&d.createElement(a.Nav,{"data-animated-nav":t.animate?"true":void 0,className:f[r.Nav],style:T?.[r.Nav],"aria-label":et(),onPreviousClick:ec,onNextClick:ed,previousMonth:F,nextMonth:B}),d.createElement(a.MonthGrid,{role:"grid","aria-multiselectable":"multiple"===h||"range"===h,"aria-label":J(e.date,u.options,u)||void 0,className:f[r.MonthGrid],style:T?.[r.MonthGrid]},!t.hideWeekdays&&d.createElement(a.Weekdays,{"data-animated-weekdays":t.animate?"true":void 0,className:f[r.Weekdays],style:T?.[r.Weekdays]},C&&d.createElement(a.WeekNumberHeader,{"aria-label":ea(u.options),className:f[r.WeekNumberHeader],style:T?.[r.WeekNumberHeader],scope:"col"},P()),el.map(e=>d.createElement(a.Weekday,{"aria-label":eo(e,u.options,u),className:f[r.Weekday],key:String(e),style:T?.[r.Weekday],scope:"col"},j(e,u.options,u)))),d.createElement(a.Weeks,{"data-animated-weeks":t.animate?"true":void 0,className:f[r.Weeks],style:T?.[r.Weeks]},e.weeks.map(e=>d.createElement(a.Week,{className:f[r.Week],key:e.weekNumber,style:T?.[r.Week],week:e},C&&d.createElement(a.WeekNumber,{week:e,style:T?.[r.WeekNumber],"aria-label":ei(e.weekNumber,{locale:c}),className:f[r.WeekNumber],scope:"row",role:"rowheader"},R(e.weekNumber,u)),e.days.map(e=>{let{date:n}=e,s=H(e);if(s[o.focused]=!s.hidden&&!!$?.isEqualTo(e),s[i.selected]=V?.(n)||s.selected,tw(q)){let{from:e,to:t}=q;s[i.range_start]=!!(e&&t&&u.isSameDay(n,e)),s[i.range_end]=!!(e&&t&&u.isSameDay(n,t)),s[i.range_middle]=ty(q,n,!0,u)}let l=ng(s,T,t.modifiersStyles),c=tO(s,f,t.modifiersClassNames),p=eu||s.hidden?void 0:Q(n,s,u.options,u);return d.createElement(a.Day,{key:`${e.isoDate}_${e.displayMonthId}`,day:e,modifiers:s,className:c.join(" "),style:l,role:"gridcell","aria-selected":s.selected||void 0,"aria-label":p,"data-day":e.isoDate,"data-month":e.outside?e.dateMonthId:void 0,"data-selected":s.selected||void 0,"data-disabled":s.disabled||void 0,"data-hidden":s.hidden||void 0,"data-outside":e.outside||void 0,"data-focused":s.focused||void 0,"data-today":s.today||void 0},!s.hidden&&eu?d.createElement(a.DayButton,{className:f[r.DayButton],style:T?.[r.DayButton],type:"button",day:e,modifiers:s,disabled:!s.focused&&s.disabled||void 0,"aria-disabled":s.focused&&s.disabled||void 0,tabIndex:K(e)?0:-1,"aria-label":X(n,s,u.options,u),onClick:ef(e,s),onBlur:eh(e,s),onFocus:ep(e,s),onKeyDown:em(e,s),onMouseEnter:ev(e,s),onMouseLeave:eg(e,s)},M(n,u.options,u)):!s.hidden&&M(e.date,u.options,u))}))))))})),t.footer&&d.createElement(a.Footer,{className:f[r.Footer],style:T?.[r.Footer],role:"status","aria-live":"polite"},t.footer)))}!function(e){e[e.Today=0]="Today",e[e.Selected=1]="Selected",e[e.LastFocused=2]="LastFocused",e[e.FocusedModifier=3]="FocusedModifier"}(s||(s={}))},19333:function(e,t,n){"use strict";n.d(t,{Z:function(){return s},y:function(){return l}});var r=n(8247);let o=r.createContext({}),i=!0;function a(e){let{baseColor:t,highlightColor:n,width:r,height:o,borderRadius:a,circle:s,direction:l,duration:u,enableAnimation:c=i,customHighlightBackgroun
1d:d}=e,f={};return"rtl"===l&&(f["--animation-direction"]="reverse"),"number"==typeof u&&(f["--animation-duration"]="".concat(u,"s")),c||(f["--pseudo-element-display"]="none"),("string"==typeof r||"number"==typeof r)&&(f.width=r),("string"==typeof o||"number"==typeof o)&&(f.height=o),("string"==typeof a||"number"==typeof a)&&(f.borderRadius=a),s&&(f.borderRadius="50%"),void 0!==t&&(f["--base-color"]=t),void 0!==n&&(f["--highlight-color"]=n),"string"==typeof d&&(f["--custom-highlight-background"]=d),f}function s(e){var t,n,s;let{count:l=1,wrapper:u,className:c,containerClassName:d,containerTestId:f,circle:p=!1,style:h,...m}=e,v=r.useContext(o),g={...m};for(let[e,t]of Object.entries(m))void 0===t&&delete g[e];let y={...v,...g,circle:p},b={...h,...a(y)},w="react-loading-skeleton";c&&(w+=" ".concat(c));let x=null!==(t=y.inline)&&void 0!==t&&t,k=[],S=Math.ceil(l);for(let e=0;e<S;e++){let t=b;if(S>l&&e===S-1){let e=null!==(n=t.width)&&void 0!==n?n:"100%",r=l%1,o="number"==typeof e?e*r:"calc(".concat(e," * ").concat(r,")");t={...t,width:o}}let o=r.createElement("span",{className:w,style:t,key:e},"â");x?k.push(o):k.push(r.createElement(r.Fragment,{key:e},o,r.createElement("br",null)))}return r.createElement("span",{className:d,"data-testid":f,"aria-live":"polite","aria-busy":null!==(s=y.enableAnimation)&&void 0!==s?s:i},u?k.map((e,t)=>r.createElement(u,{key:t},e)):k)}function l(e){let{children:t,...n}=e;return r.createElement(o.Provider,{value:n},t)}},14058:function(e,t,n){"use strict";n.d(t,{_T:function(){return o},ev:function(){return i},pi:function(){return r}});var r=function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function o(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function i(e,t,n){if(n||2==arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.