"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[1],{169(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.createEntrypoint=function(t,e,n){var u;function l(u){var l,f,c;try{console.log("hydrating",t,u);const s=document.getElementById(`${t}-${u}-hydration-data`),a=null!==(l=window.__outsmartly_state_hook_v1)&&void 0!==l?l:{};window.__orly__&&window.__orly__({event:"HYDRATE",payload:{time:window.performance.now(),featureId:t,sectionId:u}});const d=Object.assign(Object.assign(Object.assign({},null!==(f=window.__outsmartly_previews__&&window.__outsmartly_previews__[t])&&void 0!==f?f:JSON.parse(null!==(c=null==s?void 0:s.textContent)&&void 0!==c?c:"{}")),a),{apps:(null==n?void 0:n.length)?(0,_.buildAppState)(n,void 0):{}}),{useSharedState:v}=d;(0,r.hydrate)((0,o.jsx)(i.PreactContext.Provider,{value:{useSharedState:v},children:(0,o.jsx)(e,Object.assign({},d))}),document.getElementById(`${t}-${u}`))}catch(t){console.error("hydration error",t)}}window.__outsmartly_previews__&&(window.__outsmartly_previews_hydrate__=null!==(u=window.__outsmartly_previews_hydrate__)&&void 0!==u?u:{},window.__outsmartly_previews_hydrate__[t]=l);try{window.__hydration_handler__[t].push=l,function(){for(;window.__hydration_handler__[t].length;){var e=window.__hydration_handler__[t].shift();e&&l(e)}}()}catch(t){console.error(t)}};const o=n(0),r=n(3),i=n(82),_=n(117)},168(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.createFeature=function(t,e){return"undefined"==typeof window?(0,o.jsx)("div",{id:e,children:t}):t};const o=n(0)},171(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.createStateEntrypoint=function(t){var e,n;const o=document.getElementById("global-state"),r=t(null!==(e=window.__outsmartly_previews_global_state_)&&void 0!==e?e:JSON.parse(null!==(n=null==o?void 0:o.textContent)&&void 0!==n?n:"{}"));window.__outsmartly_state_hook_v1=r}},2(t,e,n){var o=this&&this.__createBinding||(Object.create?function(t,e,n,o){void 0===o&&(o=n);var r=Object.getOwnPropertyDescriptor(e,n);r&&!("get"in r?!e.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return e[n]}}),Object.defineProperty(t,o,r)}:function(t,e,n,o){void 0===o&&(o=n),t[o]=e[n]}),r=this&&this.__exportStar||function(t,e){for(var n in t)"default"===n||Object.prototype.hasOwnProperty.call(e,n)||o(e,t,n)},i=this&&this.__awaiter||function(t,e,n,o){return new(n||(n=Promise))((function(r,i){function _(t){try{l(o.next(t))}catch(t){i(t)}}function u(t){try{l(o.throw(t))}catch(t){i(t)}}function l(t){var e;t.done?r(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(_,u)}l((o=o.apply(t,e||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0}),e.buildAppState=e.useBento=e.createStateEntrypoint=e.createEntrypoint=e.createFeature=e.BentoUI=void 0,e.getAssignment=function(t){return"undefined"!=typeof location&&location.hostname.includes("bento")?new URL(location.href).searchParams.get(`__orly_${t}`):"undefined"!=typeof window&&window.__APP_CONFIG__&&"function"==typeof window.__APP_CONFIG__.getAssignedVariation?window.__APP_CONFIG__.getAssignedVariation(t):null},e.logOutcome=function(t){"undefined"!=typeof window&&window.__APP_CONFIG__&&"function"==typeof window.__APP_CONFIG__.outcome&&window.__APP_CONFIG__.outcome(t)},e.getLazyState=function(t,e){return i(this,void 0,void 0,(function*(){try{const n=yield fetch("/bento-lazy-state",{method:"POST",body:JSON.stringify({key:t,params:e})});return yield n.json()}catch(t){return void console.error(t)}}))};var _=n(167);Object.defineProperty(e,"BentoUI",{enumerable:!0,get:function(){return _.BentoUI}});var u=n(168);Object.defineProperty(e,"createFeature",{enumerable:!0,get:function(){return u.createFeature}});var l=n(169);Object.defineProperty(e,"createEntrypoint",{enumerable:!0,get:function(){return l.createEntrypoint}});var f=n(171);Object.defineProperty(e,"createStateEntrypoint",{enumerable:!0,get:function(){return f.createStateEntrypoint}});var c=n(82);Object.defineProperty(e,"useBento",{enumerable:!0,get:function(){return c.useBento}});var s=n(117);Object.defineProperty(e,"buildAppState",{enumerable:!0,get:function(){return s.buildAppState}}),r(n(172),e)},172(t,e){Object.defineProperty(e,"__esModule",{value:!0})},167(t,e){var n;Object.defineProperty(e,"__esModule",{value:!0}),e.BentoUI=void 0,function(t){t.globalState=function(t){return t},t.sharedState=function(t){return e=>{const n=t(e);return{useSharedState:()=>n}}},t.variation=function(t){return t},t.feature=function(t){return t},t.route=function(t){return t},t.lazyState=function(t){return t},t.lazyResolver=function(t){return t}}(n||(e.BentoUI=n={}))},82(t,e,n){var o=this&&this.__rest||function(t,e){var n={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(t);r");const{useSharedState:n}=t,r=o(t,["useSharedState"]),_=n();return Object.assign({useSharedStateStore:_},r)};const r=n(3),i=n(1);e.PreactContext=(0,r.createContext)(null)},170(t,e,n){n.d(e,{a:()=>h,b:()=>i,c:()=>S,d:()=>C,e:()=>y});var o=Symbol.for("preact-signals");function r(){if(f>1)f--;else{var t,e=!1;for(function(){var t=d;for(d=void 0;void 0!==t;)t.S.v===t.v&&(t.S.i=t.i),t=t.o}();void 0!==l;){var n=l;for(l=void 0,c++;void 0!==n;){var o=n.u;if(n.u=void 0,n.f&=-3,!(8&n.f)&&m(n))try{n.c()}catch(n){e||(t=n,e=!0)}n=o}}if(c=0,f--,e)throw t}}function i(t){if(f>0)return t();a=++s,f++;try{return t()}finally{r()}}var _=void 0;function u(t){var e=_;_=void 0;try{return t()}finally{_=e}}var l=void 0,f=0,c=0,s=0,a=0,d=void 0,v=0;function p(t){if(void 0!==_){var e=t.n;if(void 0===e||e.t!==_)return e={i:0,S:t,p:_.s,n:void 0,t:_,e:void 0,x:void 0,r:e},void 0!==_.s&&(_.s.n=e),_.s=e,t.n=e,32&_.f&&t.S(e),e;if(-1===e.i)return e.i=0,void 0!==e.n&&(e.n.p=e.p,void 0!==e.p&&(e.p.n=e.n),e.p=_.s,e.n=void 0,_.s.n=e,_.s=e),e}}function h(t,e){this.v=t,this.i=0,this.n=void 0,this.t=void 0,this.l=0,this.W=null==e?void 0:e.watched,this.Z=null==e?void 0:e.unwatched,this.name=null==e?void 0:e.name}function y(t,e){return new h(t,e)}function m(t){for(var e=t.s;void 0!==e;e=e.n)if(e.S.i!==e.i||!e.S.h()||e.S.i!==e.i)return!0;return!1}function b(t){for(var e=t.s;void 0!==e;e=e.n){var n=e.S.n;if(void 0!==n&&(e.r=n),e.S.n=e,e.i=-1,void 0===e.n){t.s=e;break}}}function w(t){for(var e=t.s,n=void 0;void 0!==e;){var o=e.p;-1===e.i?(e.S.U(e),void 0!==o&&(o.n=e.n),void 0!==e.n&&(e.n.p=o)):n=e,e.S.n=e.r,void 0!==e.r&&(e.r=void 0),e=o}t.s=n}function g(t,e){h.call(this,void 0,e),this.x=t,this.s=void 0,this.g=v-1,this.f=4}function S(t,e){return new g(t,e)}function k(t){var e=t.m;if(t.m=void 0,"function"==typeof e){f++;var n=_;_=void 0;try{e()}catch(e){throw t.f&=-2,t.f|=8,P(t),e}finally{_=n,r()}}}function P(t){for(var e=t.s;void 0!==e;e=e.n)e.S.U(e);t.x=void 0,t.s=void 0,k(t)}function O(t){if(_!==this)throw new Error("Out-of-order effect");w(this),_=t,this.f&=-2,8&this.f&&P(this),r()}function x(t,e){this.x=t,this.m=void 0,this.s=void 0,this.u=void 0,this.f=32,this.name=null==e?void 0:e.name}function C(t,e){var n=new x(t,e);try{n.c()}catch(t){throw n.d(),t}var o=n.d.bind(n);return o[Symbol.dispose]=o,o}h.prototype.brand=o,h.prototype.h=function(){return!0},h.prototype.S=function(t){var e=this,n=this.t;n!==t&&void 0===t.e&&(t.x=n,this.t=t,void 0!==n?n.e=t:u((function(){var t;null==(t=e.W)||t.call(e)})))},h.prototype.U=function(t){var e=this;if(void 0!==this.t){var n=t.e,o=t.x;void 0!==n&&(n.x=o,t.e=void 0),void 0!==o&&(o.e=n,t.x=void 0),t===this.t&&(this.t=o,void 0===o&&u((function(){var t;null==(t=e.Z)||t.call(e)})))}},h.prototype.subscribe=function(t){var e=this;return C((function(){var n=e.value;u((function(){return t(n)}))}),{name:"sub"})},h.prototype.valueOf=function(){return this.value},h.prototype.toString=function(){return this.value+""},h.prototype.toJSON=function(){return this.value},h.prototype.peek=function(){var t=this;return u((function(){return t.value}))},Object.defineProperty(h.prototype,"value",{get:function(){var t=p(this);return void 0!==t&&(t.i=this.i),this.v},set:function(t){if(t!==this.v){if(c>100)throw new Error("Cycle detected");!function(t){0!==f&&0===c&&t.l!==a&&(t.l=a,d={S:t,v:t.v,i:t.i,o:d})}(this),this.v=t,this.i++,v++,f++;try{for(var e=this.t;void 0!==e;e=e.x)e.t.N()}finally{r()}}}}),g.prototype=new h,g.prototype.h=function(){if(this.f&=-3,1&this.f)return!1;if(32==(36&this.f))return!0;if(this.f&=-5,this.g===v)return!0;if(this.g=v,this.f|=1,this.i>0&&!m(this))return this.f&=-2,!0;var t=_;try{b(this),_=this;var e=this.x();(16&this.f||this.v!==e||0===this.i)&&(this.v=e,this.f&=-17,this.i++)}catch(t){this.v=t,this.f|=16,this.i++}return _=t,w(this),this.f&=-2,!0},g.prototype.S=function(t){if(void 0===this.t){this.f|=36;for(var e=this.s;void 0!==e;e=e.n)e.S.S(e)}h.prototype.S.call(this,t)},g.prototype.U=function(t){if(void 0!==this.t&&(h.prototype.U.call(this,t),void 0===this.t)){this.f&=-33;for(var e=this.s;void 0!==e;e=e.n)e.S.U(e)}},g.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var t=this.t;void 0!==t;t=t.x)t.t.N()}},Object.defineProperty(g.prototype,"value",{get:function(){if(1&this.f)throw new Error("Cycle detected");var t=p(this);if(this.h(),void 0!==t&&(t.i=this.i),16&this.f)throw this.v;return this.v}}),x.prototype.c=function(){var t=this.S();try{if(8&this.f)return;if(void 0===this.x)return;var e=this.x();"function"==typeof e&&(this.m=e)}finally{t()}},x.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,k(this),b(this),f++;var t=_;return _=this,O.bind(this,t)},x.prototype.N=function(){2&this.f||(this.f|=2,this.u=l,l=this)},x.prototype.d=function(){this.f|=8,1&this.f||P(this)},x.prototype.dispose=function(){this.d()}},118(t,e,n){n.d(e,{a:()=>u.e});var o,r,i=n(3),_=n(1),u=n(170),l="undefined"!=typeof window&&!!window.__PREACT_SIGNALS_DEVTOOLS__,f=[];function c(t,e){i.g[t]=e.bind(null,i.g[t]||function(){})}function s(t){if(r){var e=r;r=void 0,e()}r=t&&t.S()}function a(t){var e=this,n=t.data,o=function(t){return(0,_.h)((function(){return(0,u.e)(t,undefined)}),[])}(n);o.value=n;var r=(0,_.h)((function(){for(var t=e,n=e.__v;n=n.__;)if(n.__c){n.__c.__$f|=4;break}var r=(0,u.c)((function(){var t=o.value.value;return 0===t?0:!0===t?"":t||""})),_=(0,u.c)((function(){return!Array.isArray(r.value)&&!(0,i.f)(r.value)})),l=(0,u.d)((function(){if(this.N=h,_.value){var e=r.value;t.__v&&t.__v.__e&&3===t.__v.__e.nodeType&&(t.__v.__e.data=e)}})),f=e.__$u.d;return e.__$u.d=function(){l(),f.call(this)},[_,r]}),[]),l=r[0],f=r[1];return l.value?f.peek():f.value}function d(t,e,n,o){var r=e in t&&void 0===t.ownerSVGElement,i=(0,u.e)(n);return{o:function(t,e){i.value=t,o=e},d:(0,u.d)((function(){this.N=h;var n=i.value.value;o[e]!==n&&(o[e]=n,r?t[e]=n:null==n||!1===n&&"-"!==e[4]?t.removeAttribute(e):t.setAttribute(e,n))}))}}(0,u.d)((function(){o=this.N}))(),a.displayName="ReactiveTextNode",Object.defineProperties(u.a.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:a},props:{configurable:!0,get:function(){var t=this;return{data:{get value(){return t.value}}}}},__b:{configurable:!0,value:1}}),c("__b",(function(t,e){if("string"==typeof e.type){var n,o=e.props;for(var r in o)if("children"!==r){var i=o[r];i instanceof u.a&&(n||(e.__np=n={}),n[r]=i,o[r]=i.peek())}}t(e)})),c("__r",(function(t,e){if(t(e),e.type!==i.b){s();var n,o=e.__c;o&&(o.__$f&=-2,void 0===(n=o.__$u)&&(o.__$u=n=function(t,e){var n;return(0,u.d)((function(){n=this}),{name:e}),n.c=t,n}((function(){var t;l&&(null==(t=n.y)||t.call(n)),o.__$f|=1,o.setState({})}),"function"==typeof e.type?e.type.displayName||e.type.name:""))),s(n)}})),c("__e",(function(t,e,n,o){s(),t(e,n,o)})),c("diffed",(function(t,e){var n;if(s(),"string"==typeof e.type&&(n=e.__e)){var o=e.__np,r=e.props;if(o){var i=n.U;if(i)for(var _ in i){var u=i[_];void 0===u||_ in o||(u.d(),i[_]=void 0)}else i={},n.U=i;for(var l in o){var f=i[l],c=o[l];void 0===f?(f=d(n,l,c,r),i[l]=f):f.o(c,r)}}}t(e)})),c("unmount",(function(t,e){if("string"==typeof e.type){var n=e.__e;if(n){var o=n.U;if(o)for(var r in n.U=void 0,o){var i=o[r];i&&i.d()}}var _=e.__np;if(_){var u=e.props;for(var l in _)u[l]=_[l]}e.__np=void 0}else{var f=e.__c;if(f){var c=f.__$u;c&&(f.__$u=void 0,c.d())}}t(e)})),c("__h",(function(t,e,n,o){(o<3||9===o)&&(e.__$f|=2),t(e,n,o)})),i.a.prototype.shouldComponentUpdate=function(t,e){if(this.__R)return!0;var n=this.__$u,o=n&&void 0!==n.s;for(var r in e)return!0;if(this.__f||"boolean"==typeof this.u&&!0===this.u){var i=2&this.__$f;if(!(o||i||4&this.__$f))return!0;if(1&this.__$f)return!0}else{if(!(o||4&this.__$f))return!0;if(3&this.__$f)return!0}for(var _ in t)if("__source"!==_&&t[_]!==this.props[_])return!0;for(var u in this.props)if(!(u in t))return!0;return!1},"undefined"==typeof requestAnimationFrame&&setTimeout;var v=function(t){queueMicrotask((function(){queueMicrotask(t)}))};function p(){(0,u.b)((function(){for(var t;t=f.shift();)o.call(t)}))}function h(){1===f.push(this)&&(i.g.requestAnimationFrame||v)(p)}},3(t,e,n){n.d(e,{a:()=>x,b:()=>O,c:()=>Y,createContext:()=>K,d:()=>S,e:()=>P,f:()=>_,g:()=>r,h:()=>S,hydrate:()=>Z,i:()=>J,j:()=>F});var o,r,i,_,u,l,f,c,s,a,d,v,p,h={},y=[],m=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,b=Array.isArray;function w(t,e){for(var n in e)t[n]=e[n];return t}function g(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function S(t,e,n){var r,i,_,u={};for(_ in e)"key"==_?r=e[_]:"ref"==_?i=e[_]:u[_]=e[_];if(arguments.length>2&&(u.children=arguments.length>3?o.call(arguments,2):n),"function"==typeof t&&null!=t.defaultProps)for(_ in t.defaultProps)void 0===u[_]&&(u[_]=t.defaultProps[_]);return k(t,u,r,i,null)}function k(t,e,n,o,_){var u={type:t,props:e,key:n,ref:o,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:_??++i,__i:-1,__u:0};return null==_&&null!=r.vnode&&r.vnode(u),u}function P(){return{current:null}}function O(t){return t.children}function x(t,e){this.props=t,this.context=e}function C(t,e){if(null==e)return t.__?C(t.__,t.__i+1):null;for(var n;ee&&u.sort(c),t=u.shift(),e=u.length,N(t)}finally{u.length=E.__r=0}}function U(t,e,n,o,r,i,_,u,l,f,c){var s,a,d,v,p,m,b,w=o&&o.__k||y,g=e.length;for(l=T(n,e,w,l,g),s=0;s0?_=t.__k[i]=k(_.type,_.props,_.key,_.ref?_.ref:null,_.__v):t.__k[i]=_,l=i+a,_.__=t,_.__b=t.__b+1,u=null,-1!=(f=_.__i=H(_,n,l,s))&&(s--,(u=n[f])&&(u.__u|=2)),null==u||null==u.__v?(-1==f&&(r>c?a--:rl?a--:a++,_.__u|=4))):t.__k[i]=null;if(s)for(i=0;i(c?1:0))for(r=n-1,i=n+1;r>=0||i=0?r--:i++])&&!(2&f.__u)&&u==f.key&&l==f.type)return _;return-1}function $(t,e,n){"-"==e[0]?t.setProperty(e,n??""):t[e]=null==n?"":"number"!=typeof n||m.test(e)?n:n+"px"}function B(t,e,n,o,r){var i,_;t:if("style"==e)if("string"==typeof n)t.style.cssText=n;else{if("string"==typeof o&&(t.style.cssText=o=""),o)for(e in o)n&&e in n||$(t.style,e,"");if(n)for(e in n)o&&n[e]==o[e]||$(t.style,e,n[e])}else if("o"==e[0]&&"n"==e[1])i=e!=(e=e.replace(s,"$1")),_=e.toLowerCase(),e=_ in t||"onFocusOut"==e||"onFocusIn"==e?_.slice(2):e.slice(2),t.l||(t.l={}),t.l[e+i]=n,n?o?n.u=o.u:(n.u=a,t.addEventListener(e,i?v:d,i)):t.removeEventListener(e,i?v:d,i);else{if("http://www.w3.org/2000/svg"==r)e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=e&&"height"!=e&&"href"!=e&&"list"!=e&&"form"!=e&&"tabIndex"!=e&&"download"!=e&&"rowSpan"!=e&&"colSpan"!=e&&"role"!=e&&"popover"!=e&&e in t)try{t[e]=n??"";break t}catch(t){}"function"==typeof n||(null==n||!1===n&&"-"!=e[4]?t.removeAttribute(e):t.setAttribute(e,"popover"==e&&1==n?"":n))}}function M(t){return function(e){if(this.l){var n=this.l[e.type+t];if(null==e.t)e.t=a++;else if(e.t0?t:b(t)?t.map(R):w({},t)}function G(t,e,n,i,_,u,l,f,c){var s,a,d,v,p,y,m,w=n.props||h,S=e.props,k=e.type;if("svg"==k?_="http://www.w3.org/2000/svg":"math"==k?_="http://www.w3.org/1998/Math/MathML":_||(_="http://www.w3.org/1999/xhtml"),null!=u)for(s=0;s2&&(l.children=arguments.length>3?o.call(arguments,2):n),k(t.type,l,r||t.key,i||t.ref,null)}function K(t){function e(t){var n,o;return this.getChildContext||(n=new Set,(o={})[e.__c]=this,this.getChildContext=function(){return o},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(t){this.props.value!=t.value&&n.forEach((function(t){t.__e=!0,A(t)}))},this.sub=function(t){n.add(t);var e=t.componentWillUnmount;t.componentWillUnmount=function(){n&&n.delete(t),e&&e.call(t)}}),t.children}return e.__c="__cC"+p++,e.__=t,e.Provider=e.__l=(e.Consumer=function(t,e){return t.children(e)}).contextType=e,e}o=y.slice,r={__e:function(t,e,n,o){for(var r,i,_;e=e.__;)if((r=e.__c)&&!r.__)try{if((i=r.constructor)&&null!=i.getDerivedStateFromError&&(r.setState(i.getDerivedStateFromError(t)),_=r.__d),null!=r.componentDidCatch&&(r.componentDidCatch(t,o||{}),_=r.__d),_)return r.__E=r}catch(e){t=e}throw t}},i=0,_=function(t){return null!=t&&void 0===t.constructor},x.prototype.setState=function(t,e){var n;n=null!=this.__s&&this.__s!=this.state?this.__s:this.__s=w({},this.state),"function"==typeof t&&(t=t(w({},n),this.props)),t&&w(n,t),null!=t&&this.__v&&(e&&this._sb.push(e),A(this))},x.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),A(this))},x.prototype.render=O,u=[],f="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,c=function(t,e){return t.__v.__b-e.__v.__b},E.__r=0,s=/(PointerCapture)$|Capture$/i,a=0,d=M(!1),v=M(!0),p=0},1(t,e,n){n.d(e,{a:()=>O,b:()=>C,c:()=>w,d:()=>N,e:()=>j,f:()=>k,g:()=>g,h:()=>P,i:()=>b,j:()=>S,k:()=>m,useContext:()=>x});var o,r,i,_,u=n(3),l=0,f=[],c=u.g,s=c.__b,a=c.__r,d=c.diffed,v=c.__c,p=c.unmount,h=c.__;function y(t,e){c.__h&&c.__h(r,t,l||e),l=0;var n=r.__H||(r.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({}),n.__[t]}function m(t){return l=1,b(H,t)}function b(t,e,n){var i=y(o++,2);if(i.t=t,!i.__c&&(i.__=[n?n(e):H(void 0,e),function(t){var e=i.__N?i.__N[0]:i.__[0],n=i.t(e,t);e!==n&&(i.__N=[n,i.__[1]],i.__c.setState({}))}],i.__c=r,!r.__f)){var _=function(t,e,n){if(!i.__c.__H)return!0;var o=i.__c.__H.__.filter((function(t){return t.__c}));if(o.every((function(t){return!t.__N})))return!u||u.call(this,t,e,n);var r=i.__c.props!==t;return o.some((function(t){if(t.__N){var e=t.__[0];t.__=t.__N,t.__N=void 0,e!==t.__[0]&&(r=!0)}})),u&&u.call(this,t,e,n)||r};r.__f=!0;var u=r.shouldComponentUpdate,l=r.componentWillUpdate;r.componentWillUpdate=function(t,e,n){if(this.__e){var o=u;u=void 0,_(t,e,n),u=o}l&&l.call(this,t,e,n)},r.shouldComponentUpdate=_}return i.__N||i.__}function w(t,e){var n=y(o++,3);!c.__s&&F(n.__H,e)&&(n.__=t,n.u=e,r.__H.__h.push(n))}function g(t,e){var n=y(o++,4);!c.__s&&F(n.__H,e)&&(n.__=t,n.u=e,r.__h.push(n))}function S(t){return l=5,P((function(){return{current:t}}),[])}function k(t,e,n){l=6,g((function(){if("function"==typeof t){var n=t(e());return function(){t(null),n&&"function"==typeof n&&n()}}if(t)return t.current=e(),function(){return t.current=null}}),null==n?n:n.concat(t))}function P(t,e){var n=y(o++,7);return F(n.__H,e)&&(n.__=t(),n.__H=e,n.__h=t),n.__}function O(t,e){return l=8,P((function(){return t}),e)}function x(t){var e=r.context[t.__c],n=y(o++,9);return n.c=t,e?(null==n.__&&(n.__=!0,e.sub(r)),e.props.value):t.__}function C(t,e){c.useDebugValue&&c.useDebugValue(e?e(t):t)}function N(t){var e=y(o++,10),n=m();return e.__=t,r.componentDidCatch||(r.componentDidCatch=function(t,o){e.__&&e.__(t,o),n[1](t)}),[n[0],function(){n[1](void 0)}]}function j(){var t=y(o++,11);if(!t.__){for(var e=r.__v;null!==e&&!e.__m&&null!==e.__;)e=e.__;var n=e.__m||(e.__m=[0,0]);t.__="P"+n[0]+"-"+n[1]++}return t.__}function A(){for(var t;t=f.shift();){var e=t.__H;if(t.__P&&e)try{e.__h.some(T),e.__h.some(I),e.__h=[]}catch(n){e.__h=[],c.__e(n,t.__v)}}}c.__b=function(t){r=null,s&&s(t)},c.__=function(t,e){t&&e.__k&&e.__k.__m&&(t.__m=e.__k.__m),h&&h(t,e)},c.__r=function(t){a&&a(t),o=0;var e=(r=t.__c).__H;e&&(i===r?(e.__h=[],r.__h=[],e.__.some((function(t){t.__N&&(t.__=t.__N),t.u=t.__N=void 0}))):(e.__h.some(T),e.__h.some(I),e.__h=[],o=0)),i=r},c.diffed=function(t){d&&d(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(1!==f.push(e)&&_===c.requestAnimationFrame||((_=c.requestAnimationFrame)||U)(A)),e.__H.__.some((function(t){t.u&&(t.__H=t.u),t.u=void 0}))),i=r=null},c.__c=function(t,e){e.some((function(t){try{t.__h.some(T),t.__h=t.__h.filter((function(t){return!t.__||I(t)}))}catch(n){e.some((function(t){t.__h&&(t.__h=[])})),e=[],c.__e(n,t.__v)}})),v&&v(t,e)},c.unmount=function(t){p&&p(t);var e,n=t.__c;n&&n.__H&&(n.__H.__.some((function(t){try{T(t)}catch(t){e=t}})),n.__H=void 0,e&&c.__e(e,n.__v))};var E="function"==typeof requestAnimationFrame;function U(t){var e,n=function(){clearTimeout(o),E&&cancelAnimationFrame(e),setTimeout(t)},o=setTimeout(n,35);E&&(e=requestAnimationFrame(n))}function T(t){var e=r,n=t.__c;"function"==typeof n&&(t.__c=void 0,n()),r=e}function I(t){var e=r;t.__c=t.__(),r=e}function F(t,e){return!t||t.length!==e.length||e.some((function(e,n){return e!==t[n]}))}function H(t,e){return"function"==typeof e?e(t):e}},0(t,e,n){n.d(e,{a:()=>o.b,b:()=>i,jsx:()=>i});var o=n(3),r=0;function i(t,e,n,i,_,u){e||(e={});var l,f,c=e;if("ref"in c)for(f in c={},e)"ref"==f?l=e[f]:c[f]=e[f];var s={type:t,props:c,key:n,ref:l,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--r,__i:-1,__u:0,__source:_,__self:u};if("function"==typeof t&&(l=t.defaultProps))for(f in l)void 0===c[f]&&(c[f]=l[f]);return o.g.vnode&&o.g.vnode(s),s}Array.isArray},116(t,e,n){n.d(e,{a:()=>r});var o=n(118);function r(t){const e=window.__BENTO_BRIDGE__;if(!e)throw new Error("appHook: __BENTO_BRIDGE__ not found");const{namespace:n,selectors:r,actions:i}=t,_={},u=(window.__BENTO_INITIAL_STATE__??{})[n],l=[];for(const[t,i]of Object.entries(r)){const r=(0,o.a)(i(u));l.push({sig:r,selectorFn:i}),e.subscribeSlice(n,(t=>{r.value=i(t)})),_[t]=r}queueMicrotask((()=>{const t=e.getSlice(n);for(const{sig:e,selectorFn:n}of l){const o=n(t);e.peek()!==o&&(e.value=o)}}));for(const[t,n]of Object.entries(i))_[t]=(...t)=>{const o=n(...t);return e.apply(o)};return _}},156(t,e,n){n.d(e,{a:()=>i});var o=n(118),r=n(116);function i(t,e){if("undefined"==typeof window){const n={};for(const r of t){const t=e?.[r.namespace],i=r.selectors??{},_=r.actions??{},u={};for(const[e,n]of Object.entries(i))u[e]=(0,o.a)(n(t));for(const[t]of Object.entries(_))u[t]=async()=>{};n[r.namespace]=u}return n}const n={};for(const e of t)n[e.namespace]=(0,r.a)(e);return n}},117(t,e,n){n.r(e),n.d(e,{appHook:()=>o.a,buildAppState:()=>r.a});var o=n(116),r=n(156)}}]);