{"version":3,"file":"useIsSideNavCollapsedSessionStorage.cjs","names":["_useSessionStorageState","require","sessionStorageKey","exports","useIsSideNavCollapsedSessionStorage","isSideNavInitiallyCollapsed","useSessionStorageState","initialState","key"],"sources":["../../../../src/ui-shell/SideNav/useIsSideNavCollapsedSessionStorage.ts"],"sourcesContent":["/*!\n * Copyright (c) 2025-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nimport { useSessionStorageState } from \"../../useSessionStorageState.js\";\n\nexport const sessionStorageKey = \"__uiShell-sideNav-isCollapsed\";\n\nexport const useIsSideNavCollapsedSessionStorage = (\n  isSideNavInitiallyCollapsed: boolean,\n) =>\n  useSessionStorageState({\n    initialState: isSideNavInitiallyCollapsed,\n    key: sessionStorageKey,\n  });\n"],"mappings":";;;;;;AAYA,IAAAA,uBAAA,GAAAC,OAAA;AAZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAIO,MAAMC,iBAAiB,GAAAC,OAAA,CAAAD,iBAAA,GAAG,+BAA+B;AAEzD,MAAME,mCAAmC,GAC9CC,2BAAoC,IAEpC,IAAAC,8CAAsB,EAAC;EACrBC,YAAY,EAAEF,2BAA2B;EACzCG,GAAG,EAAEN;AACP,CAAC,CAAC;AAACC,OAAA,CAAAC,mCAAA,GAAAA,mCAAA","ignoreList":[]}