@seamly/web-ui 22.3.0-beta.3 → 22.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/build/dist/lib/components.js +162 -163
  2. package/build/dist/lib/components.js.map +1 -1
  3. package/build/dist/lib/components.min.js +1 -1
  4. package/build/dist/lib/components.min.js.map +1 -1
  5. package/build/dist/lib/hooks.js +162 -163
  6. package/build/dist/lib/hooks.js.map +1 -1
  7. package/build/dist/lib/hooks.min.js +1 -1
  8. package/build/dist/lib/hooks.min.js.map +1 -1
  9. package/build/dist/lib/index.debug.js +85 -157
  10. package/build/dist/lib/index.debug.js.map +1 -1
  11. package/build/dist/lib/index.debug.min.js +1 -1
  12. package/build/dist/lib/index.debug.min.js.map +1 -1
  13. package/build/dist/lib/index.js +165 -322
  14. package/build/dist/lib/index.js.map +1 -1
  15. package/build/dist/lib/index.min.js +1 -1
  16. package/build/dist/lib/index.min.js.map +1 -1
  17. package/build/dist/lib/standalone.js +176 -738
  18. package/build/dist/lib/standalone.js.map +1 -1
  19. package/build/dist/lib/standalone.min.js +1 -1
  20. package/build/dist/lib/standalone.min.js.map +1 -1
  21. package/build/dist/lib/storage.min.js.map +1 -1
  22. package/build/dist/lib/style-guide.js +163 -176
  23. package/build/dist/lib/style-guide.js.map +1 -1
  24. package/build/dist/lib/style-guide.min.js +1 -1
  25. package/build/dist/lib/style-guide.min.js.map +1 -1
  26. package/build/dist/lib/styles-default-implementation.css +1 -1
  27. package/build/dist/lib/styles.css +1 -1
  28. package/build/dist/lib/utils.js +163 -176
  29. package/build/dist/lib/utils.js.map +1 -1
  30. package/build/dist/lib/utils.min.js +1 -1
  31. package/build/dist/lib/utils.min.js.map +1 -1
  32. package/package.json +1 -1
  33. package/src/javascripts/domains/store/slice.ts +2 -1
@@ -139,34 +139,32 @@ __webpack_require__.r(__webpack_exports__);
139
139
  /* harmony export */ Component: () => (/* reexport safe */ preact__WEBPACK_IMPORTED_MODULE_0__.Component),
140
140
  /* harmony export */ Fragment: () => (/* reexport safe */ preact__WEBPACK_IMPORTED_MODULE_0__.Fragment),
141
141
  /* harmony export */ PureComponent: () => (/* binding */ w),
142
- /* harmony export */ StrictMode: () => (/* binding */ yn),
143
- /* harmony export */ Suspense: () => (/* binding */ U),
142
+ /* harmony export */ StrictMode: () => (/* binding */ mn),
143
+ /* harmony export */ Suspense: () => (/* binding */ D),
144
144
  /* harmony export */ SuspenseList: () => (/* binding */ V),
145
145
  /* harmony export */ __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: () => (/* binding */ ln),
146
- /* harmony export */ cloneElement: () => (/* binding */ hn),
146
+ /* harmony export */ cloneElement: () => (/* binding */ sn),
147
147
  /* harmony export */ createContext: () => (/* reexport safe */ preact__WEBPACK_IMPORTED_MODULE_0__.createContext),
148
148
  /* harmony export */ createElement: () => (/* reexport safe */ preact__WEBPACK_IMPORTED_MODULE_0__.createElement),
149
149
  /* harmony export */ createFactory: () => (/* binding */ fn),
150
150
  /* harmony export */ createPortal: () => (/* binding */ z),
151
151
  /* harmony export */ createRef: () => (/* reexport safe */ preact__WEBPACK_IMPORTED_MODULE_0__.createRef),
152
- /* harmony export */ "default": () => (/* binding */ wn),
153
- /* harmony export */ findDOMNode: () => (/* binding */ dn),
154
- /* harmony export */ flushSync: () => (/* binding */ mn),
152
+ /* harmony export */ "default": () => (/* binding */ Cn),
153
+ /* harmony export */ findDOMNode: () => (/* binding */ vn),
154
+ /* harmony export */ flushSync: () => (/* binding */ pn),
155
155
  /* harmony export */ forwardRef: () => (/* binding */ k),
156
156
  /* harmony export */ hydrate: () => (/* binding */ J),
157
- /* harmony export */ isElement: () => (/* binding */ Cn),
158
- /* harmony export */ isFragment: () => (/* binding */ sn),
159
157
  /* harmony export */ isValidElement: () => (/* binding */ an),
160
158
  /* harmony export */ lazy: () => (/* binding */ M),
161
159
  /* harmony export */ memo: () => (/* binding */ x),
162
160
  /* harmony export */ render: () => (/* binding */ G),
163
- /* harmony export */ startTransition: () => (/* binding */ _n),
164
- /* harmony export */ unmountComponentAtNode: () => (/* binding */ vn),
165
- /* harmony export */ unstable_batchedUpdates: () => (/* binding */ pn),
166
- /* harmony export */ useDeferredValue: () => (/* binding */ bn),
167
- /* harmony export */ useInsertionEffect: () => (/* binding */ gn),
168
- /* harmony export */ useSyncExternalStore: () => (/* binding */ En),
169
- /* harmony export */ useTransition: () => (/* binding */ Sn),
161
+ /* harmony export */ startTransition: () => (/* binding */ yn),
162
+ /* harmony export */ unmountComponentAtNode: () => (/* binding */ hn),
163
+ /* harmony export */ unstable_batchedUpdates: () => (/* binding */ dn),
164
+ /* harmony export */ useDeferredValue: () => (/* binding */ _n),
165
+ /* harmony export */ useInsertionEffect: () => (/* binding */ Sn),
166
+ /* harmony export */ useSyncExternalStore: () => (/* binding */ gn),
167
+ /* harmony export */ useTransition: () => (/* binding */ bn),
170
168
  /* harmony export */ version: () => (/* binding */ cn)
171
169
  /* harmony export */ });
172
170
  /* harmony import */ var preact__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(210);
@@ -174,9 +172,9 @@ __webpack_require__.r(__webpack_exports__);
174
172
  /* harmony import */ var preact_hooks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(207);
175
173
  /* harmony import */ var preact_hooks__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(preact_hooks__WEBPACK_IMPORTED_MODULE_1__);
176
174
  /* harmony reexport (unknown) */ var __WEBPACK_REEXPORT_OBJECT__ = {};
