"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("../../../../stores/picker-props-store/usePickerPropsStore.js"),i=require("../../../../stores/filter-store/FilterStoreProvider.js"),s=require("../../../../hooks/useCompanySelectorPermission.js"),o=function(o){var t=o.children,n=r.usePickerPropsStore((function(e){return e.offsetSettings})),p=s.useCompanySelectorPermission(),a=p.canViewCompanies,u=p.canViewCompaniesLoading;return e.jsx(i.FilterStoreProvider,{filters:null==n?void 0:n.filters,canViewCompanies:!u&&a,children:t})};o.displayName="FilterStoreWrapper",exports.FilterStoreWrapper=o;
//# sourceMappingURL=FilterStoreWrapper.js.map
