芝麻web文件管理V1.00
编辑当前文件:/home/royashxg/www/wp-content/plugins/elementor/assets/js/packages/store/store.js
/*! For license information please see store.js.LICENSE.txt */ !function(){"use strict";var e={"./node_modules/@elementor/store/node_modules/react-redux/es/components/Context.js":function(e,t,n){n.r(t),n.d(t,{ReactReduxContext:function(){return a}});var r=n("react");const o=Symbol.for("react-redux-context"),u="undefined"!=typeof globalThis?globalThis:{};function i(){var e;if(!r.createContext)return{};const t=null!=(e=u[o])?e:u[o]=new Map;let n=t.get(r.createContext);return n||(n=r.createContext(null),n.displayName="ReactRedux",t.set(r.createContext,n)),n}const a=i();t.default=a},"./node_modules/@elementor/store/node_modules/react-redux/es/components/Provider.js":function(e,t,n){n.r(t);var r=n("react"),o=n("./node_modules/@elementor/store/node_modules/react-redux/es/components/Context.js"),u=n("./node_modules/@elementor/store/node_modules/react-redux/es/utils/Subscription.js"),i=n("./node_modules/@elementor/store/node_modules/react-redux/es/utils/useIsomorphicLayoutEffect.js");t.default=function({store:e,context:t,children:n,serverState:a,stabilityCheck:c="once",noopCheck:s="once"}){const l=r.useMemo((()=>{const t=(0,u.createSubscription)(e);return{store:e,subscription:t,getServerState:a?()=>a:void 0,stabilityCheck:c,noopCheck:s}}),[e,a,c,s]),f=r.useMemo((()=>e.getState()),[e]);(0,i.useIsomorphicLayoutEffect)((()=>{const{subscription:t}=l;return t.onStateChange=t.notifyNestedSubs,t.trySubscribe(),f!==e.getState()&&t.notifyNestedSubs(),()=>{t.tryUnsubscribe(),t.onStateChange=void 0}}),[l,f]);const d=t||o.ReactReduxContext;return r.createElement(d.Provider,{value:l},n)}},"./node_modules/@elementor/store/node_modules/react-redux/es/components/connect.js":function(e,t,n){n.r(t),n.d(t,{initializeConnect:function(){return _}});var r=n("./node_modules/@babel/runtime/helpers/esm/extends.js"),o=n("./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js"),u=n("./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js"),i=n.n(u),a=n("react"),c=n("./node_modules/react-is/index.js"),s=n("./node_modules/@elementor/store/node_modules/react-redux/es/connect/selectorFactory.js"),l=n("./node_modules/@elementor/store/node_modules/react-redux/es/connect/mapDispatchToProps.js"),f=n("./node_modules/@elementor/store/node_modules/react-redux/es/connect/mapStateToProps.js"),d=n("./node_modules/@elementor/store/node_modules/react-redux/es/connect/mergeProps.js"),p=n("./node_modules/@elementor/store/node_modules/react-redux/es/utils/Subscription.js"),m=n("./node_modules/@elementor/store/node_modules/react-redux/es/utils/useIsomorphicLayoutEffect.js"),h=n("./node_modules/@elementor/store/node_modules/react-redux/es/utils/shallowEqual.js"),y=n("./node_modules/@elementor/store/node_modules/react-redux/es/utils/warning.js"),v=n("./node_modules/@elementor/store/node_modules/react-redux/es/components/Context.js"),b=n("./node_modules/@elementor/store/node_modules/react-redux/es/utils/useSyncExternalStore.js");const g=["reactReduxForwardedRef"];let w=b.notInitialized;const _=e=>{w=e},S=[null,null];function j(e,t,n,r,o,u){e.current=r,n.current=!1,o.current&&(o.current=null,u())}function x(e,t){return e===t}let O=!1;t.default=function(e,t,n,{pure:u,areStatesEqual:b=x,areOwnPropsEqual:_=h.default,areStatePropsEqual:P=h.default,areMergedPropsEqual:E=h.default,forwardRef:A=!1,context:k=v.ReactReduxContext}={}){void 0===u||O||(O=!0,(0,y.default)('The `pure` option has been removed. `connect` is now always a "pure/memoized" component'));const C=k,T=(0,f.mapStateToPropsFactory)(e),R=(0,l.mapDispatchToPropsFactory)(t),M=(0,d.mergePropsFactory)(n),I=Boolean(e);return e=>{if(!(0,c.isValidElementType)(e))throw new Error(`You must pass a component to the function returned by connect. Instead received ${(e=>{try{return JSON.stringify(e)}catch(t){return String(e)}})(e)}`);const t=e.displayName||e.name||"Component",n=`Connect(${t})`,u={shouldHandleStateChanges:I,displayName:n,wrappedComponentName:t,WrappedComponent:e,initMapStateToProps:T,initMapDispatchToProps:R,initMergeProps:M,areStatesEqual:b,areStatePropsEqual:P,areOwnPropsEqual:_,areMergedPropsEqual:E};function l(t){const[i,l,f]=a.useMemo((()=>{const{reactReduxForwardedRef:e}=t,n=(0,o.default)(t,g);return[t.context,e,n]}),[t]),d=a.useMemo((()=>i&&i.Consumer&&(0,c.isContextConsumer)(a.createElement(i.Consumer,null))?i:C),[i,C]),h=a.useContext(d),y=Boolean(t.store)&&Boolean(t.store.getState)&&Boolean(t.store.dispatch),v=Boolean(h)&&Boolean(h.store);if(!y&&!v)throw new Error(`Could not find "store" in the context of "${n}". Either wrap the root component in a
, or pass a custom React context provider to
and the corresponding React context consumer to ${n} in connect options.`);const b=y?t.store:h.store,_=v?h.getServerState:b.getState,x=a.useMemo((()=>(0,s.default)(b.dispatch,u)),[b]),[O,P]=a.useMemo((()=>{if(!I)return S;const e=(0,p.createSubscription)(b,y?void 0:h.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[b,y,h]),E=a.useMemo((()=>y?h:(0,r.default)({},h,{subscription:O})),[y,h,O]),A=a.useRef(),k=a.useRef(f),T=a.useRef(),R=a.useRef(!1),M=(a.useRef(!1),a.useRef(!1)),D=a.useRef();(0,m.useIsomorphicLayoutEffect)((()=>(M.current=!0,()=>{M.current=!1})),[]);const L=a.useMemo((()=>()=>T.current&&f===k.current?T.current:x(b.getState(),f)),[b,f]),N=a.useMemo((()=>e=>O?function(e,t,n,r,o,u,i,a,c,s,l){if(!e)return()=>{};let f=!1,d=null;const p=()=>{if(f||!a.current)return;const e=t.getState();let n,p;try{n=r(e,o.current)}catch(e){p=e,d=e}p||(d=null),n===u.current?i.current||s():(u.current=n,c.current=n,i.current=!0,l())};return n.onStateChange=p,n.trySubscribe(),p(),()=>{if(f=!0,n.tryUnsubscribe(),n.onStateChange=null,d)throw d}}(I,b,O,x,k,A,R,M,T,P,e):()=>{}),[O]);var z,$;let F;z=j,$=[k,A,R,f,T,P],(0,m.useIsomorphicLayoutEffect)((()=>z(...$)),undefined);try{F=w(N,L,_?()=>x(_(),f):L)}catch(e){throw D.current&&(e.message+=`\nThe error may be correlated with this previous error:\n${D.current.stack}\n\n`),e}(0,m.useIsomorphicLayoutEffect)((()=>{D.current=void 0,T.current=void 0,A.current=F}));const q=a.useMemo((()=>a.createElement(e,(0,r.default)({},F,{ref:l}))),[l,e,F]);return a.useMemo((()=>I?a.createElement(d.Provider,{value:E},q):q),[d,q,E])}const f=a.memo(l);if(f.WrappedComponent=e,f.displayName=l.displayName=n,A){const t=a.forwardRef((function(e,t){return a.createElement(f,(0,r.default)({},e,{reactReduxForwardedRef:t}))}));return t.displayName=n,t.WrappedComponent=e,i()(t,e)}return i()(f,e)}}},"./node_modules/@elementor/store/node_modules/react-redux/es/connect/invalidArgFactory.js":function(e,t,n){function r(e,t){return(n,r)=>{throw new Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${r.wrappedComponentName}.`)}}n.r(t),n.d(t,{createInvalidArgFactory:function(){return r}})},"./node_modules/@elementor/store/node_modules/react-redux/es/connect/mapDispatchToProps.js":function(e,t,n){n.r(t),n.d(t,{mapDispatchToPropsFactory:function(){return i}});var r=n("./node_modules/@elementor/store/node_modules/react-redux/es/utils/bindActionCreators.js"),o=n("./node_modules/@elementor/store/node_modules/react-redux/es/connect/wrapMapToProps.js"),u=n("./node_modules/@elementor/store/node_modules/react-redux/es/connect/invalidArgFactory.js");function i(e){return e&&"object"==typeof e?(0,o.wrapMapToPropsConstant)((t=>(0,r.default)(e,t))):e?"function"==typeof e?(0,o.wrapMapToPropsFunc)(e,"mapDispatchToProps"):(0,u.createInvalidArgFactory)(e,"mapDispatchToProps"):(0,o.wrapMapToPropsConstant)((e=>({dispatch:e})))}},"./node_modules/@elementor/store/node_modules/react-redux/es/connect/mapStateToProps.js":function(e,t,n){n.r(t),n.d(t,{mapStateToPropsFactory:function(){return u}});var r=n("./node_modules/@elementor/store/node_modules/react-redux/es/connect/wrapMapToProps.js"),o=n("./node_modules/@elementor/store/node_modules/react-redux/es/connect/invalidArgFactory.js");function u(e){return e?"function"==typeof e?(0,r.wrapMapToPropsFunc)(e,"mapStateToProps"):(0,o.createInvalidArgFactory)(e,"mapStateToProps"):(0,r.wrapMapToPropsConstant)((()=>({})))}},"./node_modules/@elementor/store/node_modules/react-redux/es/connect/mergeProps.js":function(e,t,n){n.r(t),n.d(t,{defaultMergeProps:function(){return i},mergePropsFactory:function(){return c},wrapMergePropsFunc:function(){return a}});var r=n("./node_modules/@babel/runtime/helpers/esm/extends.js"),o=n("./node_modules/@elementor/store/node_modules/react-redux/es/utils/verifyPlainObject.js"),u=n("./node_modules/@elementor/store/node_modules/react-redux/es/connect/invalidArgFactory.js");function i(e,t,n){return(0,r.default)({},n,e,t)}function a(e){return function(t,{displayName:n,areMergedPropsEqual:r}){let u,i=!1;return function(t,a,c){const s=e(t,a,c);return i?r(s,u)||(u=s):(i=!0,u=s,(0,o.default)(u,n,"mergeProps")),u}}}function c(e){return e?"function"==typeof e?a(e):(0,u.createInvalidArgFactory)(e,"mergeProps"):()=>i}},"./node_modules/@elementor/store/node_modules/react-redux/es/connect/selectorFactory.js":function(e,t,n){n.r(t),n.d(t,{default:function(){return a},pureFinalPropsSelectorFactory:function(){return i}});var r=n("./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js"),o=n("./node_modules/@elementor/store/node_modules/react-redux/es/connect/verifySubselectors.js");const u=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function i(e,t,n,r,{areStatesEqual:o,areOwnPropsEqual:u,areStatePropsEqual:i}){let a,c,s,l,f,d=!1;return function(p,m){return d?function(d,p){const m=!u(p,c),h=!o(d,a,p,c);return a=d,c=p,m&&h?(s=e(a,c),t.dependsOnOwnProps&&(l=t(r,c)),f=n(s,l,c),f):m?(e.dependsOnOwnProps&&(s=e(a,c)),t.dependsOnOwnProps&&(l=t(r,c)),f=n(s,l,c),f):h?function(){const t=e(a,c),r=!i(t,s);return s=t,r&&(f=n(s,l,c)),f}():f}(p,m):(a=p,c=m,s=e(a,c),l=t(r,c),f=n(s,l,c),d=!0,f)}}function a(e,t){let{initMapStateToProps:n,initMapDispatchToProps:a,initMergeProps:c}=t,s=(0,r.default)(t,u);const l=n(e,s),f=a(e,s),d=c(e,s);return(0,o.default)(l,f,d),i(l,f,d,e,s)}},"./node_modules/@elementor/store/node_modules/react-redux/es/connect/verifySubselectors.js":function(e,t,n){n.r(t),n.d(t,{default:function(){return u}});var r=n("./node_modules/@elementor/store/node_modules/react-redux/es/utils/warning.js");function o(e,t){if(!e)throw new Error(`Unexpected value for ${t} in connect.`);"mapStateToProps"!==t&&"mapDispatchToProps"!==t||Object.prototype.hasOwnProperty.call(e,"dependsOnOwnProps")||(0,r.default)(`The selector for ${t} of connect did not specify a value for dependsOnOwnProps.`)}function u(e,t,n){o(e,"mapStateToProps"),o(t,"mapDispatchToProps"),o(n,"mergeProps")}},"./node_modules/@elementor/store/node_modules/react-redux/es/connect/wrapMapToProps.js":function(e,t,n){n.r(t),n.d(t,{getDependsOnOwnProps:function(){return u},wrapMapToPropsConstant:function(){return o},wrapMapToPropsFunc:function(){return i}});var r=n("./node_modules/@elementor/store/node_modules/react-redux/es/utils/verifyPlainObject.js");function o(e){return function(t){const n=e(t);function r(){return n}return r.dependsOnOwnProps=!1,r}}function u(e){return e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function i(e,t){return function(n,{displayName:o}){const i=function(e,t){return i.dependsOnOwnProps?i.mapToProps(e,t):i.mapToProps(e,void 0)};return i.dependsOnOwnProps=!0,i.mapToProps=function(n,a){i.mapToProps=e,i.dependsOnOwnProps=u(e);let c=i(n,a);return"function"==typeof c&&(i.mapToProps=c,i.dependsOnOwnProps=u(c),c=i(n,a)),(0,r.default)(c,o,t),c},i}}},"./node_modules/@elementor/store/node_modules/react-redux/es/exports.js":function(e,t,n){n.r(t),n.d(t,{Provider:function(){return r.default},ReactReduxContext:function(){return u.ReactReduxContext},connect:function(){return o.default},createDispatchHook:function(){return i.createDispatchHook},createSelectorHook:function(){return a.createSelectorHook},createStoreHook:function(){return c.createStoreHook},shallowEqual:function(){return s.default},useDispatch:function(){return i.useDispatch},useSelector:function(){return a.useSelector},useStore:function(){return c.useStore}});var r=n("./node_modules/@elementor/store/node_modules/react-redux/es/components/Provider.js"),o=n("./node_modules/@elementor/store/node_modules/react-redux/es/components/connect.js"),u=n("./node_modules/@elementor/store/node_modules/react-redux/es/components/Context.js"),i=n("./node_modules/@elementor/store/node_modules/react-redux/es/hooks/useDispatch.js"),a=n("./node_modules/@elementor/store/node_modules/react-redux/es/hooks/useSelector.js"),c=n("./node_modules/@elementor/store/node_modules/react-redux/es/hooks/useStore.js"),s=n("./node_modules/@elementor/store/node_modules/react-redux/es/utils/shallowEqual.js");n("./node_modules/@elementor/store/node_modules/react-redux/es/types.js")},"./node_modules/@elementor/store/node_modules/react-redux/es/hooks/useDispatch.js":function(e,t,n){n.r(t),n.d(t,{createDispatchHook:function(){return u},useDispatch:function(){return i}});var r=n("./node_modules/@elementor/store/node_modules/react-redux/es/components/Context.js"),o=n("./node_modules/@elementor/store/node_modules/react-redux/es/hooks/useStore.js");function u(e=r.ReactReduxContext){const t=e===r.ReactReduxContext?o.useStore:(0,o.createStoreHook)(e);return function(){return t().dispatch}}const i=u()},"./node_modules/@elementor/store/node_modules/react-redux/es/hooks/useReduxContext.js":function(e,t,n){n.r(t),n.d(t,{createReduxContextHook:function(){return u},useReduxContext:function(){return i}});var r=n("react"),o=n("./node_modules/@elementor/store/node_modules/react-redux/es/components/Context.js");function u(e=o.ReactReduxContext){return function(){const t=(0,r.useContext)(e);if(!t)throw new Error("could not find react-redux context value; please ensure the component is wrapped in a
");return t}}const i=u()},"./node_modules/@elementor/store/node_modules/react-redux/es/hooks/useSelector.js":function(e,t,n){n.r(t),n.d(t,{createSelectorHook:function(){return s},initializeUseSelector:function(){return a},useSelector:function(){return l}});var r=n("react"),o=n("./node_modules/@elementor/store/node_modules/react-redux/es/hooks/useReduxContext.js"),u=n("./node_modules/@elementor/store/node_modules/react-redux/es/components/Context.js");let i=n("./node_modules/@elementor/store/node_modules/react-redux/es/utils/useSyncExternalStore.js").notInitialized;const a=e=>{i=e},c=(e,t)=>e===t;function s(e=u.ReactReduxContext){const t=e===u.ReactReduxContext?o.useReduxContext:(0,o.createReduxContextHook)(e);return function(e,n={}){const{equalityFn:o=c,stabilityCheck:u,noopCheck:a}="function"==typeof n?{equalityFn:n}:n;if(!e)throw new Error("You must pass a selector to useSelector");if("function"!=typeof e)throw new Error("You must pass a function as a selector to useSelector");if("function"!=typeof o)throw new Error("You must pass a function as an equality function to useSelector");const{store:s,subscription:l,getServerState:f,stabilityCheck:d,noopCheck:p}=t(),m=(0,r.useRef)(!0),h=(0,r.useCallback)({[e.name](t){const n=e(t);{const r=void 0===u?d:u;if("always"===r||"once"===r&&m.current){const r=e(t);if(!o(n,r)){let o;try{throw new Error}catch(e){({stack:o}=e)}console.warn("Selector "+(e.name||"unknown")+" returned a different result when called with the same parameters. This can lead to unnecessary rerenders.\nSelectors that return a new reference (such as an object or an array) should be memoized: https://redux.js.org/usage/deriving-data-selectors#optimizing-selectors-with-memoization",{state:t,selected:n,selected2:r,stack:o})}}const i=void 0===a?p:a;if(("always"===i||"once"===i&&m.current)&&n===t){let t;try{throw new Error}catch(e){({stack:t}=e)}console.warn("Selector "+(e.name||"unknown")+" returned the root state when called. This can lead to unnecessary rerenders.\nSelectors that return the entire state are almost certainly a mistake, as they will cause a rerender whenever *anything* in state changes.",{stack:t})}m.current&&(m.current=!1)}return n}}[e.name],[e,d,u]),y=i(l.addNestedSub,s.getState,f||s.getState,h,o);return(0,r.useDebugValue)(y),y}}const l=s()},"./node_modules/@elementor/store/node_modules/react-redux/es/hooks/useStore.js":function(e,t,n){n.r(t),n.d(t,{createStoreHook:function(){return u},useStore:function(){return i}});var r=n("./node_modules/@elementor/store/node_modules/react-redux/es/components/Context.js"),o=n("./node_modules/@elementor/store/node_modules/react-redux/es/hooks/useReduxContext.js");function u(e=r.ReactReduxContext){const t=e===r.ReactReduxContext?o.useReduxContext:(0,o.createReduxContextHook)(e);return function(){const{store:e}=t();return e}}const i=u()},"./node_modules/@elementor/store/node_modules/react-redux/es/index.js":function(e,t,n){n.r(t),n.d(t,{Provider:function(){return s.Provider},ReactReduxContext:function(){return s.ReactReduxContext},batch:function(){return u.unstable_batchedUpdates},connect:function(){return s.connect},createDispatchHook:function(){return s.createDispatchHook},createSelectorHook:function(){return s.createSelectorHook},createStoreHook:function(){return s.createStoreHook},shallowEqual:function(){return s.shallowEqual},useDispatch:function(){return s.useDispatch},useSelector:function(){return s.useSelector},useStore:function(){return s.useStore}});var r=n("./node_modules/use-sync-external-store/shim/index.js"),o=n("./node_modules/use-sync-external-store/shim/with-selector.js"),u=n("./node_modules/@elementor/store/node_modules/react-redux/es/utils/reactBatchedUpdates.js"),i=n("./node_modules/@elementor/store/node_modules/react-redux/es/utils/batch.js"),a=n("./node_modules/@elementor/store/node_modules/react-redux/es/hooks/useSelector.js"),c=n("./node_modules/@elementor/store/node_modules/react-redux/es/components/connect.js"),s=n("./node_modules/@elementor/store/node_modules/react-redux/es/exports.js");(0,a.initializeUseSelector)(o.useSyncExternalStoreWithSelector),(0,c.initializeConnect)(r.useSyncExternalStore),(0,i.setBatch)(u.unstable_batchedUpdates)},"./node_modules/@elementor/store/node_modules/react-redux/es/types.js":function(e,t,n){n.r(t)},"./node_modules/@elementor/store/node_modules/react-redux/es/utils/Subscription.js":function(e,t,n){n.r(t),n.d(t,{createSubscription:function(){return u}});var r=n("./node_modules/@elementor/store/node_modules/react-redux/es/utils/batch.js");const o={notify(){},get:()=>[]};function u(e,t){let n,u=o,i=0,a=!1;function c(){f.onStateChange&&f.onStateChange()}function s(){i++,n||(n=t?t.addNestedSub(c):e.subscribe(c),u=function(){const e=(0,r.getBatch)();let t=null,n=null;return{clear(){t=null,n=null},notify(){e((()=>{let e=t;for(;e;)e.callback(),e=e.next}))},get(){let e=[],n=t;for(;n;)e.push(n),n=n.next;return e},subscribe(e){let r=!0,o=n={callback:e,next:null,prev:n};return o.prev?o.prev.next=o:t=o,function(){r&&null!==t&&(r=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}())}function l(){i--,n&&0===i&&(n(),n=void 0,u.clear(),u=o)}const f={addNestedSub:function(e){s();const t=u.subscribe(e);let n=!1;return()=>{n||(n=!0,t(),l())}},notifyNestedSubs:function(){u.notify()},handleChangeWrapper:c,isSubscribed:function(){return a},trySubscribe:function(){a||(a=!0,s())},tryUnsubscribe:function(){a&&(a=!1,l())},getListeners:()=>u};return f}},"./node_modules/@elementor/store/node_modules/react-redux/es/utils/batch.js":function(e,t,n){n.r(t),n.d(t,{getBatch:function(){return u},setBatch:function(){return o}});let r=function(e){e()};const o=e=>r=e,u=()=>r},"./node_modules/@elementor/store/node_modules/react-redux/es/utils/bindActionCreators.js":function(e,t,n){function r(e,t){const n={};for(const r in e){const o=e[r];"function"==typeof o&&(n[r]=(...e)=>t(o(...e)))}return n}n.r(t),n.d(t,{default:function(){return r}})},"./node_modules/@elementor/store/node_modules/react-redux/es/utils/isPlainObject.js":function(e,t,n){function r(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);if(null===t)return!0;let n=t;for(;null!==Object.getPrototypeOf(n);)n=Object.getPrototypeOf(n);return t===n}n.r(t),n.d(t,{default:function(){return r}})},"./node_modules/@elementor/store/node_modules/react-redux/es/utils/reactBatchedUpdates.js":function(e,t,n){n.r(t),n.d(t,{unstable_batchedUpdates:function(){return r.unstable_batchedUpdates}});var r=n("react-dom")},"./node_modules/@elementor/store/node_modules/react-redux/es/utils/shallowEqual.js":function(e,t,n){function r(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function o(e,t){if(r(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;const n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(let o=0;o
{throw new Error("uSES not initialized!")}},"./node_modules/@elementor/store/node_modules/react-redux/es/utils/verifyPlainObject.js":function(e,t,n){n.r(t),n.d(t,{default:function(){return u}});var r=n("./node_modules/@elementor/store/node_modules/react-redux/es/utils/isPlainObject.js"),o=n("./node_modules/@elementor/store/node_modules/react-redux/es/utils/warning.js");function u(e,t,n){(0,r.default)(e)||(0,o.default)(`${n}() in ${t} must return a plain object. Instead received ${e}.`)}},"./node_modules/@elementor/store/node_modules/react-redux/es/utils/warning.js":function(e,t,n){function r(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e);try{throw new Error(e)}catch(e){}}n.r(t),n.d(t,{default:function(){return r}})},"./node_modules/@reduxjs/toolkit/dist/redux-toolkit.esm.js":function(e,t,n){n.r(t),n.d(t,{EnhancerArray:function(){return I},MiddlewareArray:function(){return M},SHOULD_AUTOBATCH:function(){return ut},TaskAbortError:function(){return ze},__DO_NOT_USE__ActionTypes:function(){return u.__DO_NOT_USE__ActionTypes},addListener:function(){return Ze},applyMiddleware:function(){return u.applyMiddleware},autoBatchEnhancer:function(){return lt},bindActionCreators:function(){return u.bindActionCreators},clearAllListeners:function(){return et},combineReducers:function(){return u.combineReducers},compose:function(){return u.compose},configureStore:function(){return J},createAction:function(){return O},createActionCreatorInvariantMiddleware:function(){return T},createAsyncThunk:function(){return me},createDraftSafeSelector:function(){return _},createEntityAdapter:function(){return ce},createImmutableStateInvariantMiddleware:function(){return U},createListenerMiddleware:function(){return rt},createNextState:function(){return o.default},createReducer:function(){return ee},createSelector:function(){return i.createSelector},createSerializableStateInvariantMiddleware:function(){return K},createSlice:function(){return ne},createStore:function(){return u.createStore},current:function(){return o.current},findNonSerializableValue:function(){return H},freeze:function(){return o.freeze},getDefaultMiddleware:function(){return Y},getType:function(){return C},isAction:function(){return P},isActionCreator:function(){return E},isAllOf:function(){return be},isAnyOf:function(){return ve},isAsyncThunkAction:function(){return Oe},isDraft:function(){return o.isDraft},isFluxStandardAction:function(){return A},isFulfilled:function(){return xe},isImmutableDefault:function(){return $},isPending:function(){return _e},isPlain:function(){return V},isPlainObject:function(){return j},isRejected:function(){return Se},isRejectedWithValue:function(){return je},legacy_createStore:function(){return u.legacy_createStore},miniSerializeError:function(){return pe},nanoid:function(){return se},original:function(){return o.original},prepareAutoBatched:function(){return it},removeListener:function(){return tt},unwrapResult:function(){return he}});var r,o=n("./node_modules/@reduxjs/toolkit/node_modules/immer/dist/immer.esm.mjs"),u=n("./node_modules/redux/es/redux.js"),i=n("./node_modules/reselect/es/index.js"),a=n("./node_modules/redux-thunk/es/index.js"),c=(r=function(e,t){return r=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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=function(e,t){var n,r,o,u,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return u={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u;function a(u){return function(a){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return i.label++,{value:u[1],done:!1};case 5:i.label++,r=u[1],u=[0];continue;case 7:u=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==u[0]&&2!==u[0])){i=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]
-1}function C(e){return""+e}function T(e){void 0===e&&(e={});var t=e.isActionCreator,n=void 0===t?E:t;return function(){return function(e){return function(t){var r,o,u;return n(t)&&console.warn('Detected an action creator with type "'+((r=t.type)||"unknown")+"\" being dispatched. \nMake sure you're calling the action creator before dispatching, i.e. `dispatch("+(u=(o=r?(""+r).split("/"):[])[o.length-1]||"actionCreator")+"())` instead of `dispatch("+u+")`. This is necessary even if the action has no payload."),e(t)}}}}function R(e,t){var n=0;return{measureTime:function(e){var t=Date.now();try{return e()}finally{var r=Date.now();n+=r-t}},warnIfExceeded:function(){n>e&&console.warn(t+" took "+n+"ms, which is more than the warning threshold of "+e+"ms. \nIf your state or actions are very large, you may want to disable the middleware as it might cause too much of a slowdown in development mode. See https://redux-toolkit.js.org/api/getDefaultMiddleware for instructions.\nIt is disabled in production builds, so you don't need to worry about that.")}}}var M=function(e){function t(){for(var n=[],r=0;r
0,f=function(o){var i=u?u+"."+o:o;if(l&&t.some((function(e){return e instanceof RegExp?e.test(i):i===e})))return"continue";var c=B(e,t,n.children[o],r[o],a,i);return c.wasMutated?{value:c}:void 0};for(var s in c){var d=f(s);if("object"==typeof d)return d.value}return{wasMutated:!1}}function U(e){void 0===e&&(e={});var t=e.isImmutable,n=void 0===t?$:t,r=e.ignoredPaths,o=e.warnAfter,u=void 0===o?32:o,i=e.ignore;r=r||i;var a=F.bind(null,n,r);return function(e){var t,n=e.getState,r=n(),o=a(r);return function(e){return function(i){var c=R(u,"ImmutableStateInvariantMiddleware");c.measureTime((function(){r=n(),t=o.detectMutations(),o=a(r),z(!t.wasMutated,"A state mutation was detected between dispatches, in the path '"+(t.path||"")+"'. This may cause incorrect behavior. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)")}));var s=e(i);return c.measureTime((function(){var e,u,c,s;r=n(),t=o.detectMutations(),o=a(r),t.wasMutated&&z(!t.wasMutated,"A state mutation was detected inside a dispatch, in the path: "+(t.path||"")+". Take a look at the reducer(s) handling the action "+(e=i,JSON.stringify(e,function(e,t){var n=[],r=[];return t||(t=function(e,t){return n[0]===t?"[Circular ~]":"[Circular ~."+r.slice(0,n.indexOf(t)).join(".")+"]"}),function(o,u){if(n.length>0){var i=n.indexOf(this);~i?n.splice(i+1):n.push(this),~i?r.splice(i,1/0,o):r.push(o),~n.indexOf(u)&&(u=t.call(this,o,u))}else n.push(u);return null==e?u:e.call(this,o,u)}}(u,s),c)+". (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)"))})),c.warnIfExceeded(),s}}}}function V(e){var t=typeof e;return null==e||"string"===t||"boolean"===t||"number"===t||Array.isArray(e)||j(e)}function H(e,t,n,r,o,u){var i;if(void 0===t&&(t=""),void 0===n&&(n=V),void 0===o&&(o=[]),!n(e))return{keyPath:t||"
",value:e};if("object"!=typeof e||null===e)return!1;if(null==u?void 0:u.has(e))return!1;for(var a=null!=r?r(e):Object.entries(e),c=o.length>0,s=function(e,a){var s=t?t+"."+e:e;return c&&o.some((function(e){return e instanceof RegExp?e.test(s):s===e}))?"continue":n(a)?"object"==typeof a&&(i=H(a,s,n,r,o,u))?{value:i}:void 0:{value:{keyPath:s,value:a}}},l=0,f=a;l
0)throw new Error("`builder.addCase` should only be called before calling `builder.addMatcher`");if(t)throw new Error("`builder.addCase` should only be called before calling `builder.addDefaultCase`");var i="string"==typeof e?e:e.type;if(!i)throw new Error("`builder.addCase` cannot be called with an empty action type");if(i in n)throw new Error("`builder.addCase` cannot be called with two reducers for the same action type");return n[i]=u,o},addMatcher:function(e,n){if(t)throw new Error("`builder.addMatcher` should only be called before calling `builder.addDefaultCase`");return r.push({matcher:e,reducer:n}),o},addDefaultCase:function(e){if(t)throw new Error("`builder.addDefaultCase` can only be called once");return t=e,o}};return e(o),[n,r,t]}var Z=!1;function ee(e,t,n,r){void 0===n&&(n=[]),"object"==typeof t&&(Z||(Z=!0,console.warn("The object notation for `createReducer` is deprecated, and will be removed in RTK 2.0. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createReducer")));var u,i="function"==typeof t?Q(t):[t,n,r],a=i[0],c=i[1],s=i[2];if("function"==typeof e)u=function(){return D(e())};else{var f=D(e);u=function(){return f}}function d(e,t){void 0===e&&(e=u());var n=l([a[t.type]],c.filter((function(e){return(0,e.matcher)(t)})).map((function(e){return e.reducer})));return 0===n.filter((function(e){return!!e})).length&&(n=[s]),n.reduce((function(e,n){if(n){var r;if((0,o.isDraft)(e))return void 0===(r=n(e,t))?e:r;if((0,o.isDraftable)(e))return(0,o.default)(e,(function(e){return n(e,t)}));if(void 0===(r=n(e,t))){if(null===e)return e;throw Error("A case reducer on a non-draftable value must not return undefined")}return r}return e}),e)}return d.getInitialState=u,d}var te=!1;function ne(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");"undefined"!=typeof process&&void 0===e.initialState&&console.error("You must provide an `initialState` value that is not `undefined`. You may have misspelled `initialState`");var n,r="function"==typeof e.initialState?e.initialState:D(e.initialState),o=e.reducers||{},u=Object.keys(o),i={},a={},c={};function s(){"object"==typeof e.extraReducers&&(te||(te=!0,console.warn("The object notation for `createSlice.extraReducers` is deprecated, and will be removed in RTK 2.0. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createSlice")));var t="function"==typeof e.extraReducers?Q(e.extraReducers):[e.extraReducers],n=t[0],o=void 0===n?{}:n,u=t[1],i=void 0===u?[]:u,c=t[2],s=void 0===c?void 0:c,l=b(b({},o),a);return ee(r,(function(e){for(var t in l)e.addCase(t,l[t]);for(var n=0,r=i;n
0){var u=t.filter((function(t){return function(t,n,r){var o=r.entities[n.id],u=Object.assign({},o,n.changes),i=oe(u,e),a=i!==n.id;return a&&(t[n.id]=i,delete r.entities[n.id]),r.entities[i]=u,a}(r,t,n)})).length>0;u&&(n.ids=Object.keys(n.entities))}}function i(t,r){var o=ie(t,e,r),i=o[0];u(o[1],r),n(i,r)}return{removeAll:(a=function(e){Object.assign(e,{ids:[],entities:{}})},c=re((function(e,t){return a(t)})),function(e){return c(e,void 0)}),addOne:re(t),addMany:re(n),setOne:re(r),setMany:re((function(e,t){for(var n=0,o=e=ue(e);n
-1;return n&&r}function we(e){return"function"==typeof e[0]&&"pending"in e[0]&&"fulfilled"in e[0]&&"rejected"in e[0]}function _e(){for(var e=[],t=0;t
0)for(var d=e.getState(),p=Array.from(n.values()),m=0,h=p;m
0?"Unexpected "+(s.length>1?"keys":"key")+' "'+s.join('", "')+'" found in '+u+'. Expected to find one of the known reducer keys instead: "'+o.join('", "')+'". Unexpected keys will be ignored.':void 0}(e,n,t,u);r&&f(r);for(var o=!1,d={},p=0;p
-1){var u=n[o];return o>0&&(n.splice(o,1),n.unshift(u)),u.value}return r}return{get:o,put:function(t,u){o(t)===r&&(n.unshift({key:t,value:u}),n.length>e&&n.pop())},getEntries:function(){return n},clear:function(){n=[]}}}(f,p);function h(){var t=m.get(arguments);if(t===r){if(t=e.apply(null,arguments),d){var n=m.getEntries().find((function(e){return d(e.value,t)}));n&&(t=n.value)}m.put(arguments,t)}return t}return h.clearCache=function(){return m.clear()},h}},"./node_modules/reselect/es/index.js":function(e,t,n){n.r(t),n.d(t,{createSelector:function(){return u},createSelectorCreator:function(){return o},createStructuredSelector:function(){return i},defaultEqualityCheck:function(){return r.defaultEqualityCheck},defaultMemoize:function(){return r.defaultMemoize}});var r=n("./node_modules/reselect/es/defaultMemoize.js");function o(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r
1?t-1:0),o=1;o
=0||(o[n]=e[n]);return o}n.r(t),n.d(t,{default:function(){return r}})},"./node_modules/@babel/runtime/helpers/esm/toPrimitive.js":function(e,t,n){n.r(t),n.d(t,{default:function(){return o}});var r=n("./node_modules/@babel/runtime/helpers/esm/typeof.js");function o(e,t){if("object"!=(0,r.default)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=(0,r.default)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}},"./node_modules/@babel/runtime/helpers/esm/toPropertyKey.js":function(e,t,n){n.r(t),n.d(t,{default:function(){return u}});var r=n("./node_modules/@babel/runtime/helpers/esm/typeof.js"),o=n("./node_modules/@babel/runtime/helpers/esm/toPrimitive.js");function u(e){var t=(0,o.default)(e,"string");return"symbol"==(0,r.default)(t)?t:String(t)}},"./node_modules/@babel/runtime/helpers/esm/typeof.js":function(e,t,n){function r(e){return r="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},r(e)}n.r(t),n.d(t,{default:function(){return r}})},"./node_modules/@reduxjs/toolkit/node_modules/immer/dist/immer.esm.mjs":function(e,t,n){function r(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r
3?t.i-4:t.i:Array.isArray(e)?1:p(e)?2:m(e)?3:0}function s(e,t){return 2===c(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function l(e,t){return 2===c(e)?e.get(t):e[t]}function f(e,t,n){var r=c(e);2===r?e.set(t,n):3===r?e.add(n):e[t]=n}function d(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function p(e){return G&&e instanceof Map}function m(e){return Y&&e instanceof Set}function h(e){return e.o||e.t}function y(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=oe(e);delete t[Z];for(var n=re(t),r=0;r
1&&(e.set=e.add=e.clear=e.delete=b),Object.freeze(e),t&&a(e,(function(e,t){return v(t,!0)}),!0)),e}function b(){r(2)}function g(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function w(e){var t=ue[e];return t||r(18,e),t}function _(e,t){ue[e]||(ue[e]=t)}function S(){return W||r(0),W}function j(e,t){t&&(w("Patches"),e.u=[],e.s=[],e.v=t)}function x(e){O(e),e.p.forEach(E),e.p=null}function O(e){e===W&&(W=e.l)}function P(e){return W={p:[],l:W,h:e,m:!0,_:0}}function E(e){var t=e[Z];0===t.i||1===t.i?t.j():t.g=!0}function A(e,t){t._=t.p.length;var n=t.p[0],o=void 0!==e&&e!==n;return t.h.O||w("ES5").S(t,e,o),o?(n[Z].P&&(x(t),r(4)),u(e)&&(e=k(t,e),t.l||T(t,e)),t.u&&w("Patches").M(n[Z].t,e,t.u,t.s)):e=k(t,n,[]),x(t),t.u&&t.v(t.u,t.s),e!==J?e:void 0}function k(e,t,n){if(g(t))return t;var r=t[Z];if(!r)return a(t,(function(o,u){return C(e,r,t,o,u,n)}),!0),t;if(r.A!==e)return t;if(!r.P)return T(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var o=4===r.i||5===r.i?r.o=y(r.k):r.o,u=o,i=!1;3===r.i&&(u=new Set(o),o.clear(),i=!0),a(u,(function(t,u){return C(e,r,o,t,u,n,i)})),T(e,o,!1),n&&e.u&&w("Patches").N(r,n,e.u,e.s)}return r.o}function C(e,t,n,i,a,c,l){if(a===n&&r(5),o(a)){var d=k(e,a,c&&t&&3!==t.i&&!s(t.R,i)?c.concat(i):void 0);if(f(n,i,d),!o(d))return;e.m=!1}else l&&n.add(a);if(u(a)&&!g(a)){if(!e.h.D&&e._<1)return;k(e,a),t&&t.A.l||T(e,a)}}function T(e,t,n){void 0===n&&(n=!1),!e.l&&e.h.D&&e.m&&v(t,n)}function R(e,t){var n=e[Z];return(n?h(n):e)[t]}function M(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function I(e){e.P||(e.P=!0,e.l&&I(e.l))}function D(e){e.o||(e.o=y(e.t))}function L(e,t,n){var r=p(t)?w("MapSet").F(t,n):m(t)?w("MapSet").T(t,n):e.O?function(e,t){var n=Array.isArray(e),r={i:n?1:0,A:t?t.A:S(),P:!1,I:!1,R:{},l:t,t:e,k:null,o:null,j:null,C:!1},o=r,u=ie;n&&(o=[r],u=ae);var i=Proxy.revocable(o,u),a=i.revoke,c=i.proxy;return r.k=c,r.j=a,c}(t,n):w("ES5").J(t,n);return(n?n.A:S()).p.push(r),r}function N(e){return o(e)||r(22,e),function e(t){if(!u(t))return t;var n,r=t[Z],o=c(t);if(r){if(!r.P&&(r.i<4||!w("ES5").K(r)))return r.t;r.I=!0,n=z(t,o),r.I=!1}else n=z(t,o);return a(n,(function(t,o){r&&l(r.t,t)===o||f(n,t,e(o))})),3===o?new Set(n):n}(e)}function z(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return y(e)}function $(){function e(e,t){var n=c[e];return n?n.enumerable=t:c[e]=n={configurable:!0,enumerable:t,get:function(){var t=this[Z];return i(t),ie.get(t,e)},set:function(t){var n=this[Z];i(n),ie.set(n,e,t)}},n}function t(e){for(var t=e.length-1;t>=0;t--){var r=e[t][Z];if(!r.P)switch(r.i){case 5:u(r)&&I(r);break;case 4:n(r)&&I(r)}}}function n(e){for(var t=e.t,n=e.k,r=re(n),o=r.length-1;o>=0;o--){var u=r[o];if(u!==Z){var i=t[u];if(void 0===i&&!s(t,u))return!0;var a=n[u],c=a&&a[Z];if(c?c.t!==i:!d(a,i))return!0}}var l=!!t[Z];return r.length!==re(t).length+(l?0:1)}function u(e){var t=e.k;if(t.length!==e.t.length)return!0;var n=Object.getOwnPropertyDescriptor(t,t.length-1);if(n&&!n.get)return!0;for(var r=0;r
1?r-1:0),u=1;u
1?r-1:0),u=1;u
=0;n--){var r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}n>-1&&(t=t.slice(n+1));var u=w("Patches").$;return o(e)?u(e,t):this.produce(e,(function(e){return u(e,t)}))},e}(),se=new ce,le=se.produce,fe=se.produceWithPatches.bind(se),de=se.setAutoFreeze.bind(se),pe=se.setUseProxies.bind(se),me=se.applyPatches.bind(se),he=se.createDraft.bind(se),ye=se.finishDraft.bind(se);t.default=le}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var u=t[r]={exports:{}};return e[r](u,u.exports,n),u.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};!function(){n.r(r),n.d(r,{__StoreProvider:function(){return u.Provider},__addMiddleware:function(){return d},__createAction:function(){return t.createAction},__createAsyncThunk:function(){return t.createAsyncThunk},__createSelector:function(){return o.createSelector},__createSlice:function(){return t.createSlice},__createStore:function(){return y},__deleteStore:function(){return b},__dispatch:function(){return p},__getState:function(){return m},__getStore:function(){return v},__registerSlice:function(){return f},__subscribe:function(){return h},__useDispatch:function(){return u.useDispatch},__useSelector:function(){return u.useSelector}});var e=n("./node_modules/redux/es/redux.js"),t=n("./node_modules/@reduxjs/toolkit/dist/redux-toolkit.esm.js"),o=n("./node_modules/reselect/es/index.js"),u=n("./node_modules/@elementor/store/node_modules/react-redux/es/index.js"),i=null,a={},c=[],s=new Set,l=()=>{const t=Object.entries(a).reduce(((e,[t,n])=>(e[t]=n.reducer,e)),{});return(0,e.combineReducers)(t)};function f(e){if(a[e.name])throw new Error(`Slice with name "${e.name}" already exists.`);a[e.name]=e}var d=e=>{s.add(e)},p=e=>{if(i)return i.dispatch(e);c.push(e)},m=()=>{if(!i)throw new Error("The store instance does not exist.");return i.getState()},h=e=>{if(!i)throw new Error("The store instance does not exist.");return i.subscribe(e)},y=()=>{if(i)throw new Error("The store instance already exists.");return i=(0,t.configureStore)({reducer:l(),middleware:e=>[...e(),...Array.from(s)]}),c.length&&(c.forEach((e=>p(e))),c.length=0),i},v=()=>i,b=()=>{i=null,a={},c.length=0,s.clear()}}(),(window.elementorV2=window.elementorV2||{}).store=r}();