177
- /* harmony reexport (unknown) */ for(const __WEBPACK_IMPORT_KEY__ in preact_hooks__WEBPACK_IMPORTED_MODULE_1__) if(["default","Component","Fragment","createContext","createElement","createRef","Children","PureComponent","StrictMode","Suspense","SuspenseList","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","cloneElement","createFactory","createPortal","findDOMNode","flushSync","forwardRef","hydrate","isElement","isFragment","isValidElement","lazy","memo","render","startTransition","unmountComponentAtNode","unstable_batchedUpdates","useDeferredValue","useInsertionEffect","useSyncExternalStore","useTransition","version"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = () => preact_hooks__WEBPACK_IMPORTED_MODULE_1__[__WEBPACK_IMPORT_KEY__]
175
+ /* harmony reexport (unknown) */ for(const __WEBPACK_IMPORT_KEY__ in preact_hooks__WEBPACK_IMPORTED_MODULE_1__) if(["default","Component","Fragment","createContext","createElement","createRef","Children","PureComponent","StrictMode","Suspense","SuspenseList","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","cloneElement","createFactory","createPortal","findDOMNode","flushSync","forwardRef","hydrate","isValidElement","lazy","memo","render","startTransition","unmountComponentAtNode","unstable_batchedUpdates","useDeferredValue","useInsertionEffect","useSyncExternalStore","useTransition","version"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) __WEBPACK_REEXPORT_OBJECT__[__WEBPACK_IMPORT_KEY__] = () => preact_hooks__WEBPACK_IMPORTED_MODULE_1__[__WEBPACK_IMPORT_KEY__]
178
176
  /* harmony reexport (unknown) */ __webpack_require__.d(__webpack_exports__, __WEBPACK_REEXPORT_OBJECT__);
179
- function g(n,t){for(var e in t)n[e]=t[e];return n}function C(n,t){for(var e in n)if("__source"!==e&&!(e in t))return!0;for(var r in t)if("__source"!==r&&n[r]!==t[r])return!0;return!1}function E(n,t){return n===t&&(0!==n||1/n==1/t)||n!=n&&t!=t}function w(n){this.props=n}function x(n,e){function r(n){var t=this.props.ref,r=t==n.ref;return!r&&t&&(t.call?t(null):t.current=null),e?!e(this.props,n)||!r:C(this.props,n)}function u(e){return this.shouldComponentUpdate=r,(0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(n,e)}return u.displayName="Memo("+(n.displayName||n.name)+")",u.prototype.isReactComponent=!0,u.__f=!0,u}(w.prototype=new preact__WEBPACK_IMPORTED_MODULE_0__.Component).isPureReactComponent=!0,w.prototype.shouldComponentUpdate=function(n,t){return C(this.props,n)||C(this.state,t)};var R=preact__WEBPACK_IMPORTED_MODULE_0__.options.__b;preact__WEBPACK_IMPORTED_MODULE_0__.options.__b=function(n){n.type&&n.type.__f&&n.ref&&(n.props.ref=n.ref,n.ref=null),R&&R(n)};var N="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function k(n){function t(t){var e=g({},t);return delete e.ref,n(e,t.ref||null)}return t.$$typeof=N,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(n.displayName||n.name)+")",t}var A=function(n,t){return null==n?null:(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)((0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(n).map(t))},O={map:A,forEach:A,count:function(n){return n?(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(n).length:0},only:function(n){var t=(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(n);if(1!==t.length)throw"Children.only";return t[0]},toArray:preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray},T=preact__WEBPACK_IMPORTED_MODULE_0__.options.__e;preact__WEBPACK_IMPORTED_MODULE_0__.options.__e=function(n,t,e,r){if(n.then)for(var u,o=t;o=o.__;)if((u=o.__c)&&u.__c)return null==t.__e&&(t.__e=e.__e,t.__k=e.__k),u.__c(n,t);T(n,t,e,r)};var F=preact__WEBPACK_IMPORTED_MODULE_0__.options.unmount;function I(n,t,e){return n&&(n.__c&&n.__c.__H&&(n.__c.__H.__.forEach(function(n){"function"==typeof n.__c&&n.__c()}),n.__c.__H=null),null!=(n=g({},n)).__c&&(n.__c.__P===e&&(n.__c.__P=t),n.__c=null),n.__k=n.__k&&n.__k.map(function(n){return I(n,t,e)})),n}function L(n,t,e){return n&&(n.__v=null,n.__k=n.__k&&n.__k.map(function(n){return L(n,t,e)}),n.__c&&n.__c.__P===t&&(n.__e&&e.insertBefore(n.__e,n.__d),n.__c.__e=!0,n.__c.__P=e)),n}function U(){this.__u=0,this.t=null,this.__b=null}function D(n){var t=n.__.__c;return t&&t.__a&&t.__a(n)}function M(n){var e,r,u;function o(o){if(e||(e=n()).then(function(n){r=n.default||n},function(n){u=n}),u)throw u;if(!r)throw e;return (0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(r,o)}return o.displayName="Lazy",o.__f=!0,o}function V(){this.u=null,this.o=null}preact__WEBPACK_IMPORTED_MODULE_0__.options.unmount=function(n){var t=n.__c;t&&t.__R&&t.__R(),t&&!0===n.__h&&(n.type=null),F&&F(n)},(U.prototype=new preact__WEBPACK_IMPORTED_MODULE_0__.Component).__c=function(n,t){var e=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(e);var u=D(r.__v),o=!1,i=function(){o||(o=!0,e.__R=null,u?u(l):l())};e.__R=i;var l=function(){if(!--r.__u){if(r.state.__a){var n=r.state.__a;r.__v.__k[0]=L(n,n.__c.__P,n.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}},c=!0===t.__h;r.__u++||c||r.setState({__a:r.__b=r.__v.__k[0]}),n.then(i,i)},U.prototype.componentWillUnmount=function(){this.t=[]},U.prototype.render=function(n,e){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=I(this.__b,r,o.__O=o.__P)}this.__b=null}var i=e.__a&&(0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(preact__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,n.fallback);return i&&(i.__h=null),[(0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(preact__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,e.__a?null:n.children),i]};var W=function(n,t,e){if(++e[1]===e[0]&&n.o.delete(t),n.props.revealOrder&&("t"!==n.props.revealOrder[0]||!n.o.size))for(e=n.u;e;){for(;e.length>3;)e.pop()();if(e[1]<e[0])break;n.u=e=e[2]}};function P(n){return this.getChildContext=function(){return n.context},n.children}function j(n){var e=this,r=n.i;e.componentWillUnmount=function(){(0,preact__WEBPACK_IMPORTED_MODULE_0__.render)(null,e.l),e.l=null,e.i=null},e.i&&e.i!==r&&e.componentWillUnmount(),e.l||(e.i=r,e.l={nodeType:1,parentNode:r,childNodes:[],appendChild:function(n){this.childNodes.push(n),e.i.appendChild(n)},insertBefore:function(n,t){this.childNodes.push(n),e.i.appendChild(n)},removeChild:function(n){this.childNodes.splice(this.childNodes.indexOf(n)>>>1,1),e.i.removeChild(n)}}),(0,preact__WEBPACK_IMPORTED_MODULE_0__.render)((0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(P,{context:e.context},n.__v),e.l)}function z(n,e){var r=(0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(j,{__v:n,i:e});return r.containerInfo=e,r}(V.prototype=new preact__WEBPACK_IMPORTED_MODULE_0__.Component).__a=function(n){var t=this,e=D(t.__v),r=t.o.get(n);return r[0]++,function(u){var o=function(){t.props.revealOrder?(r.push(u),W(t,n,r)):u()};e?e(o):o()}},V.prototype.render=function(n){this.u=null,this.o=new Map;var t=(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(n.children);n.revealOrder&&"b"===n.revealOrder[0]&&t.reverse();for(var e=t.length;e--;)this.o.set(t[e],this.u=[1,0,this.u]);return n.children},V.prototype.componentDidUpdate=V.prototype.componentDidMount=function(){var n=this;this.o.forEach(function(t,e){W(n,e,t)})};var B="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,H=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Z=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Y=/[A-Z0-9]/g,$="undefined"!=typeof document,q=function(n){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(n)};function G(n,t,e){return null==t.__k&&(t.textContent=""),(0,preact__WEBPACK_IMPORTED_MODULE_0__.render)(n,t),"function"==typeof e&&e(),n?n.__c:null}function J(n,t,e){return (0,preact__WEBPACK_IMPORTED_MODULE_0__.hydrate)(n,t),"function"==typeof e&&e(),n?n.__c:null}preact__WEBPACK_IMPORTED_MODULE_0__.Component.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(preact__WEBPACK_IMPORTED_MODULE_0__.Component.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(n){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:n})}})});var K=preact__WEBPACK_IMPORTED_MODULE_0__.options.event;function Q(){}function X(){return this.cancelBubble}function nn(){return this.defaultPrevented}preact__WEBPACK_IMPORTED_MODULE_0__.options.event=function(n){return K&&(n=K(n)),n.persist=Q,n.isPropagationStopped=X,n.isDefaultPrevented=nn,n.nativeEvent=n};var tn,en={enumerable:!1,configurable:!0,get:function(){return this.class}},rn=preact__WEBPACK_IMPORTED_MODULE_0__.options.vnode;preact__WEBPACK_IMPORTED_MODULE_0__.options.vnode=function(n){"string"==typeof n.type&&function(n){var t=n.props,e=n.type,u={};for(var o in t){var i=t[o];if(!("value"===o&&"defaultValue"in t&&null==i||$&&"children"===o&&"noscript"===e||"class"===o||"className"===o)){var l=o.toLowerCase();"defaultValue"===o&&"value"in t&&null==t.value?o="value":"download"===o&&!0===i?i="":"ondoubleclick"===l?o="ondblclick":"onchange"!==l||"input"!==e&&"textarea"!==e||q(t.type)?"onfocus"===l?o="onfocusin":"onblur"===l?o="onfocusout":Z.test(o)?o=l:-1===e.indexOf("-")&&H.test(o)?o=o.replace(Y,"-$&").toLowerCase():null===i&&(i=void 0):l=o="oninput","oninput"===l&&u[o=l]&&(o="oninputCapture"),u[o]=i}}"select"==e&&u.multiple&&Array.isArray(u.value)&&(u.value=(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(t.children).forEach(function(n){n.props.selected=-1!=u.value.indexOf(n.props.value)})),"select"==e&&null!=u.defaultValue&&(u.value=(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(t.children).forEach(function(n){n.props.selected=u.multiple?-1!=u.defaultValue.indexOf(n.props.value):u.defaultValue==n.props.value})),t.class&&!t.className?(u.class=t.class,Object.defineProperty(u,"className",en)):(t.className&&!t.class||t.class&&t.className)&&(u.class=u.className=t.className),n.props=u}(n),n.$$typeof=B,rn&&rn(n)};var un=preact__WEBPACK_IMPORTED_MODULE_0__.options.__r;preact__WEBPACK_IMPORTED_MODULE_0__.options.__r=function(n){un&&un(n),tn=n.__c};var on=preact__WEBPACK_IMPORTED_MODULE_0__.options.diffed;preact__WEBPACK_IMPORTED_MODULE_0__.options.diffed=function(n){on&&on(n);var t=n.props,e=n.__e;null!=e&&"textarea"===n.type&&"value"in t&&t.value!==e.value&&(e.value=null==t.value?"":t.value),tn=null};var ln={ReactCurrentDispatcher:{current:{readContext:function(n){return tn.__n[n.__c].props.value}}}},cn="17.0.2";function fn(n){return preact__WEBPACK_IMPORTED_MODULE_0__.createElement.bind(null,n)}function an(n){return!!n&&n.$$typeof===B}function sn(n){return an(n)&&n.type===preact__WEBPACK_IMPORTED_MODULE_0__.Fragment}function hn(n){return an(n)?preact__WEBPACK_IMPORTED_MODULE_0__.cloneElement.apply(null,arguments):n}function vn(n){return!!n.__k&&((0,preact__WEBPACK_IMPORTED_MODULE_0__.render)(null,n),!0)}function dn(n){return n&&(n.base||1===n.nodeType&&n)||null}var pn=function(n,t){return n(t)},mn=function(n,t){return n(t)},yn=preact__WEBPACK_IMPORTED_MODULE_0__.Fragment;function _n(n){n()}function bn(n){return n}function Sn(){return[!1,_n]}var gn=preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect,Cn=an;function En(n,t){var e=t(),r=(0,preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useState)({h:{__:e,v:t}}),u=r[0].h,o=r[1];return (0,preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect)(function(){u.__=e,u.v=t,E(u.__,t())||o({h:u})},[n,e,t]),(0,preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useEffect)(function(){return E(u.__,u.v())||o({h:u}),n(function(){E(u.__,u.v())||o({h:u})})},[n]),e}var wn={useState:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useState,useId:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useId,useReducer:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useReducer,useEffect:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useEffect,useLayoutEffect:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect,useInsertionEffect:gn,useTransition:Sn,useDeferredValue:bn,useSyncExternalStore:En,startTransition:_n,useRef:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useRef,useImperativeHandle:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useImperativeHandle,useMemo:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useMemo,useCallback:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useCallback,useContext:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useContext,useDebugValue:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useDebugValue,version:"17.0.2",Children:O,render:G,hydrate:J,unmountComponentAtNode:vn,createPortal:z,createElement:preact__WEBPACK_IMPORTED_MODULE_0__.createElement,createContext:preact__WEBPACK_IMPORTED_MODULE_0__.createContext,createFactory:fn,cloneElement:hn,createRef:preact__WEBPACK_IMPORTED_MODULE_0__.createRef,Fragment:preact__WEBPACK_IMPORTED_MODULE_0__.Fragment,isValidElement:an,isElement:Cn,isFragment:sn,findDOMNode:dn,Component:preact__WEBPACK_IMPORTED_MODULE_0__.Component,PureComponent:w,memo:x,forwardRef:k,flushSync:mn,unstable_batchedUpdates:pn,StrictMode:yn,Suspense:U,SuspenseList:V,lazy:M,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ln};
177
+ function g(n,t){for(var e in t)n[e]=t[e];return n}function C(n,t){for(var e in n)if("__source"!==e&&!(e in t))return!0;for(var r in t)if("__source"!==r&&n[r]!==t[r])return!0;return!1}function E(n,t){return n===t&&(0!==n||1/n==1/t)||n!=n&&t!=t}function w(n){this.props=n}function x(n,e){function r(n){var t=this.props.ref,r=t==n.ref;return!r&&t&&(t.call?t(null):t.current=null),e?!e(this.props,n)||!r:C(this.props,n)}function u(e){return this.shouldComponentUpdate=r,(0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(n,e)}return u.displayName="Memo("+(n.displayName||n.name)+")",u.prototype.isReactComponent=!0,u.__f=!0,u}(w.prototype=new preact__WEBPACK_IMPORTED_MODULE_0__.Component).isPureReactComponent=!0,w.prototype.shouldComponentUpdate=function(n,t){return C(this.props,n)||C(this.state,t)};var R=preact__WEBPACK_IMPORTED_MODULE_0__.options.__b;preact__WEBPACK_IMPORTED_MODULE_0__.options.__b=function(n){n.type&&n.type.__f&&n.ref&&(n.props.ref=n.ref,n.ref=null),R&&R(n)};var N="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function k(n){function t(t){var e=g({},t);return delete e.ref,n(e,t.ref||null)}return t.$$typeof=N,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(n.displayName||n.name)+")",t}var A=function(n,t){return null==n?null:(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)((0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(n).map(t))},O={map:A,forEach:A,count:function(n){return n?(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(n).length:0},only:function(n){var t=(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(n);if(1!==t.length)throw"Children.only";return t[0]},toArray:preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray},T=preact__WEBPACK_IMPORTED_MODULE_0__.options.__e;preact__WEBPACK_IMPORTED_MODULE_0__.options.__e=function(n,t,e,r){if(n.then)for(var u,o=t;o=o.__;)if((u=o.__c)&&u.__c)return null==t.__e&&(t.__e=e.__e,t.__k=e.__k),u.__c(n,t);T(n,t,e,r)};var I=preact__WEBPACK_IMPORTED_MODULE_0__.options.unmount;function L(n,t,e){return n&&(n.__c&&n.__c.__H&&(n.__c.__H.__.forEach(function(n){"function"==typeof n.__c&&n.__c()}),n.__c.__H=null),null!=(n=g({},n)).__c&&(n.__c.__P===e&&(n.__c.__P=t),n.__c=null),n.__k=n.__k&&n.__k.map(function(n){return L(n,t,e)})),n}function U(n,t,e){return n&&(n.__v=null,n.__k=n.__k&&n.__k.map(function(n){return U(n,t,e)}),n.__c&&n.__c.__P===t&&(n.__e&&e.insertBefore(n.__e,n.__d),n.__c.__e=!0,n.__c.__P=e)),n}function D(){this.__u=0,this.t=null,this.__b=null}function F(n){var t=n.__.__c;return t&&t.__a&&t.__a(n)}function M(n){var e,r,u;function o(o){if(e||(e=n()).then(function(n){r=n.default||n},function(n){u=n}),u)throw u;if(!r)throw e;return (0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(r,o)}return o.displayName="Lazy",o.__f=!0,o}function V(){this.u=null,this.o=null}preact__WEBPACK_IMPORTED_MODULE_0__.options.unmount=function(n){var t=n.__c;t&&t.__R&&t.__R(),t&&!0===n.__h&&(n.type=null),I&&I(n)},(D.prototype=new preact__WEBPACK_IMPORTED_MODULE_0__.Component).__c=function(n,t){var e=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(e);var u=F(r.__v),o=!1,i=function(){o||(o=!0,e.__R=null,u?u(l):l())};e.__R=i;var l=function(){if(!--r.__u){if(r.state.__a){var n=r.state.__a;r.__v.__k[0]=U(n,n.__c.__P,n.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}},c=!0===t.__h;r.__u++||c||r.setState({__a:r.__b=r.__v.__k[0]}),n.then(i,i)},D.prototype.componentWillUnmount=function(){this.t=[]},D.prototype.render=function(n,e){if(this.__b){if(this.__v.__k){var r=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=L(this.__b,r,o.__O=o.__P)}this.__b=null}var i=e.__a&&(0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(preact__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,n.fallback);return i&&(i.__h=null),[(0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(preact__WEBPACK_IMPORTED_MODULE_0__.Fragment,null,e.__a?null:n.children),i]};var W=function(n,t,e){if(++e[1]===e[0]&&n.o.delete(t),n.props.revealOrder&&("t"!==n.props.revealOrder[0]||!n.o.size))for(e=n.u;e;){for(;e.length>3;)e.pop()();if(e[1]<e[0])break;n.u=e=e[2]}};function P(n){return this.getChildContext=function(){return n.context},n.children}function j(n){var e=this,r=n.i;e.componentWillUnmount=function(){(0,preact__WEBPACK_IMPORTED_MODULE_0__.render)(null,e.l),e.l=null,e.i=null},e.i&&e.i!==r&&e.componentWillUnmount(),n.__v?(e.l||(e.i=r,e.l={nodeType:1,parentNode:r,childNodes:[],appendChild:function(n){this.childNodes.push(n),e.i.appendChild(n)},insertBefore:function(n,t){this.childNodes.push(n),e.i.appendChild(n)},removeChild:function(n){this.childNodes.splice(this.childNodes.indexOf(n)>>>1,1),e.i.removeChild(n)}}),(0,preact__WEBPACK_IMPORTED_MODULE_0__.render)((0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(P,{context:e.context},n.__v),e.l)):e.l&&e.componentWillUnmount()}function z(n,e){var r=(0,preact__WEBPACK_IMPORTED_MODULE_0__.createElement)(j,{__v:n,i:e});return r.containerInfo=e,r}(V.prototype=new preact__WEBPACK_IMPORTED_MODULE_0__.Component).__a=function(n){var t=this,e=F(t.__v),r=t.o.get(n);return r[0]++,function(u){var o=function(){t.props.revealOrder?(r.push(u),W(t,n,r)):u()};e?e(o):o()}},V.prototype.render=function(n){this.u=null,this.o=new Map;var t=(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(n.children);n.revealOrder&&"b"===n.revealOrder[0]&&t.reverse();for(var e=t.length;e--;)this.o.set(t[e],this.u=[1,0,this.u]);return n.children},V.prototype.componentDidUpdate=V.prototype.componentDidMount=function(){var n=this;this.o.forEach(function(t,e){W(n,e,t)})};var B="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,H=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Z=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Y=/[A-Z0-9]/g,$="undefined"!=typeof document,q=function(n){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(n)};function G(n,t,e){return null==t.__k&&(t.textContent=""),(0,preact__WEBPACK_IMPORTED_MODULE_0__.render)(n,t),"function"==typeof e&&e(),n?n.__c:null}function J(n,t,e){return (0,preact__WEBPACK_IMPORTED_MODULE_0__.hydrate)(n,t),"function"==typeof e&&e(),n?n.__c:null}preact__WEBPACK_IMPORTED_MODULE_0__.Component.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(t){Object.defineProperty(preact__WEBPACK_IMPORTED_MODULE_0__.Component.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(n){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:n})}})});var K=preact__WEBPACK_IMPORTED_MODULE_0__.options.event;function Q(){}function X(){return this.cancelBubble}function nn(){return this.defaultPrevented}preact__WEBPACK_IMPORTED_MODULE_0__.options.event=function(n){return K&&(n=K(n)),n.persist=Q,n.isPropagationStopped=X,n.isDefaultPrevented=nn,n.nativeEvent=n};var tn,en={enumerable:!1,configurable:!0,get:function(){return this.class}},rn=preact__WEBPACK_IMPORTED_MODULE_0__.options.vnode;preact__WEBPACK_IMPORTED_MODULE_0__.options.vnode=function(n){"string"==typeof n.type&&function(n){var t=n.props,e=n.type,u={};for(var o in t){var i=t[o];if(!("value"===o&&"defaultValue"in t&&null==i||$&&"children"===o&&"noscript"===e||"class"===o||"className"===o)){var l=o.toLowerCase();"defaultValue"===o&&"value"in t&&null==t.value?o="value":"download"===o&&!0===i?i="":"ondoubleclick"===l?o="ondblclick":"onchange"!==l||"input"!==e&&"textarea"!==e||q(t.type)?"onfocus"===l?o="onfocusin":"onblur"===l?o="onfocusout":Z.test(o)?o=l:-1===e.indexOf("-")&&H.test(o)?o=o.replace(Y,"-$&").toLowerCase():null===i&&(i=void 0):l=o="oninput","oninput"===l&&u[o=l]&&(o="oninputCapture"),u[o]=i}}"select"==e&&u.multiple&&Array.isArray(u.value)&&(u.value=(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(t.children).forEach(function(n){n.props.selected=-1!=u.value.indexOf(n.props.value)})),"select"==e&&null!=u.defaultValue&&(u.value=(0,preact__WEBPACK_IMPORTED_MODULE_0__.toChildArray)(t.children).forEach(function(n){n.props.selected=u.multiple?-1!=u.defaultValue.indexOf(n.props.value):u.defaultValue==n.props.value})),t.class&&!t.className?(u.class=t.class,Object.defineProperty(u,"className",en)):(t.className&&!t.class||t.class&&t.className)&&(u.class=u.className=t.className),n.props=u}(n),n.$$typeof=B,rn&&rn(n)};var un=preact__WEBPACK_IMPORTED_MODULE_0__.options.__r;preact__WEBPACK_IMPORTED_MODULE_0__.options.__r=function(n){un&&un(n),tn=n.__c};var on=preact__WEBPACK_IMPORTED_MODULE_0__.options.diffed;preact__WEBPACK_IMPORTED_MODULE_0__.options.diffed=function(n){on&&on(n);var t=n.props,e=n.__e;null!=e&&"textarea"===n.type&&"value"in t&&t.value!==e.value&&(e.value=null==t.value?"":t.value),tn=null};var ln={ReactCurrentDispatcher:{current:{readContext:function(n){return tn.__n[n.__c].props.value}}}},cn="17.0.2";function fn(n){return preact__WEBPACK_IMPORTED_MODULE_0__.createElement.bind(null,n)}function an(n){return!!n&&n.$$typeof===B}function sn(n){return an(n)?preact__WEBPACK_IMPORTED_MODULE_0__.cloneElement.apply(null,arguments):n}function hn(n){return!!n.__k&&((0,preact__WEBPACK_IMPORTED_MODULE_0__.render)(null,n),!0)}function vn(n){return n&&(n.base||1===n.nodeType&&n)||null}var dn=function(n,t){return n(t)},pn=function(n,t){return n(t)},mn=preact__WEBPACK_IMPORTED_MODULE_0__.Fragment;function yn(n){n()}function _n(n){return n}function bn(){return[!1,yn]}var Sn=preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect;function gn(n,t){var e=t(),r=(0,preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useState)({h:{__:e,v:t}}),u=r[0].h,o=r[1];return (0,preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect)(function(){u.__=e,u.v=t,E(u.__,t())||o({h:u})},[n,e,t]),(0,preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useEffect)(function(){return E(u.__,u.v())||o({h:u}),n(function(){E(u.__,u.v())||o({h:u})})},[n]),e}var Cn={useState:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useState,useId:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useId,useReducer:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useReducer,useEffect:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useEffect,useLayoutEffect:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useLayoutEffect,useInsertionEffect:Sn,useTransition:bn,useDeferredValue:_n,useSyncExternalStore:gn,startTransition:yn,useRef:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useRef,useImperativeHandle:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useImperativeHandle,useMemo:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useMemo,useCallback:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useCallback,useContext:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useContext,useDebugValue:preact_hooks__WEBPACK_IMPORTED_MODULE_1__.useDebugValue,version:"17.0.2",Children:O,render:G,hydrate:J,unmountComponentAtNode:hn,createPortal:z,createElement:preact__WEBPACK_IMPORTED_MODULE_0__.createElement,createContext:preact__WEBPACK_IMPORTED_MODULE_0__.createContext,createFactory:fn,cloneElement:sn,createRef:preact__WEBPACK_IMPORTED_MODULE_0__.createRef,Fragment:preact__WEBPACK_IMPORTED_MODULE_0__.Fragment,isValidElement:an,findDOMNode:vn,Component:preact__WEBPACK_IMPORTED_MODULE_0__.Component,PureComponent:w,memo:x,forwardRef:k,flushSync:pn,unstable_batchedUpdates:dn,StrictMode:mn,Suspense:D,SuspenseList:V,lazy:M,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ln};
180
178
  //# sourceMappingURL=compat.module.js.map
181
179
 
182
180
 
@@ -1185,15 +1183,6 @@ var Ajax = class {
1185
1183
  };
1186
1184
 
1187
1185
  // js/phoenix/longpoll.js
1188
- var arrayBufferToBase64 = (buffer) => {
1189
- let binary = "";
1190
- let bytes = new Uint8Array(buffer);
1191
- let len = bytes.byteLength;
1192
- for (let i = 0; i < len; i++) {
1193
- binary += String.fromCharCode(bytes[i]);
1194
- }
1195
- return btoa(binary);
1196
- };
1197
1186
  var LongPoll = class {
1198
1187
  constructor(endPoint) {
1199
1188
  this.endPoint = null;
@@ -1271,9 +1260,6 @@ var LongPoll = class {
1271
1260
  });
1272
1261
  }
1273
1262
  send(body) {
1274
- if (typeof body !== "string") {
1275
- body = arrayBufferToBase64(body);
1276
- }
1277
1263
  if (this.currentBatch) {
1278
1264
  this.currentBatch.push(body);
1279
1265
  } else if (this.awaitingBatchAck) {
@@ -2633,7 +2619,7 @@ _API_ready = new WeakMap(), _API_externalId = new WeakMap(), _API_conversationAu
2633
2619
  return {
2634
2620
  clientName: "@seamly/web-ui",
2635
2621
  clientVariant: api_classPrivateFieldGet(this, _API_layoutMode, "f"),
2636
- clientVersion: "22.3.0-beta.3",
2622
+ clientVersion: "22.3.1",
2637
2623
  currentUrl: window.location.toString(),
2638
2624
  screenResolution: `${window.screen.width}x${window.screen.height}`,
2639
2625
  timezone: getTimeZone(),
@@ -2669,41 +2655,42 @@ const setBatch = newBatch => batch = newBatch; // Supply a getter just to skip d
2669
2655
  const getBatch = () => batch;
2670
2656
  ;// CONCATENATED MODULE: ./node_modules/react-redux/es/components/Context.js
2671
2657
 
2672
- const ContextKey = Symbol.for(`react-redux-context`);
2673
- const gT = typeof globalThis !== "undefined" ? globalThis :
2674
- /* fall back to a per-module scope (pre-8.1 behaviour) if `globalThis` is not available */
2675
- {};
2658
+ const ContextKey = Symbol.for(`react-redux-context-${compat_module.version}`);
2659
+ const gT = globalThis;
2676
2660
 
2677
2661
  function getContext() {
2678
- var _gT$ContextKey;
2679
-
2680
- if (!compat_module.createContext) return {};
2681
- const contextMap = (_gT$ContextKey = gT[ContextKey]) != null ? _gT$ContextKey : gT[ContextKey] = new Map();
2682
- let realContext = contextMap.get(compat_module.createContext);
2662
+ let realContext = gT[ContextKey];
2683
2663
 
2684
2664
  if (!realContext) {
2685
- realContext = compat_module.createContext(null);
2665
+ realContext = (0,compat_module.createContext)(null);
2686
2666
 
2687
2667
  if (false) {}
2688
2668
 
2689
- contextMap.set(compat_module.createContext, realContext);
2669
+ gT[ContextKey] = realContext;
2690
2670
  }
2691
2671
 
2692
2672
  return realContext;
2693
2673
  }
2694
2674
 
2695
- const Context_ReactReduxContext = /*#__PURE__*/getContext();
2675
+ const Context_ReactReduxContext = /*#__PURE__*/new Proxy({}, /*#__PURE__*/new Proxy({}, {
2676
+ get(_, handler) {
2677
+ const target = getContext(); // @ts-ignore
2678
+
2679
+ return (_target, ...args) => Reflect[handler](target, ...args);
2680
+ }
2681
+
2682
+ }));
2696
2683
  /* harmony default export */ const Context = ((/* unused pure expression or super */ null && (Context_ReactReduxContext)));
2697
2684
  ;// CONCATENATED MODULE: ./node_modules/react-redux/es/hooks/useReduxContext.js
2698
2685
 
2699
2686
 
2700
2687
 
2701
- /**
2702
- * Hook factory, which creates a `useReduxContext` hook bound to a given context. This is a low-level
2703
- * hook that you should usually not need to call directly.
2704
- *
2705
- * @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
2706
- * @returns {Function} A `useReduxContext` hook bound to the specified context.
2688
+ /**
2689
+ * Hook factory, which creates a `useReduxContext` hook bound to a given context. This is a low-level
2690
+ * hook that you should usually not need to call directly.
2691
+ *
2692
+ * @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
2693
+ * @returns {Function} A `useReduxContext` hook bound to the specified context.
2707
2694
  */
2708
2695
  function createReduxContextHook(context = Context_ReactReduxContext) {
2709
2696
  return function useReduxContext() {
@@ -2714,21 +2701,21 @@ function createReduxContextHook(context = Context_ReactReduxContext) {
2714
2701
  return contextValue;
2715
2702
  };
2716
2703
  }
2717
- /**
2718
- * A hook to access the value of the `ReactReduxContext`. This is a low-level
2719
- * hook that you should usually not need to call directly.
2720
- *
2721
- * @returns {any} the value of the `ReactReduxContext`
2722
- *
2723
- * @example
2724
- *
2725
- * import React from 'react'
2726
- * import { useReduxContext } from 'react-redux'
2727
- *
2728
- * export const CounterComponent = () => {
2729
- * const { store } = useReduxContext()
2730
- * return <div>{store.getState()}</div>
2731
- * }
2704
+ /**
2705
+ * A hook to access the value of the `ReactReduxContext`. This is a low-level
2706
+ * hook that you should usually not need to call directly.
2707
+ *
2708
+ * @returns {any} the value of the `ReactReduxContext`
2709
+ *
2710
+ * @example
2711
+ *
2712
+ * import React from 'react'
2713
+ * import { useReduxContext } from 'react-redux'
2714
+ *
2715
+ * export const CounterComponent = () => {
2716
+ * const { store } = useReduxContext()
2717
+ * return <div>{store.getState()}</div>
2718
+ * }
2732
2719
  */
2733
2720
 
2734
2721
  const useReduxContext_useReduxContext = /*#__PURE__*/createReduxContextHook();
@@ -2747,11 +2734,11 @@ const initializeUseSelector = fn => {
2747
2734
  };
2748
2735
 
2749
2736
  const refEquality = (a, b) => a === b;
2750
- /**
2751
- * Hook factory, which creates a `useSelector` hook bound to a given context.
2752
- *
2753
- * @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
2754
- * @returns {Function} A `useSelector` hook bound to the specified context.
2737
+ /**
2738
+ * Hook factory, which creates a `useSelector` hook bound to a given context.
2739
+ *
2740
+ * @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
2741
+ * @returns {Function} A `useSelector` hook bound to the specified context.
2755
2742
  */
2756
2743
 
2757
2744
 
@@ -2791,28 +2778,28 @@ function createSelectorHook(context = Context_ReactReduxContext) {
2791
2778
  return selectedState;
2792
2779
  };
2793
2780
  }
2794
- /**
2795
- * A hook to access the redux store's state. This hook takes a selector function
2796
- * as an argument. The selector is called with the store state.
2797
- *
2798
- * This hook takes an optional equality comparison function as the second parameter
2799
- * that allows you to customize the way the selected state is compared to determine
2800
- * whether the component needs to be re-rendered.
2801
- *
2802
- * @param {Function} selector the selector function
2803
- * @param {Function=} equalityFn the function that will be used to determine equality
2804
- *
2805
- * @returns {any} the selected state
2806
- *
2807
- * @example
2808
- *
2809
- * import React from 'react'
2810
- * import { useSelector } from 'react-redux'
2811
- *
2812
- * export const CounterComponent = () => {
2813
- * const counter = useSelector(state => state.counter)
2814
- * return <div>{counter}</div>
2815
- * }
2781
+ /**
2782
+ * A hook to access the redux store's state. This hook takes a selector function
2783
+ * as an argument. The selector is called with the store state.
2784
+ *
2785
+ * This hook takes an optional equality comparison function as the second parameter
2786
+ * that allows you to customize the way the selected state is compared to determine
2787
+ * whether the component needs to be re-rendered.
2788
+ *
2789
+ * @param {Function} selector the selector function
2790
+ * @param {Function=} equalityFn the function that will be used to determine equality
2791
+ *
2792
+ * @returns {any} the selected state
2793
+ *
2794
+ * @example
2795
+ *
2796
+ * import React from 'react'
2797
+ * import { useSelector } from 'react-redux'
2798
+ *
2799
+ * export const CounterComponent = () => {
2800
+ * const counter = useSelector(state => state.counter)
2801
+ * return <div>{counter}</div>
2802
+ * }
2816
2803
  */
2817
2804
 
2818
2805
  const useSelector_useSelector = /*#__PURE__*/createSelectorHook();
@@ -3102,31 +3089,31 @@ const initStateUpdates = () => EMPTY_ARRAY;
3102
3089
  function strictEqual(a, b) {
3103
3090
  return a === b;
3104
3091
  }
3105
- /**
3106
- * Infers the type of props that a connector will inject into a component.
3092
+ /**
3093
+ * Infers the type of props that a connector will inject into a component.
3107
3094
  */
3108
3095
 
3109
3096
 
3110
3097
  let hasWarnedAboutDeprecatedPureOption = false;
3111
- /**
3112
- * Connects a React component to a Redux store.
3113
- *
3114
- * - Without arguments, just wraps the component, without changing the behavior / props
3115
- *
3116
- * - If 2 params are passed (3rd param, mergeProps, is skipped), default behavior
3117
- * is to override ownProps (as stated in the docs), so what remains is everything that's
3118
- * not a state or dispatch prop
3119
- *
3120
- * - When 3rd param is passed, we don't know if ownProps propagate and whether they
3121
- * should be valid component props, because it depends on mergeProps implementation.
3122
- * As such, it is the user's responsibility to extend ownProps interface from state or
3123
- * dispatch props or both when applicable
3124
- *
3125
- * @param mapStateToProps A function that extracts values from state
3126
- * @param mapDispatchToProps Setup for dispatching actions
3127
- * @param mergeProps Optional callback to merge state and dispatch props together
3128
- * @param options Options for configuring the connection
3129
- *
3098
+ /**
3099
+ * Connects a React component to a Redux store.
3100
+ *
3101
+ * - Without arguments, just wraps the component, without changing the behavior / props
3102
+ *
3103
+ * - If 2 params are passed (3rd param, mergeProps, is skipped), default behavior
3104
+ * is to override ownProps (as stated in the docs), so what remains is everything that's
3105
+ * not a state or dispatch prop
3106
+ *
3107
+ * - When 3rd param is passed, we don't know if ownProps propagate and whether they
3108
+ * should be valid component props, because it depends on mergeProps implementation.
3109
+ * As such, it is the user's responsibility to extend ownProps interface from state or
3110
+ * dispatch props or both when applicable
3111
+ *
3112
+ * @param mapStateToProps A function that extracts values from state
3113
+ * @param mapDispatchToProps Setup for dispatching actions
3114
+ * @param mergeProps Optional callback to merge state and dispatch props together
3115
+ * @param options Options for configuring the connection
3116
+ *
3130
3117
  */
3131
3118
 
3132
3119
  function connect(mapStateToProps, mapDispatchToProps, mergeProps, {
@@ -3172,7 +3159,7 @@ function connect(mapStateToProps, mapDispatchToProps, mergeProps, {
3172
3159
  };
3173
3160
 
3174
3161
  function ConnectFunction(props) {
3175
- const [propsContext, reactReduxForwardedRef, wrapperProps] = React.useMemo(() => {
3162
+ const [propsContext, reactReduxForwardedRef, wrapperProps] = useMemo(() => {
3176
3163
  // Distinguish between actual "data" props that were passed to the wrapper component,
3177
3164
  // and values needed to control behavior (forwarded refs, alternate context instances).
3178
3165
  // To maintain the wrapperProps object reference, memoize this destructuring.
@@ -3183,14 +3170,14 @@ function connect(mapStateToProps, mapDispatchToProps, mergeProps, {
3183
3170
 
3184
3171
  return [props.context, reactReduxForwardedRef, wrapperProps];
3185
3172
  }, [props]);
3186
- const ContextToUse = React.useMemo(() => {
3173
+ const ContextToUse = useMemo(() => {
3187
3174
  // Users may optionally pass in a custom context instance to use instead of our ReactReduxContext.
3188
3175
  // Memoize the check that determines which context instance we should use.
3189
3176
  return propsContext && propsContext.Consumer && // @ts-ignore
3190
3177
  isContextConsumer( /*#__PURE__*/React.createElement(propsContext.Consumer, null)) ? propsContext : Context;
3191
3178
  }, [propsContext, Context]); // Retrieve the store and ancestor subscription via context, if available
3192
3179
 
3193
- const contextValue = React.useContext(ContextToUse); // The store _must_ exist as either a prop or in context.
3180
+ const contextValue = useContext(ContextToUse); // The store _must_ exist as either a prop or in context.
3194
3181
  // We'll check to see if it _looks_ like a Redux store first.
3195
3182
  // This allows us to pass through a `store` prop that is just a plain value.
3196
3183
 
@@ -3202,12 +3189,12 @@ function connect(mapStateToProps, mapDispatchToProps, mergeProps, {
3202
3189
 
3203
3190
  const store = didStoreComeFromProps ? props.store : contextValue.store;
3204
3191
  const getServerState = didStoreComeFromContext ? contextValue.getServerState : store.getState;
3205
- const childPropsSelector = React.useMemo(() => {
3192
+ const childPropsSelector = useMemo(() => {
3206
3193
  // The child props selector needs the store reference as an input.
3207
3194
  // Re-create this selector whenever the store changes.
3208
3195
  return defaultSelectorFactory(store.dispatch, selectorFactoryOptions);
3209
3196
  }, [store]);
3210
- const [subscription, notifyNestedSubs] = React.useMemo(() => {
3197
+ const [subscription, notifyNestedSubs] = useMemo(() => {
3211
3198
  if (!shouldHandleStateChanges) return NO_SUBSCRIPTION_ARRAY; // This Subscription's source should match where store came from: props vs. context. A component
3212
3199
  // connected to the store via props shouldn't use subscription from context, or vice versa.
3213
3200
 
@@ -3221,7 +3208,7 @@ function connect(mapStateToProps, mapDispatchToProps, mergeProps, {
3221
3208
  }, [store, didStoreComeFromProps, contextValue]); // Determine what {store, subscription} value should be put into nested context, if necessary,
3222
3209
  // and memoize that value to avoid unnecessary context updates.
3223
3210
 
3224
- const overriddenContextValue = React.useMemo(() => {
3211
+ const overriddenContextValue = useMemo(() => {
3225
3212
  if (didStoreComeFromProps) {
3226
3213
  // This component is directly subscribed to a store from props.
3227
3214
  // We don't want descendants reading from this store - pass down whatever
@@ -3236,20 +3223,20 @@ function connect(mapStateToProps, mapDispatchToProps, mergeProps, {
3236
3223
  });
3237
3224
  }, [didStoreComeFromProps, contextValue, subscription]); // Set up refs to coordinate values between the subscription effect and the render logic
3238
3225
 
3239
- const lastChildProps = React.useRef();
3240
- const lastWrapperProps = React.useRef(wrapperProps);
3241
- const childPropsFromStoreUpdate = React.useRef();
3242
- const renderIsScheduled = React.useRef(false);
3243
- const isProcessingDispatch = React.useRef(false);
3244
- const isMounted = React.useRef(false);
3245
- const latestSubscriptionCallbackError = React.useRef();
3226
+ const lastChildProps = useRef();
3227
+ const lastWrapperProps = useRef(wrapperProps);
3228
+ const childPropsFromStoreUpdate = useRef();
3229
+ const renderIsScheduled = useRef(false);
3230
+ const isProcessingDispatch = useRef(false);
3231
+ const isMounted = useRef(false);
3232
+ const latestSubscriptionCallbackError = useRef();
3246
3233
  useIsomorphicLayoutEffect(() => {
3247
3234
  isMounted.current = true;
3248
3235
  return () => {
3249
3236
  isMounted.current = false;
3250
3237
  };
3251
3238
  }, []);
3252
- const actualChildPropsSelector = React.useMemo(() => {
3239
+ const actualChildPropsSelector = useMemo(() => {
3253
3240
  const selector = () => {
3254
3241
  // Tricky logic here:
3255
3242
  // - This render may have been triggered by a Redux store update that produced new child props
@@ -3273,7 +3260,7 @@ function connect(mapStateToProps, mapDispatchToProps, mergeProps, {
3273
3260
  // about useLayoutEffect in SSR, so we try to detect environment and fall back to
3274
3261
  // just useEffect instead to avoid the warning, since neither will run anyway.
3275
3262
 
3276
- const subscribeForReact = React.useMemo(() => {
3263
+ const subscribeForReact = useMemo(() => {
3277
3264
  const subscribe = reactListener => {
3278
3265
  if (!subscription) {
3279
3266
  return () => {};
@@ -3309,7 +3296,7 @@ function connect(mapStateToProps, mapDispatchToProps, mergeProps, {
3309
3296
  }); // Now that all that's done, we can finally try to actually render the child component.
3310
3297
  // We memoize the elements for the rendered child component as an optimization.
3311
3298
 
3312
- const renderedWrappedComponent = React.useMemo(() => {
3299
+ const renderedWrappedComponent = useMemo(() => {
3313
3300
  return (
3314
3301
  /*#__PURE__*/
3315
3302
  // @ts-ignore
@@ -3320,7 +3307,7 @@ function connect(mapStateToProps, mapDispatchToProps, mergeProps, {
3320
3307
  }, [reactReduxForwardedRef, WrappedComponent, actualChildProps]); // If React sees the exact same element reference as last time, it bails out of re-rendering
3321
3308
  // that child, same as if it was wrapped in React.memo() or returned false from shouldComponentUpdate.
3322
3309
 
3323
- const renderedChild = React.useMemo(() => {
3310
+ const renderedChild = useMemo(() => {
3324
3311
  if (shouldHandleStateChanges) {
3325
3312
  // If this component is subscribed to store updates, we need to pass its own
3326
3313
  // subscription instance down to our descendants. That means rendering the same
@@ -3377,7 +3364,7 @@ function Provider({
3377
3364
  stabilityCheck = 'once',
3378
3365
  noopCheck = 'once'
3379
3366
  }) {
3380
- const contextValue = compat_module.useMemo(() => {
3367
+ const contextValue = (0,compat_module.useMemo)(() => {
3381
3368
  const subscription = Subscription_createSubscription(store);
3382
3369
  return {
3383
3370
  store,
@@ -3387,7 +3374,7 @@ function Provider({
3387
3374
  noopCheck
3388
3375
  };
3389
3376
  }, [store, serverState, stabilityCheck, noopCheck]);
3390
- const previousState = compat_module.useMemo(() => store.getState(), [store]);
3377
+ const previousState = (0,compat_module.useMemo)(() => store.getState(), [store]);
3391
3378
  useIsomorphicLayoutEffect_useIsomorphicLayoutEffect(() => {
3392
3379
  const {
3393
3380
  subscription
@@ -3406,7 +3393,7 @@ function Provider({
3406
3393
  }, [contextValue, previousState]);
3407
3394
  const Context = context || Context_ReactReduxContext; // @ts-ignore 'AnyAction' is assignable to the constraint of type 'A', but 'A' could be instantiated with a different subtype
3408
3395
 
3409
- return /*#__PURE__*/compat_module.createElement(Context.Provider, {
3396
+ return /*#__PURE__*/compat_module["default"].createElement(Context.Provider, {
3410
3397
  value: contextValue
3411
3398
  }, children);
3412
3399
  }
@@ -3415,11 +3402,11 @@ function Provider({
3415
3402
  ;// CONCATENATED MODULE: ./node_modules/react-redux/es/hooks/useStore.js
3416
3403
 
3417
3404
 
3418
- /**
3419
- * Hook factory, which creates a `useStore` hook bound to a given context.
3420
- *
3421
- * @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
3422
- * @returns {Function} A `useStore` hook bound to the specified context.
3405
+ /**
3406
+ * Hook factory, which creates a `useStore` hook bound to a given context.
3407
+ *
3408
+ * @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
3409
+ * @returns {Function} A `useStore` hook bound to the specified context.
3423
3410
  */
3424
3411
 
3425
3412
  function createStoreHook(context = Context_ReactReduxContext) {
@@ -3434,31 +3421,31 @@ function createStoreHook(context = Context_ReactReduxContext) {
3434
3421
  return store;
3435
3422
  };
3436
3423
  }
3437
- /**
3438
- * A hook to access the redux store.
3439
- *
3440
- * @returns {any} the redux store
3441
- *
3442
- * @example
3443
- *
3444
- * import React from 'react'
3445
- * import { useStore } from 'react-redux'
3446
- *
3447
- * export const ExampleComponent = () => {
3448
- * const store = useStore()
3449
- * return <div>{store.getState()}</div>
3450
- * }
3424
+ /**
3425
+ * A hook to access the redux store.
3426
+ *
3427
+ * @returns {any} the redux store
3428
+ *
3429
+ * @example
3430
+ *
3431
+ * import React from 'react'
3432
+ * import { useStore } from 'react-redux'
3433
+ *
3434
+ * export const ExampleComponent = () => {
3435
+ * const store = useStore()
3436
+ * return <div>{store.getState()}</div>
3437
+ * }
3451
3438
  */
3452
3439
 
3453
3440
  const useStore_useStore = /*#__PURE__*/createStoreHook();
3454
3441
  ;// CONCATENATED MODULE: ./node_modules/react-redux/es/hooks/useDispatch.js
3455
3442
 
3456
3443
 
3457
- /**
3458
- * Hook factory, which creates a `useDispatch` hook bound to a given context.
3459
- *
3460
- * @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
3461
- * @returns {Function} A `useDispatch` hook bound to the specified context.
3444
+ /**
3445
+ * Hook factory, which creates a `useDispatch` hook bound to a given context.
3446
+ *
3447
+ * @param {React.Context} [context=ReactReduxContext] Context passed to your `<Provider>`.
3448
+ * @returns {Function} A `useDispatch` hook bound to the specified context.
3462
3449
  */
3463
3450
 
3464
3451
  function createDispatchHook(context = Context_ReactReduxContext) {
@@ -3470,26 +3457,26 @@ function createDispatchHook(context = Context_ReactReduxContext) {
3470
3457
  return store.dispatch;
3471
3458
  };
3472
3459
  }
3473
- /**
3474
- * A hook to access the redux `dispatch` function.
3475
- *
3476
- * @returns {any|function} redux store's `dispatch` function
3477
- *
3478
- * @example
3479
- *
3480
- * import React, { useCallback } from 'react'
3481
- * import { useDispatch } from 'react-redux'
3482
- *
3483
- * export const CounterComponent = ({ value }) => {
3484
- * const dispatch = useDispatch()
3485
- * const increaseCounter = useCallback(() => dispatch({ type: 'increase-counter' }), [])
3486
- * return (
3487
- * <div>
3488
- * <span>{value}</span>
3489
- * <button onClick={increaseCounter}>Increase counter</button>
3490
- * </div>
3491
- * )
3492
- * }
3460
+ /**
3461
+ * A hook to access the redux `dispatch` function.
3462
+ *
3463
+ * @returns {any|function} redux store's `dispatch` function
3464
+ *
3465
+ * @example
3466
+ *
3467
+ * import React, { useCallback } from 'react'
3468
+ * import { useDispatch } from 'react-redux'
3469
+ *
3470
+ * export const CounterComponent = ({ value }) => {
3471
+ * const dispatch = useDispatch()
3472
+ * const increaseCounter = useCallback(() => dispatch({ type: 'increase-counter' }), [])
3473
+ * return (
3474
+ * <div>
3475
+ * <span>{value}</span>
3476
+ * <button onClick={increaseCounter}>Increase counter</button>
3477
+ * </div>
3478
+ * )
3479
+ * }
3493
3480
  */
3494
3481
 
3495
3482
  const useDispatch = /*#__PURE__*/createDispatchHook();
@@ -7934,8 +7921,8 @@ const storeSlice = createSlice({
7934
7921
  }).addCase(initializeApp.fulfilled, (state, {
7935
7922
  payload
7936
7923
  }) => {
7937
- if (!payload.initialState) return;
7938
7924
  state.isLoading = false;
7925
+ if (!payload.initialState) return;
7939
7926
  state.initialState = payload.initialState;
7940
7927
  }).addMatcher(isAnyOf(initIdleDetachCountdown, initResumeConversationPrompt), state => {
7941
7928
  state.isLastEventFromClient = false;