@baseline-ui/core 2.4.0 → 3.0.0
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.
- package/dist/Accordion.mjs +1 -1
- package/dist/ActionGroup.mjs +1 -1
- package/dist/ActionIconButton.mjs +1 -1
- package/dist/AlertDialog.mjs +1 -1
- package/dist/AudioPlayer.mjs +1 -1
- package/dist/ButtonSelect.mjs +1 -1
- package/dist/Calendar.mjs +1 -1
- package/dist/ColorInput.mjs +1 -1
- package/dist/ColorSwatch.mjs +1 -1
- package/dist/ColorSwatchPicker.mjs +1 -1
- package/dist/ComboBox.mjs +1 -1
- package/dist/DateField.mjs +1 -1
- package/dist/Dialog.mjs +1 -1
- package/dist/Drawer.mjs +1 -1
- package/dist/Editor.mjs +1 -1
- package/dist/FileList.mjs +1 -1
- package/dist/FreehandCanvas.mjs +1 -1
- package/dist/I18nProvider.mjs +1 -1
- package/dist/ImageDropZone.mjs +1 -1
- package/dist/ImageGallery.mjs +1 -1
- package/dist/InlineAlert.mjs +1 -1
- package/dist/InlineToolbar.mjs +1 -1
- package/dist/Menu.mjs +1 -1
- package/dist/MessageFormat.mjs +1 -1
- package/dist/Modal.mjs +1 -1
- package/dist/NumberInput.mjs +1 -1
- package/dist/Pagination.mjs +1 -1
- package/dist/PointPicker.mjs +1 -1
- package/dist/Popover.mjs +1 -1
- package/dist/Portal.mjs +1 -1
- package/dist/Preview.mjs +1 -1
- package/dist/SearchInput.mjs +1 -1
- package/dist/Select.mjs +1 -1
- package/dist/Slider.mjs +1 -1
- package/dist/Stepper.mjs +1 -1
- package/dist/Table.mjs +1 -1
- package/dist/Tabs.mjs +1 -1
- package/dist/TaggedPagination.mjs +1 -1
- package/dist/ThemeProvider.mjs +1 -1
- package/dist/Toast.mjs +1 -1
- package/dist/ToggleIconButton.mjs +1 -1
- package/dist/Toolbar.mjs +1 -1
- package/dist/Tooltip.mjs +1 -1
- package/dist/TreeView.mjs +1 -1
- package/dist/{chunk-7ZYMMUDM.mjs → chunk-3X2QM7GV.mjs} +1 -1
- package/dist/{chunk-NA3IF43N.mjs → chunk-4ILKZKTW.mjs} +1 -1
- package/dist/{chunk-YGSCHWU3.mjs → chunk-535OT4US.mjs} +1 -1
- package/dist/{chunk-HHI7CEUP.mjs → chunk-67MPTBBY.mjs} +1 -1
- package/dist/{chunk-O4VZ6XEP.mjs → chunk-7FJMUUHS.mjs} +1 -1
- package/dist/{chunk-VTX6R6KM.mjs → chunk-DM26KBZ3.mjs} +1 -1
- package/dist/{chunk-H7OUUCSA.mjs → chunk-FWAK2OZM.mjs} +1 -1
- package/dist/{chunk-X3OCHEQM.mjs → chunk-GX2IOGYR.mjs} +3 -3
- package/dist/{chunk-XZ2VSOJD.mjs → chunk-H2LXVMBI.mjs} +1 -1
- package/dist/{chunk-N5RZGO7Y.mjs → chunk-HEO2XVRN.mjs} +1 -1
- package/dist/{chunk-BTVDMO5C.mjs → chunk-HJQZW2VO.mjs} +1 -1
- package/dist/chunk-HZHAKW6I.mjs +10 -0
- package/dist/{chunk-2CZ3OV4X.mjs → chunk-K5RKL3WY.mjs} +1 -1
- package/dist/{chunk-H44PBNVX.mjs → chunk-KAYY6L7Y.mjs} +1 -1
- package/dist/{chunk-J5YWAPLN.mjs → chunk-LQB4U6GF.mjs} +1 -1
- package/dist/{chunk-7AQAC6QK.mjs → chunk-LZM6UK3C.mjs} +1 -1
- package/dist/{chunk-IYFTU6IC.mjs → chunk-MHUFXHRU.mjs} +1 -1
- package/dist/{chunk-MIHIAPBG.mjs → chunk-NCADIC3I.mjs} +1 -1
- package/dist/{chunk-P44XZ4PV.mjs → chunk-NKKKKVQ7.mjs} +1 -1
- package/dist/{chunk-OLJWK3LS.mjs → chunk-NMTDGCRA.mjs} +1 -1
- package/dist/{chunk-R32OJDN2.mjs → chunk-O6AE67ZY.mjs} +1 -1
- package/dist/{chunk-S3V4OOC3.mjs → chunk-PR3HWZFH.mjs} +1 -1
- package/dist/{chunk-PBO4SFGS.mjs → chunk-QY3O34WX.mjs} +1 -1
- package/dist/{chunk-X7DI4I2U.mjs → chunk-RELI5YAS.mjs} +1 -1
- package/dist/{chunk-FRZTJBLY.mjs → chunk-S5XX36JC.mjs} +1 -1
- package/dist/{chunk-566SP7NE.mjs → chunk-UMABUZ67.mjs} +1 -1
- package/dist/{chunk-TBSQUJ67.mjs → chunk-VU2PDOBR.mjs} +1 -1
- package/dist/{chunk-U4K44ZHN.mjs → chunk-WDJ4GXWF.mjs} +1 -1
- package/dist/hooks/useI18n.mjs +1 -1
- package/dist/hooks/useMedia.mjs +1 -1
- package/dist/index.d.ts +60 -33
- package/dist/index.js +16 -16
- package/dist/index.mjs +1 -1
- package/package.json +5 -5
- package/sbom.json +13 -13
- package/dist/chunk-GFLVN5JQ.mjs +0 -10
package/dist/TreeView.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as TreeView}from'./chunk-
|
|
1
|
+
export{a as TreeView}from'./chunk-O6AE67ZY.mjs';import'./chunk-TEQE6WCH.mjs';import'./chunk-GXOXYPQQ.mjs';import'./chunk-ENDOKA57.mjs';import'./chunk-ZNN43VZV.mjs';import'./chunk-EA6GA4WC.mjs';import'./chunk-WAOWR7MR.mjs';import'./chunk-EK3RIYMV.mjs';import'./chunk-MXKP7NQ4.mjs';import'./chunk-AMYRLAIC.mjs';import'./chunk-E3PFPOHX.mjs';import'./chunk-SMAYNDQQ.mjs';import'./chunk-3HKG74G4.mjs';import'./chunk-J7K7I5U2.mjs';import'./chunk-246VHB32.mjs';import'./chunk-OC42IZG2.mjs';import'./chunk-DECHIERQ.mjs';import'./chunk-RJWPSJX2.mjs';import'./chunk-2PH5GN2S.mjs';import'./chunk-2JANDORZ.mjs';import'./chunk-2MS356Q7.mjs';import'./chunk-YOBESAXG.mjs';import'./chunk-CFLEBB5T.mjs';import'./chunk-6XARU7F2.mjs';import'./chunk-J7EAQSKX.mjs';import'./chunk-IW4GXU75.mjs';import'./chunk-2WAKHFPS.mjs';import'./chunk-5ANNWMLJ.mjs';import'./chunk-AC7OXVHA.mjs';import'./chunk-EX2LI2CV.mjs';import'./chunk-SAZLJ66W.mjs';import'./chunk-ZANUFNOL.mjs';import'./chunk-CGFLGZL4.mjs';import'./chunk-GX2IOGYR.mjs';import'./chunk-XXANV3FM.mjs';import'./chunk-F7PGMOQF.mjs';import'./chunk-K6IQ4ALU.mjs';import'./chunk-M5M3EPG5.mjs';import'./chunk-W6QO7FPZ.mjs';import'./chunk-O7XK2WIX.mjs';import'./chunk-GCZFXILF.mjs';import'./chunk-MEZNZ5W6.mjs';import'./chunk-TIHKHXTS.mjs';import'./chunk-FP5EWPOF.mjs';import'./chunk-TK4QXU3W.mjs';import'./chunk-6YQHZ5RZ.mjs';import'./chunk-DY6WY36N.mjs';import'./chunk-QBJDGBTU.mjs';import'./chunk-THRAJMLX.mjs';import'./chunk-MLNPTVVX.mjs';import'./chunk-YV3WI6OV.mjs';import'./chunk-V3L4SVVF.mjs';import'./chunk-JUXBZ2ZN.mjs';import'./chunk-JJPCZOOI.mjs';import'./chunk-2UUKKXBD.mjs';import'./chunk-PZTVDABF.mjs';import'./chunk-NRKHWSOP.mjs';import'./chunk-HZHAKW6I.mjs';import'./chunk-AV4ZP5SY.mjs';import'./chunk-KPEONVLU.mjs';import'./chunk-QMDDCVAF.mjs';import'./chunk-DD5FWULD.mjs';import'./chunk-ZGRRD3TU.mjs';import'./chunk-6Z6HOW6T.mjs';import'./chunk-TDXALNX3.mjs';import'./chunk-XBBPWSJI.mjs';import'./chunk-7PRJIPFA.mjs';import'./chunk-OO7BXL2N.mjs';import'./chunk-WWSGOGLA.mjs';import'./chunk-34TYNTXM.mjs';import'./chunk-I3YGB2BE.mjs';import'./chunk-KUEDQO7P.mjs';import'./chunk-USMC34OO.mjs';import'./chunk-NHM3H5JU.mjs';import'./chunk-WL27JGVG.mjs';import'./chunk-2RCST7ET.mjs';import'./chunk-BU5H25MV.mjs';import'./chunk-QAUEG3EX.mjs';import'./chunk-CV6JQGJ3.mjs';import'./chunk-N2XGJKZG.mjs';import'./chunk-22BJMDCA.mjs';import'./chunk-6IX6BM7C.mjs';import'./chunk-4ZJMZB5B.mjs';import'./chunk-4N6CLPAY.mjs';import'./chunk-FKYHERP4.mjs';import'./chunk-PBFIKNYZ.mjs';import'./chunk-RCBUNCHV.mjs';import'./chunk-5YHNHEDK.mjs';import'./chunk-4NYPVKDO.mjs';import'./chunk-ZLDT2KDZ.mjs';import'./chunk-UUBOEBYZ.mjs';import'./chunk-C342HL26.mjs';import'./chunk-C6OMLVIQ.mjs';import'./chunk-B7PSE5KC.mjs';import'./chunk-VDUFLHKK.mjs';import'./chunk-4PYEGHW5.mjs';import'./chunk-HONWMHMX.mjs';import'./chunk-JJG67M2S.mjs';import'./chunk-66CUIXA6.mjs';import'./chunk-6ZFBX7C7.mjs';import'./chunk-PF3OQKXP.mjs';import'./chunk-6IRWW75G.mjs';import'./chunk-MVK5CB64.mjs';import'./chunk-XWLESSHN.mjs';import'./chunk-XTH6B5FE.mjs';import'./chunk-GOSLHCDP.mjs';import'./chunk-CFRTAJP2.mjs';import'./chunk-2VY4FAOY.mjs';import'./chunk-D3IZ4HBL.mjs';import'./chunk-I3RGYL4B.mjs';import'./chunk-RXSYDMT6.mjs';import'./chunk-YV5CNDCW.mjs';import'./chunk-X3AXUU3H.mjs';import'./chunk-5PQHOVGX.mjs';import'./chunk-AGUSZG6K.mjs';import'./chunk-545KDVGI.mjs';import'./chunk-YS3Y5KGV.mjs';import'./chunk-RSKKEGJZ.mjs';import'./chunk-K6X2BHPP.mjs';import'./chunk-BGMVPFYK.mjs';import'./chunk-YB3KW7JC.mjs';import'./chunk-Y4DRSGEJ.mjs';import'./chunk-3FYY26ED.mjs';import'./chunk-AQYBKDT2.mjs';import'./chunk-66NJ7EYY.mjs';import'./chunk-4WW2MVQN.mjs';import'./chunk-54IAJ3RI.mjs';import'./chunk-RT4LMB6X.mjs';import'./chunk-3W6RWDIE.mjs';import'./chunk-MRJFGHFW.mjs';import'./chunk-TZ4MVY4E.mjs';import'./chunk-KEVERVHK.mjs';import'./chunk-JDLUGVXG.mjs';import'./chunk-6ZQE5SHE.mjs';import'./chunk-AUOQSTS5.mjs';import'./chunk-RMUV6NJJ.mjs';import'./chunk-FXCHST4Z.mjs';import'./chunk-4QEH5CGK.mjs';import'./chunk-XPISSX5R.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a as a$4}from'./chunk-IUQOFRI3.mjs';import {a as a$e}from'./chunk-Y6XQJ4X2.mjs';import {a as a$g}from'./chunk-MEYMETYC.mjs';import {a as a$3,b as b$1}from'./chunk-BJVFZYUV.mjs';import {a as a$2}from'./chunk-5KD2MNNX.mjs';import {a as a$h}from'./chunk-
|
|
1
|
+
import {a as a$4}from'./chunk-IUQOFRI3.mjs';import {a as a$e}from'./chunk-Y6XQJ4X2.mjs';import {a as a$g}from'./chunk-MEYMETYC.mjs';import {a as a$3,b as b$1}from'./chunk-BJVFZYUV.mjs';import {a as a$2}from'./chunk-5KD2MNNX.mjs';import {a as a$h}from'./chunk-PR3HWZFH.mjs';import {b as b$5}from'./chunk-J3MJZQUJ.mjs';import {a as a$d}from'./chunk-O7XK2WIX.mjs';import {a as a$f}from'./chunk-MEZNZ5W6.mjs';import {a as a$1}from'./chunk-AV4ZP5SY.mjs';import {a as a$i}from'./chunk-KUEDQO7P.mjs';import {b as b$2}from'./chunk-N2XGJKZG.mjs';import {b as b$3}from'./chunk-4ZJMZB5B.mjs';import {b as b$4,j}from'./chunk-4NYPVKDO.mjs';import {a as a$c}from'./chunk-VDUFLHKK.mjs';import {a as a$a}from'./chunk-X3AXUU3H.mjs';import {a as a$8}from'./chunk-RSKKEGJZ.mjs';import {a as a$6}from'./chunk-K6X2BHPP.mjs';import {a as a$b}from'./chunk-BGMVPFYK.mjs';import {a as a$7}from'./chunk-3FYY26ED.mjs';import {a as a$9}from'./chunk-RT4LMB6X.mjs';import {b,c}from'./chunk-TZ4MVY4E.mjs';import {a}from'./chunk-FXCHST4Z.mjs';import {a as a$5}from'./chunk-4QEH5CGK.mjs';import B from'react';import {jsx,jsxs,Fragment}from'react/jsx-runtime';import {sprinkles}from'@baseline-ui/tokens';/**
|
|
2
2
|
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a}from'./chunk-
|
|
1
|
+
import {a}from'./chunk-MHUFXHRU.mjs';import {a as a$3}from'./chunk-3X2QM7GV.mjs';import {a as a$2}from'./chunk-YOBESAXG.mjs';import {b,c}from'./chunk-GX2IOGYR.mjs';import {b as b$1}from'./chunk-4ZJMZB5B.mjs';import {a as a$1}from'./chunk-RSKKEGJZ.mjs';import {a as a$4}from'./chunk-4QEH5CGK.mjs';import {PauseIcon,PlayIcon}from'@baseline-ui/icons/24';import _ from'react';import {jsxs,jsx}from'react/jsx-runtime';/**
|
|
2
2
|
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {b,c}from'./chunk-
|
|
1
|
+
import {b,c}from'./chunk-GX2IOGYR.mjs';import {b as b$1}from'./chunk-J3MJZQUJ.mjs';import {a as a$1}from'./chunk-GCZFXILF.mjs';import {a}from'./chunk-FXCHST4Z.mjs';import {a as a$2}from'./chunk-4QEH5CGK.mjs';import {WarningFilledIcon as WarningFilledIcon$1,CheckmarkCircleFilledIcon,InfoCircleFilledIcon as InfoCircleFilledIcon$1,ErrorAltCircleFilledIcon as ErrorAltCircleFilledIcon$1,XIcon}from'@baseline-ui/icons/16';import {WarningFilledIcon,CheckCircleFilledIcon,InfoCircleFilledIcon,ErrorAltCircleFilledIcon}from'@baseline-ui/icons/20';import U from'react';import {jsx,jsxs}from'react/jsx-runtime';/**
|
|
2
2
|
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a as a$b}from'./chunk-5HXTXIE5.mjs';import {a as a$3}from'./chunk-MI7DCFP2.mjs';import {d,a as a$a,c as c$2,b as b$3}from'./chunk-ELXWR5TS.mjs';import {a as a$9}from'./chunk-ROHLZINC.mjs';import {a as a$6}from'./chunk-2WAKHFPS.mjs';import {a}from'./chunk-CGFLGZL4.mjs';import {b,c as c$3}from'./chunk-
|
|
1
|
+
import {a as a$b}from'./chunk-5HXTXIE5.mjs';import {a as a$3}from'./chunk-MI7DCFP2.mjs';import {d,a as a$a,c as c$2,b as b$3}from'./chunk-ELXWR5TS.mjs';import {a as a$9}from'./chunk-ROHLZINC.mjs';import {a as a$6}from'./chunk-2WAKHFPS.mjs';import {a}from'./chunk-CGFLGZL4.mjs';import {b,c as c$3}from'./chunk-GX2IOGYR.mjs';import {b as b$2}from'./chunk-J3MJZQUJ.mjs';import {a as a$7}from'./chunk-GCZFXILF.mjs';import {b as b$1}from'./chunk-4ZJMZB5B.mjs';import {a as a$5}from'./chunk-2VY4FAOY.mjs';import {a as a$1}from'./chunk-K6X2BHPP.mjs';import {a as a$4}from'./chunk-BGMVPFYK.mjs';import {a as a$2}from'./chunk-3FYY26ED.mjs';import {c as c$1,b as b$4}from'./chunk-TZ4MVY4E.mjs';import {c}from'./chunk-JDLUGVXG.mjs';import {a as a$8}from'./chunk-4QEH5CGK.mjs';import {UndoIcon,RedoIcon}from'@baseline-ui/icons/16';import {getStroke}from'perfect-freehand';import h,{useState,useCallback,useEffect,useMemo,useRef}from'react';import {jsxs,jsx,Fragment}from'react/jsx-runtime';/**
|
|
2
2
|
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a as a$3}from'./chunk-CWPFUB7B.mjs';import {a as a$e}from'./chunk-NV7KQVPE.mjs';import {a as a$f}from'./chunk-YCI6BEXQ.mjs';import {f,b as b$4,i,g,a as a$b,h,c as c$2,e as e$1,d}from'./chunk-AMQX3KZR.mjs';import {a as a$9}from'./chunk-UCZZLAPB.mjs';import {q}from'./chunk-7AY6C5M5.mjs';import {p,t}from'./chunk-SMAYNDQQ.mjs';import {a as a$a}from'./chunk-FJ2JRD3H.mjs';import {a as a$8}from'./chunk-
|
|
1
|
+
import {a as a$3}from'./chunk-CWPFUB7B.mjs';import {a as a$e}from'./chunk-NV7KQVPE.mjs';import {a as a$f}from'./chunk-YCI6BEXQ.mjs';import {f,b as b$4,i,g,a as a$b,h,c as c$2,e as e$1,d}from'./chunk-AMQX3KZR.mjs';import {a as a$9}from'./chunk-UCZZLAPB.mjs';import {q}from'./chunk-7AY6C5M5.mjs';import {p,t}from'./chunk-SMAYNDQQ.mjs';import {a as a$a}from'./chunk-FJ2JRD3H.mjs';import {a as a$8}from'./chunk-KAYY6L7Y.mjs';import {a as a$7,b as b$5}from'./chunk-KCHAWPUN.mjs';import {b as b$3,e}from'./chunk-PHZZLBH3.mjs';import {b}from'./chunk-AC7OXVHA.mjs';import {b as b$2,c as c$1}from'./chunk-GX2IOGYR.mjs';import {a as a$d}from'./chunk-O7XK2WIX.mjs';import {a as a$c}from'./chunk-GCZFXILF.mjs';import {a as a$4}from'./chunk-MEZNZ5W6.mjs';import {a as a$6}from'./chunk-X3AXUU3H.mjs';import {a}from'./chunk-YS3Y5KGV.mjs';import {a as a$1}from'./chunk-3FYY26ED.mjs';import {a as a$5}from'./chunk-RT4LMB6X.mjs';import {b as b$1,c}from'./chunk-TZ4MVY4E.mjs';import {a as a$2}from'./chunk-4QEH5CGK.mjs';import {sprinkles}from'@baseline-ui/tokens';import Z,{useRef,useLayoutEffect,useState,useContext,useEffect,useCallback,useMemo}from'react';import {jsx,jsxs,Fragment}from'react/jsx-runtime';import {XIcon}from'@baseline-ui/icons/12';import {useReducedMotion,motion}from'motion/react';/**
|
|
2
2
|
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a as a$8}from'./chunk-DRYSJSKA.mjs';import {a as a$1,b as b$2}from'./chunk-KY3JKXSX.mjs';import {a as a$6}from'./chunk-NSC53QWT.mjs';import {b as b$1,c as c$1}from'./chunk-
|
|
1
|
+
import {a as a$8}from'./chunk-DRYSJSKA.mjs';import {a as a$1,b as b$2}from'./chunk-KY3JKXSX.mjs';import {a as a$6}from'./chunk-NSC53QWT.mjs';import {b as b$1,c as c$1}from'./chunk-GX2IOGYR.mjs';import {a as a$5}from'./chunk-GCZFXILF.mjs';import {b}from'./chunk-N2XGJKZG.mjs';import {a as a$4}from'./chunk-RSKKEGJZ.mjs';import {a as a$3}from'./chunk-K6X2BHPP.mjs';import {a as a$2}from'./chunk-3FYY26ED.mjs';import {c}from'./chunk-TZ4MVY4E.mjs';import {a}from'./chunk-FXCHST4Z.mjs';import {a as a$7}from'./chunk-4QEH5CGK.mjs';import {CaretLeftIcon as CaretLeftIcon$3,CaretRightIcon as CaretRightIcon$3}from'@baseline-ui/icons/12';import {CaretLeftIcon as CaretLeftIcon$2,CaretRightIcon as CaretRightIcon$2}from'@baseline-ui/icons/16';import {CaretLeftIcon as CaretLeftIcon$1,CaretRightIcon as CaretRightIcon$1}from'@baseline-ui/icons/20';import {CaretLeftIcon,CaretRightIcon}from'@baseline-ui/icons/24';import D from'react';import {jsxs,Fragment,jsx}from'react/jsx-runtime';/**
|
|
2
2
|
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {b}from'./chunk-
|
|
1
|
+
import {b}from'./chunk-GX2IOGYR.mjs';import {a}from'./chunk-66CUIXA6.mjs';import {Fragment}from'react';import {jsx}from'react/jsx-runtime';/**
|
|
2
2
|
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a as a$1}from'./chunk-XXANV3FM.mjs';import {b as b$
|
|
1
|
+
import {a as a$1}from'./chunk-XXANV3FM.mjs';import {b as b$3}from'./chunk-F7PGMOQF.mjs';import {a,b as b$1,c}from'./chunk-HZHAKW6I.mjs';import {b as b$2}from'./chunk-N2XGJKZG.mjs';import {useContext,useMemo,useEffect}from'react';/**
|
|
2
2
|
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
@@ -7,6 +7,6 @@ import {a as a$1}from'./chunk-XXANV3FM.mjs';import {b as b$2}from'./chunk-F7PGMO
|
|
|
7
7
|
* This notice may not be removed from this file.
|
|
8
8
|
*
|
|
9
9
|
*/
|
|
10
|
-
var w=class{messages;defaultLocale;constructor(t,n="en-US"){this.messages=Object.fromEntries(Object.entries(t).filter(([,r])=>r)),this.defaultLocale=n;}getStringForLocale(t,n){let r=this.messages[n];r||(r=Ke(n,this.messages,this.defaultLocale),this.messages[n]=r);let i=r[t];if(!i)throw new Error(`Could not find intl message ${t} in ${n} locale`);return i}};function Ke(e,t,n="en-US"){if(t[e])return t[e];let r=et(e);if(t[r])return t[r];for(let i in t)if(i.startsWith(r+"-"))return t[i];return t[n]}function et(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}var J=function(e,t){return J=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r;}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i]);},J(e,t)};function L(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");J(e,t);function n(){this.constructor=e;}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n);}var m=function(){return m=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);}return t},m.apply(this,arguments)};function Ee(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function X(e,t,n){if(arguments.length===2)for(var r=0,i=t.length,o;r<i;r++)(o||!(r in t))&&(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}function z(e,t){var n=t&&t.cache?t.cache:at,r=t&&t.serializer?t.serializer:ot,i=t&&t.strategy?t.strategy:rt;return i(e,{cache:n,serializer:r})}function tt(e){return e==null||typeof e=="number"||typeof e=="boolean"}function ve(e,t,n,r){var i=tt(r)?r:n(r),o=t.get(i);return typeof o>"u"&&(o=e.call(this,r),t.set(i,o)),o}function _e(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),o=t.get(i);return typeof o>"u"&&(o=e.apply(this,r),t.set(i,o)),o}function Q(e,t,n,r,i){return n.bind(t,e,r,i)}function rt(e,t){var n=e.length===1?ve:_e;return Q(e,this,n,t.cache.create(),t.serializer)}function nt(e,t){return Q(e,this,_e,t.cache.create(),t.serializer)}var ot=function(){return JSON.stringify(arguments)},st=(function(){function e(){this.cache=Object.create(null);}return e.prototype.get=function(t){return this.cache[t]},e.prototype.set=function(t,n){this.cache[t]=n;},e})(),at={create:function(){return new st}},W={variadic:nt};var c;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG";})(c||(c={}));var x;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag";})(x||(x={}));var B;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime";})(B||(B={}));function q(e){return e.type===x.literal}function K(e){return e.type===x.argument}function I(e){return e.type===x.number}function M(e){return e.type===x.date}function N(e){return e.type===x.time}function O(e){return e.type===x.select}function R(e){return e.type===x.plural}function Te(e){return e.type===x.pound}function C(e){return e.type===x.tag}function $(e){return !!(e&&typeof e=="object"&&e.type===B.number)}function D(e){return !!(e&&typeof e=="object"&&e.type===B.dateTime)}var ee=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/;var ut=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function Se(e){var t={};return e.replace(ut,function(n){var r=n.length;switch(n[0]){case "G":t.era=r===4?"long":r===5?"narrow":"short";break;case "y":t.year=r===2?"2-digit":"numeric";break;case "Y":case "u":case "U":case "r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case "q":case "Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case "M":case "L":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case "w":case "W":throw new RangeError("`w/W` (week) patterns are not supported");case "d":t.day=["numeric","2-digit"][r-1];break;case "D":case "F":case "g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case "E":t.weekday=r===4?"long":r===5?"narrow":"short";break;case "e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case "c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case "a":t.hour12=true;break;case "b":case "B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case "h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case "H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case "K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case "k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-1];break;case "j":case "J":case "C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case "m":t.minute=["numeric","2-digit"][r-1];break;case "s":t.second=["numeric","2-digit"][r-1];break;case "S":case "A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case "z":t.timeZoneName=r<4?"short":"long";break;case "Z":case "O":case "v":case "V":case "X":case "x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return ""}),t}var He=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function we(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(He).filter(function(f){return f.length>0}),n=[],r=0,i=t;r<i.length;r++){var o=i[r],s=o.split("/");if(s.length===0)throw new Error("Invalid number skeleton");for(var h=s[0],p=s.slice(1),a=0,u=p;a<u.length;a++){var g=u[a];if(g.length===0)throw new Error("Invalid number skeleton")}n.push({stem:h,options:p});}return n}function ht(e){return e.replace(/^(.*?)-/,"")}var Be=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Le=/^(@+)?(\+|#+)?[rs]?$/g,lt=/(\*)(0+)|(#+)(0+)|(0+)/g,Ie=/^(0+)$/;function Pe(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(Le,function(n,r,i){return typeof i!="string"?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):i==="+"?t.minimumSignificantDigits=r.length:r[0]==="#"?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+(typeof i=="string"?i.length:0)),""}),t}function Me(e){switch(e){case "sign-auto":return {signDisplay:"auto"};case "sign-accounting":case "()":return {currencySign:"accounting"};case "sign-always":case "+!":return {signDisplay:"always"};case "sign-accounting-always":case "()!":return {signDisplay:"always",currencySign:"accounting"};case "sign-except-zero":case "+?":return {signDisplay:"exceptZero"};case "sign-accounting-except-zero":case "()?":return {signDisplay:"exceptZero",currencySign:"accounting"};case "sign-never":case "+_":return {signDisplay:"never"}}}function ft(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if(n==="+!"?(t.signDisplay="always",e=e.slice(2)):n==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!Ie.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length;}return t}function Ae(e){var t={},n=Me(e);return n||t}function Ne(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n];switch(i.stem){case "percent":case "%":t.style="percent";continue;case "%x100":t.style="percent",t.scale=100;continue;case "currency":t.style="currency",t.currency=i.options[0];continue;case "group-off":case ",_":t.useGrouping=false;continue;case "precision-integer":case ".":t.maximumFractionDigits=0;continue;case "measure-unit":case "unit":t.style="unit",t.unit=ht(i.options[0]);continue;case "compact-short":case "K":t.notation="compact",t.compactDisplay="short";continue;case "compact-long":case "KK":t.notation="compact",t.compactDisplay="long";continue;case "scientific":t=m(m(m({},t),{notation:"scientific"}),i.options.reduce(function(p,a){return m(m({},p),Ae(a))},{}));continue;case "engineering":t=m(m(m({},t),{notation:"engineering"}),i.options.reduce(function(p,a){return m(m({},p),Ae(a))},{}));continue;case "notation-simple":t.notation="standard";continue;case "unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case "unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case "unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case "unit-width-iso-code":t.currencyDisplay="symbol";continue;case "scale":t.scale=parseFloat(i.options[0]);continue;case "rounding-mode-floor":t.roundingMode="floor";continue;case "rounding-mode-ceiling":t.roundingMode="ceil";continue;case "rounding-mode-down":t.roundingMode="trunc";continue;case "rounding-mode-up":t.roundingMode="expand";continue;case "rounding-mode-half-even":t.roundingMode="halfEven";continue;case "rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case "rounding-mode-half-up":t.roundingMode="halfExpand";continue;case "integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(lt,function(p,a,u,g,f,l){if(a)t.minimumIntegerDigits=u.length;else {if(g&&f)throw new Error("We currently do not support maximum integer digits");if(l)throw new Error("We currently do not support exact integer digits")}return ""});continue}if(Ie.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(Be.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Be,function(p,a,u,g,f,l){return u==="*"?t.minimumFractionDigits=a.length:g&&g[0]==="#"?t.maximumFractionDigits=g.length:f&&l?(t.minimumFractionDigits=f.length,t.maximumFractionDigits=f.length+l.length):(t.minimumFractionDigits=a.length,t.maximumFractionDigits=a.length),""});var o=i.options[0];o==="w"?t=m(m({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=m(m({},t),Pe(o)));continue}if(Le.test(i.stem)){t=m(m({},t),Pe(i.stem));continue}var s=Me(i.stem);s&&(t=m(m({},t),s));var h=ft(i.stem);h&&(t=m(m({},t),h));}return t}var G={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function Oe(e,t){for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if(i==="j"){for(var o=0;r+1<e.length&&e.charAt(r+1)===i;)o++,r++;var s=1+(o&1),h=o<2?1:3+(o>>1),p="a",a=ct(t);for((a=="H"||a=="k")&&(h=0);h-- >0;)n+=p;for(;s-- >0;)n=a+n;}else i==="J"?n+="H":n+=i;}return n}function ct(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case "h24":return "k";case "h23":return "H";case "h12":return "h";case "h11":return "K";default:throw new Error("Invalid hourCycle")}var n=e.language,r;n!=="root"&&(r=e.maximize().region);var i=G[r||""]||G[n||""]||G["".concat(n,"-001")]||G["001"];return i[0]}var te,pt=new RegExp("^".concat(ee.source,"*")),mt=new RegExp("".concat(ee.source,"*$"));function d(e,t){return {start:e,end:t}}var gt=!!String.prototype.startsWith&&"_a".startsWith("a",1),dt=!!String.fromCodePoint,bt=!!Object.fromEntries,xt=!!String.prototype.codePointAt,yt=!!String.prototype.trimStart,Et=!!String.prototype.trimEnd,vt=!!Number.isSafeInteger,_t=vt?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},ne=true;try{Re=Ue("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),ne=((te=Re.exec("a"))===null||te===void 0?void 0:te[0])==="a";}catch{ne=false;}var Re,Ce=gt?function(t,n,r){return t.startsWith(n,r)}:function(t,n,r){return t.slice(r,r+n.length)===n},ie=dt?String.fromCodePoint:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r="",i=t.length,o=0,s;i>o;){if(s=t[o++],s>1114111)throw RangeError(s+" is not a valid code point");r+=s<65536?String.fromCharCode(s):String.fromCharCode(((s-=65536)>>10)+55296,s%1024+56320);}return r},De=bt?Object.fromEntries:function(t){for(var n={},r=0,i=t;r<i.length;r++){var o=i[r],s=o[0],h=o[1];n[s]=h;}return n},Ge=xt?function(t,n){return t.codePointAt(n)}:function(t,n){var r=t.length;if(!(n<0||n>=r)){var i=t.charCodeAt(n),o;return i<55296||i>56319||n+1===r||(o=t.charCodeAt(n+1))<56320||o>57343?i:(i-55296<<10)+(o-56320)+65536}},Tt=yt?function(t){return t.trimStart()}:function(t){return t.replace(pt,"")},St=Et?function(t){return t.trimEnd()}:function(t){return t.replace(mt,"")};function Ue(e,t){return new RegExp(e,t)}var oe;ne?(re=Ue("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),oe=function(t,n){var r;re.lastIndex=n;var i=re.exec(t);return (r=i[1])!==null&&r!==void 0?r:""}):oe=function(t,n){for(var r=[];;){var i=Ge(t,n);if(i===void 0||je(i)||Pt(i))break;r.push(i),n+=i>=65536?2:1;}return ie.apply(void 0,r)};var re,Fe=(function(){function e(t,n){n===void 0&&(n={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!n.ignoreTag,this.locale=n.locale,this.requiresOtherClause=!!n.requiresOtherClause,this.shouldParseSkeletons=!!n.shouldParseSkeletons;}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",false)},e.prototype.parseMessage=function(t,n,r){for(var i=[];!this.isEOF();){var o=this.char();if(o===123){var s=this.parseArgument(t,r);if(s.err)return s;i.push(s.val);}else {if(o===125&&t>0)break;if(o===35&&(n==="plural"||n==="selectordinal")){var h=this.clonePosition();this.bump(),i.push({type:x.pound,location:d(h,this.clonePosition())});}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(c.UNMATCHED_CLOSING_TAG,d(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&se(this.peek()||0)){var s=this.parseTag(t,n);if(s.err)return s;i.push(s.val);}else {var s=this.parseLiteral(t,n);if(s.err)return s;i.push(s.val);}}}return {val:i,err:null}},e.prototype.parseTag=function(t,n){var r=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return {val:{type:x.literal,value:"<".concat(i,"/>"),location:d(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,n,true);if(o.err)return o;var s=o.val,h=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!se(this.char()))return this.error(c.INVALID_TAG,d(h,this.clonePosition()));var p=this.clonePosition(),a=this.parseTagName();return i!==a?this.error(c.UNMATCHED_CLOSING_TAG,d(p,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:x.tag,value:i,children:s,location:d(r,this.clonePosition())},err:null}:this.error(c.INVALID_TAG,d(h,this.clonePosition())))}else return this.error(c.UNCLOSED_TAG,d(r,this.clonePosition()))}else return this.error(c.INVALID_TAG,d(r,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Bt(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,n){for(var r=this.clonePosition(),i="";;){var o=this.tryParseQuote(n);if(o){i+=o;continue}var s=this.tryParseUnquoted(t,n);if(s){i+=s;continue}var h=this.tryParseLeftAngleBracket();if(h){i+=h;continue}break}var p=d(r,this.clonePosition());return {val:{type:x.literal,value:i,location:p},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return !this.isEOF()&&this.char()===60&&(this.ignoreTag||!Ht(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var n=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(r===39)if(this.peek()===39)n.push(39),this.bump();else {this.bump();break}else n.push(r);this.bump();}return ie.apply(void 0,n)},e.prototype.tryParseUnquoted=function(t,n){if(this.isEOF())return null;var r=this.char();return r===60||r===123||r===35&&(n==="plural"||n==="selectordinal")||r===125&&t>0?null:(this.bump(),ie(r))},e.prototype.parseArgument=function(t,n){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(c.EXPECT_ARGUMENT_CLOSING_BRACE,d(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(c.EMPTY_ARGUMENT,d(r,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(c.MALFORMED_ARGUMENT,d(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(c.EXPECT_ARGUMENT_CLOSING_BRACE,d(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:x.argument,value:i,location:d(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(c.EXPECT_ARGUMENT_CLOSING_BRACE,d(r,this.clonePosition())):this.parseArgumentOptions(t,n,i,r);default:return this.error(c.MALFORMED_ARGUMENT,d(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),n=this.offset(),r=oe(this.message,n),i=n+r.length;this.bumpTo(i);var o=this.clonePosition(),s=d(t,o);return {value:r,location:s}},e.prototype.parseArgumentOptions=function(t,n,r,i){var o,s=this.clonePosition(),h=this.parseIdentifierIfPossible().value,p=this.clonePosition();switch(h){case "":return this.error(c.EXPECT_ARGUMENT_TYPE,d(s,p));case "number":case "date":case "time":{this.bumpSpace();var a=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition(),g=this.parseSimpleArgStyleIfPossible();if(g.err)return g;var f=St(g.val);if(f.length===0)return this.error(c.EXPECT_ARGUMENT_STYLE,d(this.clonePosition(),this.clonePosition()));var l=d(u,this.clonePosition());a={style:f,styleLocation:l};}var b=this.tryParseArgumentClose(i);if(b.err)return b;var E=d(i,this.clonePosition());if(a&&Ce(a?.style,"::",0)){var y=Tt(a.style.slice(2));if(h==="number"){var g=this.parseNumberSkeletonFromString(y,a.styleLocation);return g.err?g:{val:{type:x.number,value:r,location:E,style:g.val},err:null}}else {if(y.length===0)return this.error(c.EXPECT_DATE_TIME_SKELETON,E);var T=y;this.locale&&(T=Oe(y,this.locale));var f={type:B.dateTime,pattern:T,location:a.styleLocation,parsedOptions:this.shouldParseSkeletons?Se(T):{}},_=h==="date"?x.date:x.time;return {val:{type:_,value:r,location:E,style:f},err:null}}}return {val:{type:h==="number"?x.number:h==="date"?x.date:x.time,value:r,location:E,style:(o=a?.style)!==null&&o!==void 0?o:null},err:null}}case "plural":case "selectordinal":case "select":{var S=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(c.EXPECT_SELECT_ARGUMENT_OPTIONS,d(S,m({},S)));this.bumpSpace();var A=this.parseIdentifierIfPossible(),H=0;if(h!=="select"&&A.value==="offset"){if(!this.bumpIf(":"))return this.error(c.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,d(this.clonePosition(),this.clonePosition()));this.bumpSpace();var g=this.tryParseDecimalInteger(c.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,c.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(g.err)return g;this.bumpSpace(),A=this.parseIdentifierIfPossible(),H=g.val;}var k=this.tryParsePluralOrSelectOptions(t,h,n,A);if(k.err)return k;var b=this.tryParseArgumentClose(i);if(b.err)return b;var me=d(i,this.clonePosition());return h==="select"?{val:{type:x.select,value:r,options:De(k.val),location:me},err:null}:{val:{type:x.plural,value:r,options:De(k.val),offset:H,pluralType:h==="plural"?"cardinal":"ordinal",location:me},err:null}}default:return this.error(c.INVALID_ARGUMENT_TYPE,d(s,p))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(c.EXPECT_ARGUMENT_CLOSING_BRACE,d(t,this.clonePosition())):(this.bump(),{val:true,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,n=this.clonePosition();!this.isEOF();){var r=this.char();switch(r){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(c.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,d(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return {val:this.message.slice(n.offset,this.offset()),err:null};break}default:this.bump();break}}return {val:this.message.slice(n.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,n){var r=[];try{r=we(t);}catch{return this.error(c.INVALID_NUMBER_SKELETON,n)}return {val:{type:B.number,tokens:r,location:n,parsedOptions:this.shouldParseSkeletons?Ne(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,n,r,i){for(var o,s=false,h=[],p=new Set,a=i.value,u=i.location;;){if(a.length===0){var g=this.clonePosition();if(n!=="select"&&this.bumpIf("=")){var f=this.tryParseDecimalInteger(c.EXPECT_PLURAL_ARGUMENT_SELECTOR,c.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;u=d(g,this.clonePosition()),a=this.message.slice(g.offset,this.offset());}else break}if(p.has(a))return this.error(n==="select"?c.DUPLICATE_SELECT_ARGUMENT_SELECTOR:c.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);a==="other"&&(s=true),this.bumpSpace();var l=this.clonePosition();if(!this.bumpIf("{"))return this.error(n==="select"?c.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:c.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,d(this.clonePosition(),this.clonePosition()));var b=this.parseMessage(t+1,n,r);if(b.err)return b;var E=this.tryParseArgumentClose(l);if(E.err)return E;h.push([a,{value:b.val,location:d(l,this.clonePosition())}]),p.add(a),this.bumpSpace(),o=this.parseIdentifierIfPossible(),a=o.value,u=o.location;}return h.length===0?this.error(n==="select"?c.EXPECT_SELECT_ARGUMENT_SELECTOR:c.EXPECT_PLURAL_ARGUMENT_SELECTOR,d(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(c.MISSING_OTHER_CLAUSE,d(this.clonePosition(),this.clonePosition())):{val:h,err:null}},e.prototype.tryParseDecimalInteger=function(t,n){var r=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var o=false,s=0;!this.isEOF();){var h=this.char();if(h>=48&&h<=57)o=true,s=s*10+(h-48),this.bump();else break}var p=d(i,this.clonePosition());return o?(s*=r,_t(s)?{val:s,err:null}:this.error(n,p)):this.error(t,p)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return {offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var n=Ge(this.message,t);if(n===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return n},e.prototype.error=function(t,n){return {val:null,err:{kind:t,message:this.message,location:n}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2);}},e.prototype.bumpIf=function(t){if(Ce(this.message,t,this.offset())){for(var n=0;n<t.length;n++)this.bump();return true}return false},e.prototype.bumpUntil=function(t){var n=this.offset(),r=this.message.indexOf(t,n);return r>=0?(this.bumpTo(r),true):(this.bumpTo(this.message.length),false)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var n=this.offset();if(n===t)break;if(n>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&je(this.char());)this.bump();},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),n=this.offset(),r=this.message.charCodeAt(n+(t>=65536?2:1));return r??null},e})();function se(e){return e>=97&&e<=122||e>=65&&e<=90}function Ht(e){return se(e)||e===47}function Bt(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function je(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Pt(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function ae(e){e.forEach(function(t){if(delete t.location,O(t)||R(t))for(var n in t.options)delete t.options[n].location,ae(t.options[n].value);else I(t)&&$(t.style)||(M(t)||N(t))&&D(t.style)?delete t.style.location:C(t)&&ae(t.children);});}function Ve(e,t){t===void 0&&(t={}),t=m({shouldParseSkeletons:true,requiresOtherClause:true},t);var n=new Fe(e,t).parse();if(n.err){var r=SyntaxError(c[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return t?.captureLocation||ae(n.val),n.val}var P;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API";})(P||(P={}));var U=(function(e){L(t,e);function t(n,r,i){var o=e.call(this,n)||this;return o.code=r,o.originalMessage=i,o}return t.prototype.toString=function(){return "[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t})(Error);var ue=(function(e){L(t,e);function t(n,r,i,o){return e.call(this,'Invalid values for "'.concat(n,'": "').concat(r,'". Options are "').concat(Object.keys(i).join('", "'),'"'),P.INVALID_VALUE,o)||this}return t})(U);var ke=(function(e){L(t,e);function t(n,r,i){return e.call(this,'Value for "'.concat(n,'" must be of type ').concat(r),P.INVALID_VALUE,i)||this}return t})(U);var Xe=(function(e){L(t,e);function t(n,r){return e.call(this,'The intl string context variable "'.concat(n,'" was not provided to the string "').concat(r,'"'),P.MISSING_VALUE,r)||this}return t})(U);var v;(function(e){e[e.literal=0]="literal",e[e.object=1]="object";})(v||(v={}));function At(e){return e.length<2?e:e.reduce(function(t,n){var r=t[t.length-1];return !r||r.type!==v.literal||n.type!==v.literal?t.push(n):r.value+=n.value,t},[])}function wt(e){return typeof e=="function"}function F(e,t,n,r,i,o,s){if(e.length===1&&q(e[0]))return [{type:v.literal,value:e[0].value}];for(var h=[],p=0,a=e;p<a.length;p++){var u=a[p];if(q(u)){h.push({type:v.literal,value:u.value});continue}if(Te(u)){typeof o=="number"&&h.push({type:v.literal,value:n.getNumberFormat(t).format(o)});continue}var g=u.value;if(!(i&&g in i))throw new Xe(g,s);var f=i[g];if(K(u)){(!f||typeof f=="string"||typeof f=="number")&&(f=typeof f=="string"||typeof f=="number"?String(f):""),h.push({type:typeof f=="string"?v.literal:v.object,value:f});continue}if(M(u)){var l=typeof u.style=="string"?r.date[u.style]:D(u.style)?u.style.parsedOptions:void 0;h.push({type:v.literal,value:n.getDateTimeFormat(t,l).format(f)});continue}if(N(u)){var l=typeof u.style=="string"?r.time[u.style]:D(u.style)?u.style.parsedOptions:r.time.medium;h.push({type:v.literal,value:n.getDateTimeFormat(t,l).format(f)});continue}if(I(u)){var l=typeof u.style=="string"?r.number[u.style]:$(u.style)?u.style.parsedOptions:void 0;l&&l.scale&&(f=f*(l.scale||1)),h.push({type:v.literal,value:n.getNumberFormat(t,l).format(f)});continue}if(C(u)){var b=u.children,E=u.value,y=i[E];if(!wt(y))throw new ke(E,"function",s);var T=F(b,t,n,r,i,o),_=y(T.map(function(H){return H.value}));Array.isArray(_)||(_=[_]),h.push.apply(h,_.map(function(H){return {type:typeof H=="string"?v.literal:v.object,value:H}}));}if(O(u)){var S=u.options[f]||u.options.other;if(!S)throw new ue(u.value,f,Object.keys(u.options),s);h.push.apply(h,F(S.value,t,n,r,i));continue}if(R(u)){var S=u.options["=".concat(f)];if(!S){if(!Intl.PluralRules)throw new U(`Intl.PluralRules is not available in this environment.
|
|
10
|
+
var w=class{messages;defaultLocale;constructor(t,n="en-US"){this.messages=Object.fromEntries(Object.entries(t).filter(([,r])=>r)),this.defaultLocale=n;}getStringForLocale(t,n){let r=this.messages[n];r||(r=tt(n,this.messages,this.defaultLocale),this.messages[n]=r);let i=r[t];if(!i)throw new Error(`Could not find intl message ${t} in ${n} locale`);return i}};function tt(e,t,n="en-US"){if(t[e])return t[e];let r=rt(e);if(t[r])return t[r];for(let i in t)if(i.startsWith(r+"-"))return t[i];return t[n]}function rt(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}var J=function(e,t){return J=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r;}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i]);},J(e,t)};function L(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");J(e,t);function n(){this.constructor=e;}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n);}var g=function(){return g=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);}return t},g.apply(this,arguments)};function ye(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function X(e,t,n){if(arguments.length===2)for(var r=0,i=t.length,o;r<i;r++)(o||!(r in t))&&(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}function $(e,t){var n=t&&t.cache?t.cache:ht,r=t&&t.serializer?t.serializer:at,i=t&&t.strategy?t.strategy:it;return i(e,{cache:n,serializer:r})}function nt(e){return e==null||typeof e=="number"||typeof e=="boolean"}function ve(e,t,n,r){var i=nt(r)?r:n(r),o=t.get(i);return typeof o>"u"&&(o=e.call(this,r),t.set(i,o)),o}function _e(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),o=t.get(i);return typeof o>"u"&&(o=e.apply(this,r),t.set(i,o)),o}function Q(e,t,n,r,i){return n.bind(t,e,r,i)}function it(e,t){var n=e.length===1?ve:_e;return Q(e,this,n,t.cache.create(),t.serializer)}function ot(e,t){return Q(e,this,_e,t.cache.create(),t.serializer)}var at=function(){return JSON.stringify(arguments)},ut=(function(){function e(){this.cache=Object.create(null);}return e.prototype.get=function(t){return this.cache[t]},e.prototype.set=function(t,n){this.cache[t]=n;},e})(),ht={create:function(){return new ut}},z={variadic:ot};var p;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG";})(p||(p={}));var E;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag";})(E||(E={}));var B;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime";})(B||(B={}));function q(e){return e.type===E.literal}function K(e){return e.type===E.argument}function I(e){return e.type===E.number}function M(e){return e.type===E.date}function N(e){return e.type===E.time}function O(e){return e.type===E.select}function C(e){return e.type===E.plural}function Te(e){return e.type===E.pound}function R(e){return e.type===E.tag}function W(e){return !!(e&&typeof e=="object"&&e.type===B.number)}function D(e){return !!(e&&typeof e=="object"&&e.type===B.dateTime)}var ee=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/;var lt=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function Se(e){var t={};return e.replace(lt,function(n){var r=n.length;switch(n[0]){case "G":t.era=r===4?"long":r===5?"narrow":"short";break;case "y":t.year=r===2?"2-digit":"numeric";break;case "Y":case "u":case "U":case "r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case "q":case "Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case "M":case "L":t.month=["numeric","2-digit","short","long","narrow"][r-1];break;case "w":case "W":throw new RangeError("`w/W` (week) patterns are not supported");case "d":t.day=["numeric","2-digit"][r-1];break;case "D":case "F":case "g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case "E":t.weekday=r===4?"long":r===5?"narrow":"short";break;case "e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case "c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case "a":t.hour12=true;break;case "b":case "B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case "h":t.hourCycle="h12",t.hour=["numeric","2-digit"][r-1];break;case "H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case "K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case "k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-1];break;case "j":case "J":case "C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case "m":t.minute=["numeric","2-digit"][r-1];break;case "s":t.second=["numeric","2-digit"][r-1];break;case "S":case "A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case "z":t.timeZoneName=r<4?"short":"long";break;case "Z":case "O":case "v":case "V":case "X":case "x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return ""}),t}var He=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function we(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(He).filter(function(f){return f.length>0}),n=[],r=0,i=t;r<i.length;r++){var o=i[r],s=o.split("/");if(s.length===0)throw new Error("Invalid number skeleton");for(var h=s[0],c=s.slice(1),a=0,u=c;a<u.length;a++){var d=u[a];if(d.length===0)throw new Error("Invalid number skeleton")}n.push({stem:h,options:c});}return n}function ft(e){return e.replace(/^(.*?)-/,"")}var Be=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Le=/^(@+)?(\+|#+)?[rs]?$/g,ct=/(\*)(0+)|(#+)(0+)|(0+)/g,Ie=/^(0+)$/;function Ae(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(Le,function(n,r,i){return typeof i!="string"?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):i==="+"?t.minimumSignificantDigits=r.length:r[0]==="#"?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+(typeof i=="string"?i.length:0)),""}),t}function Me(e){switch(e){case "sign-auto":return {signDisplay:"auto"};case "sign-accounting":case "()":return {currencySign:"accounting"};case "sign-always":case "+!":return {signDisplay:"always"};case "sign-accounting-always":case "()!":return {signDisplay:"always",currencySign:"accounting"};case "sign-except-zero":case "+?":return {signDisplay:"exceptZero"};case "sign-accounting-except-zero":case "()?":return {signDisplay:"exceptZero",currencySign:"accounting"};case "sign-never":case "+_":return {signDisplay:"never"}}}function pt(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if(n==="+!"?(t.signDisplay="always",e=e.slice(2)):n==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!Ie.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length;}return t}function Pe(e){var t={},n=Me(e);return n||t}function Ne(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n];switch(i.stem){case "percent":case "%":t.style="percent";continue;case "%x100":t.style="percent",t.scale=100;continue;case "currency":t.style="currency",t.currency=i.options[0];continue;case "group-off":case ",_":t.useGrouping=false;continue;case "precision-integer":case ".":t.maximumFractionDigits=0;continue;case "measure-unit":case "unit":t.style="unit",t.unit=ft(i.options[0]);continue;case "compact-short":case "K":t.notation="compact",t.compactDisplay="short";continue;case "compact-long":case "KK":t.notation="compact",t.compactDisplay="long";continue;case "scientific":t=g(g(g({},t),{notation:"scientific"}),i.options.reduce(function(c,a){return g(g({},c),Pe(a))},{}));continue;case "engineering":t=g(g(g({},t),{notation:"engineering"}),i.options.reduce(function(c,a){return g(g({},c),Pe(a))},{}));continue;case "notation-simple":t.notation="standard";continue;case "unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case "unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case "unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case "unit-width-iso-code":t.currencyDisplay="symbol";continue;case "scale":t.scale=parseFloat(i.options[0]);continue;case "rounding-mode-floor":t.roundingMode="floor";continue;case "rounding-mode-ceiling":t.roundingMode="ceil";continue;case "rounding-mode-down":t.roundingMode="trunc";continue;case "rounding-mode-up":t.roundingMode="expand";continue;case "rounding-mode-half-even":t.roundingMode="halfEven";continue;case "rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case "rounding-mode-half-up":t.roundingMode="halfExpand";continue;case "integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(ct,function(c,a,u,d,f,l){if(a)t.minimumIntegerDigits=u.length;else {if(d&&f)throw new Error("We currently do not support maximum integer digits");if(l)throw new Error("We currently do not support exact integer digits")}return ""});continue}if(Ie.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(Be.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Be,function(c,a,u,d,f,l){return u==="*"?t.minimumFractionDigits=a.length:d&&d[0]==="#"?t.maximumFractionDigits=d.length:f&&l?(t.minimumFractionDigits=f.length,t.maximumFractionDigits=f.length+l.length):(t.minimumFractionDigits=a.length,t.maximumFractionDigits=a.length),""});var o=i.options[0];o==="w"?t=g(g({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=g(g({},t),Ae(o)));continue}if(Le.test(i.stem)){t=g(g({},t),Ae(i.stem));continue}var s=Me(i.stem);s&&(t=g(g({},t),s));var h=pt(i.stem);h&&(t=g(g({},t),h));}return t}var G={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function Oe(e,t){for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if(i==="j"){for(var o=0;r+1<e.length&&e.charAt(r+1)===i;)o++,r++;var s=1+(o&1),h=o<2?1:3+(o>>1),c="a",a=mt(t);for((a=="H"||a=="k")&&(h=0);h-- >0;)n+=c;for(;s-- >0;)n=a+n;}else i==="J"?n+="H":n+=i;}return n}function mt(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case "h24":return "k";case "h23":return "H";case "h12":return "h";case "h11":return "K";default:throw new Error("Invalid hourCycle")}var n=e.language,r;n!=="root"&&(r=e.maximize().region);var i=G[r||""]||G[n||""]||G["".concat(n,"-001")]||G["001"];return i[0]}var te,gt=new RegExp("^".concat(ee.source,"*")),dt=new RegExp("".concat(ee.source,"*$"));function b(e,t){return {start:e,end:t}}var bt=!!String.prototype.startsWith&&"_a".startsWith("a",1),xt=!!String.fromCodePoint,Et=!!Object.fromEntries,yt=!!String.prototype.codePointAt,vt=!!String.prototype.trimStart,_t=!!String.prototype.trimEnd,Tt=!!Number.isSafeInteger,St=Tt?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},ne=true;try{Ce=Ue("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),ne=((te=Ce.exec("a"))===null||te===void 0?void 0:te[0])==="a";}catch{ne=false;}var Ce,Re=bt?function(t,n,r){return t.startsWith(n,r)}:function(t,n,r){return t.slice(r,r+n.length)===n},ie=xt?String.fromCodePoint:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r="",i=t.length,o=0,s;i>o;){if(s=t[o++],s>1114111)throw RangeError(s+" is not a valid code point");r+=s<65536?String.fromCharCode(s):String.fromCharCode(((s-=65536)>>10)+55296,s%1024+56320);}return r},De=Et?Object.fromEntries:function(t){for(var n={},r=0,i=t;r<i.length;r++){var o=i[r],s=o[0],h=o[1];n[s]=h;}return n},Ge=yt?function(t,n){return t.codePointAt(n)}:function(t,n){var r=t.length;if(!(n<0||n>=r)){var i=t.charCodeAt(n),o;return i<55296||i>56319||n+1===r||(o=t.charCodeAt(n+1))<56320||o>57343?i:(i-55296<<10)+(o-56320)+65536}},Ht=vt?function(t){return t.trimStart()}:function(t){return t.replace(gt,"")},Bt=_t?function(t){return t.trimEnd()}:function(t){return t.replace(dt,"")};function Ue(e,t){return new RegExp(e,t)}var oe;ne?(re=Ue("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),oe=function(t,n){var r;re.lastIndex=n;var i=re.exec(t);return (r=i[1])!==null&&r!==void 0?r:""}):oe=function(t,n){for(var r=[];;){var i=Ge(t,n);if(i===void 0||je(i)||wt(i))break;r.push(i),n+=i>=65536?2:1;}return ie.apply(void 0,r)};var re,Fe=(function(){function e(t,n){n===void 0&&(n={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!n.ignoreTag,this.locale=n.locale,this.requiresOtherClause=!!n.requiresOtherClause,this.shouldParseSkeletons=!!n.shouldParseSkeletons;}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",false)},e.prototype.parseMessage=function(t,n,r){for(var i=[];!this.isEOF();){var o=this.char();if(o===123){var s=this.parseArgument(t,r);if(s.err)return s;i.push(s.val);}else {if(o===125&&t>0)break;if(o===35&&(n==="plural"||n==="selectordinal")){var h=this.clonePosition();this.bump(),i.push({type:E.pound,location:b(h,this.clonePosition())});}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(p.UNMATCHED_CLOSING_TAG,b(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&se(this.peek()||0)){var s=this.parseTag(t,n);if(s.err)return s;i.push(s.val);}else {var s=this.parseLiteral(t,n);if(s.err)return s;i.push(s.val);}}}return {val:i,err:null}},e.prototype.parseTag=function(t,n){var r=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return {val:{type:E.literal,value:"<".concat(i,"/>"),location:b(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,n,true);if(o.err)return o;var s=o.val,h=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!se(this.char()))return this.error(p.INVALID_TAG,b(h,this.clonePosition()));var c=this.clonePosition(),a=this.parseTagName();return i!==a?this.error(p.UNMATCHED_CLOSING_TAG,b(c,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:E.tag,value:i,children:s,location:b(r,this.clonePosition())},err:null}:this.error(p.INVALID_TAG,b(h,this.clonePosition())))}else return this.error(p.UNCLOSED_TAG,b(r,this.clonePosition()))}else return this.error(p.INVALID_TAG,b(r,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Pt(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,n){for(var r=this.clonePosition(),i="";;){var o=this.tryParseQuote(n);if(o){i+=o;continue}var s=this.tryParseUnquoted(t,n);if(s){i+=s;continue}var h=this.tryParseLeftAngleBracket();if(h){i+=h;continue}break}var c=b(r,this.clonePosition());return {val:{type:E.literal,value:i,location:c},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return !this.isEOF()&&this.char()===60&&(this.ignoreTag||!At(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var n=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(r===39)if(this.peek()===39)n.push(39),this.bump();else {this.bump();break}else n.push(r);this.bump();}return ie.apply(void 0,n)},e.prototype.tryParseUnquoted=function(t,n){if(this.isEOF())return null;var r=this.char();return r===60||r===123||r===35&&(n==="plural"||n==="selectordinal")||r===125&&t>0?null:(this.bump(),ie(r))},e.prototype.parseArgument=function(t,n){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,b(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(p.EMPTY_ARGUMENT,b(r,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(p.MALFORMED_ARGUMENT,b(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,b(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:E.argument,value:i,location:b(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,b(r,this.clonePosition())):this.parseArgumentOptions(t,n,i,r);default:return this.error(p.MALFORMED_ARGUMENT,b(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),n=this.offset(),r=oe(this.message,n),i=n+r.length;this.bumpTo(i);var o=this.clonePosition(),s=b(t,o);return {value:r,location:s}},e.prototype.parseArgumentOptions=function(t,n,r,i){var o,s=this.clonePosition(),h=this.parseIdentifierIfPossible().value,c=this.clonePosition();switch(h){case "":return this.error(p.EXPECT_ARGUMENT_TYPE,b(s,c));case "number":case "date":case "time":{this.bumpSpace();var a=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition(),d=this.parseSimpleArgStyleIfPossible();if(d.err)return d;var f=Bt(d.val);if(f.length===0)return this.error(p.EXPECT_ARGUMENT_STYLE,b(this.clonePosition(),this.clonePosition()));var l=b(u,this.clonePosition());a={style:f,styleLocation:l};}var m=this.tryParseArgumentClose(i);if(m.err)return m;var y=b(i,this.clonePosition());if(a&&Re(a?.style,"::",0)){var x=Ht(a.style.slice(2));if(h==="number"){var d=this.parseNumberSkeletonFromString(x,a.styleLocation);return d.err?d:{val:{type:E.number,value:r,location:y,style:d.val},err:null}}else {if(x.length===0)return this.error(p.EXPECT_DATE_TIME_SKELETON,y);var T=x;this.locale&&(T=Oe(x,this.locale));var f={type:B.dateTime,pattern:T,location:a.styleLocation,parsedOptions:this.shouldParseSkeletons?Se(T):{}},S=h==="date"?E.date:E.time;return {val:{type:S,value:r,location:y,style:f},err:null}}}return {val:{type:h==="number"?E.number:h==="date"?E.date:E.time,value:r,location:y,style:(o=a?.style)!==null&&o!==void 0?o:null},err:null}}case "plural":case "selectordinal":case "select":{var _=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS,b(_,g({},_)));this.bumpSpace();var P=this.parseIdentifierIfPossible(),H=0;if(h!=="select"&&P.value==="offset"){if(!this.bumpIf(":"))return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,b(this.clonePosition(),this.clonePosition()));this.bumpSpace();var d=this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(d.err)return d;this.bumpSpace(),P=this.parseIdentifierIfPossible(),H=d.val;}var V=this.tryParsePluralOrSelectOptions(t,h,n,P);if(V.err)return V;var m=this.tryParseArgumentClose(i);if(m.err)return m;var me=b(i,this.clonePosition());return h==="select"?{val:{type:E.select,value:r,options:De(V.val),location:me},err:null}:{val:{type:E.plural,value:r,options:De(V.val),offset:H,pluralType:h==="plural"?"cardinal":"ordinal",location:me},err:null}}default:return this.error(p.INVALID_ARGUMENT_TYPE,b(s,c))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,b(t,this.clonePosition())):(this.bump(),{val:true,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,n=this.clonePosition();!this.isEOF();){var r=this.char();switch(r){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,b(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return {val:this.message.slice(n.offset,this.offset()),err:null};break}default:this.bump();break}}return {val:this.message.slice(n.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,n){var r=[];try{r=we(t);}catch{return this.error(p.INVALID_NUMBER_SKELETON,n)}return {val:{type:B.number,tokens:r,location:n,parsedOptions:this.shouldParseSkeletons?Ne(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,n,r,i){for(var o,s=false,h=[],c=new Set,a=i.value,u=i.location;;){if(a.length===0){var d=this.clonePosition();if(n!=="select"&&this.bumpIf("=")){var f=this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR,p.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;u=b(d,this.clonePosition()),a=this.message.slice(d.offset,this.offset());}else break}if(c.has(a))return this.error(n==="select"?p.DUPLICATE_SELECT_ARGUMENT_SELECTOR:p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);a==="other"&&(s=true),this.bumpSpace();var l=this.clonePosition();if(!this.bumpIf("{"))return this.error(n==="select"?p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,b(this.clonePosition(),this.clonePosition()));var m=this.parseMessage(t+1,n,r);if(m.err)return m;var y=this.tryParseArgumentClose(l);if(y.err)return y;h.push([a,{value:m.val,location:b(l,this.clonePosition())}]),c.add(a),this.bumpSpace(),o=this.parseIdentifierIfPossible(),a=o.value,u=o.location;}return h.length===0?this.error(n==="select"?p.EXPECT_SELECT_ARGUMENT_SELECTOR:p.EXPECT_PLURAL_ARGUMENT_SELECTOR,b(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(p.MISSING_OTHER_CLAUSE,b(this.clonePosition(),this.clonePosition())):{val:h,err:null}},e.prototype.tryParseDecimalInteger=function(t,n){var r=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var o=false,s=0;!this.isEOF();){var h=this.char();if(h>=48&&h<=57)o=true,s=s*10+(h-48),this.bump();else break}var c=b(i,this.clonePosition());return o?(s*=r,St(s)?{val:s,err:null}:this.error(n,c)):this.error(t,c)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return {offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var n=Ge(this.message,t);if(n===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return n},e.prototype.error=function(t,n){return {val:null,err:{kind:t,message:this.message,location:n}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2);}},e.prototype.bumpIf=function(t){if(Re(this.message,t,this.offset())){for(var n=0;n<t.length;n++)this.bump();return true}return false},e.prototype.bumpUntil=function(t){var n=this.offset(),r=this.message.indexOf(t,n);return r>=0?(this.bumpTo(r),true):(this.bumpTo(this.message.length),false)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var n=this.offset();if(n===t)break;if(n>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&je(this.char());)this.bump();},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),n=this.offset(),r=this.message.charCodeAt(n+(t>=65536?2:1));return r??null},e})();function se(e){return e>=97&&e<=122||e>=65&&e<=90}function At(e){return se(e)||e===47}function Pt(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function je(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function wt(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function ae(e){e.forEach(function(t){if(delete t.location,O(t)||C(t))for(var n in t.options)delete t.options[n].location,ae(t.options[n].value);else I(t)&&W(t.style)||(M(t)||N(t))&&D(t.style)?delete t.style.location:R(t)&&ae(t.children);});}function ke(e,t){t===void 0&&(t={}),t=g({shouldParseSkeletons:true,requiresOtherClause:true},t);var n=new Fe(e,t).parse();if(n.err){var r=SyntaxError(p[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return t?.captureLocation||ae(n.val),n.val}var A;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API";})(A||(A={}));var U=(function(e){L(t,e);function t(n,r,i){var o=e.call(this,n)||this;return o.code=r,o.originalMessage=i,o}return t.prototype.toString=function(){return "[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t})(Error);var ue=(function(e){L(t,e);function t(n,r,i,o){return e.call(this,'Invalid values for "'.concat(n,'": "').concat(r,'". Options are "').concat(Object.keys(i).join('", "'),'"'),A.INVALID_VALUE,o)||this}return t})(U);var Ve=(function(e){L(t,e);function t(n,r,i){return e.call(this,'Value for "'.concat(n,'" must be of type ').concat(r),A.INVALID_VALUE,i)||this}return t})(U);var Xe=(function(e){L(t,e);function t(n,r){return e.call(this,'The intl string context variable "'.concat(n,'" was not provided to the string "').concat(r,'"'),A.MISSING_VALUE,r)||this}return t})(U);var v;(function(e){e[e.literal=0]="literal",e[e.object=1]="object";})(v||(v={}));function Lt(e){return e.length<2?e:e.reduce(function(t,n){var r=t[t.length-1];return !r||r.type!==v.literal||n.type!==v.literal?t.push(n):r.value+=n.value,t},[])}function It(e){return typeof e=="function"}function F(e,t,n,r,i,o,s){if(e.length===1&&q(e[0]))return [{type:v.literal,value:e[0].value}];for(var h=[],c=0,a=e;c<a.length;c++){var u=a[c];if(q(u)){h.push({type:v.literal,value:u.value});continue}if(Te(u)){typeof o=="number"&&h.push({type:v.literal,value:n.getNumberFormat(t).format(o)});continue}var d=u.value;if(!(i&&d in i))throw new Xe(d,s);var f=i[d];if(K(u)){(!f||typeof f=="string"||typeof f=="number")&&(f=typeof f=="string"||typeof f=="number"?String(f):""),h.push({type:typeof f=="string"?v.literal:v.object,value:f});continue}if(M(u)){var l=typeof u.style=="string"?r.date[u.style]:D(u.style)?u.style.parsedOptions:void 0;h.push({type:v.literal,value:n.getDateTimeFormat(t,l).format(f)});continue}if(N(u)){var l=typeof u.style=="string"?r.time[u.style]:D(u.style)?u.style.parsedOptions:r.time.medium;h.push({type:v.literal,value:n.getDateTimeFormat(t,l).format(f)});continue}if(I(u)){var l=typeof u.style=="string"?r.number[u.style]:W(u.style)?u.style.parsedOptions:void 0;l&&l.scale&&(f=f*(l.scale||1)),h.push({type:v.literal,value:n.getNumberFormat(t,l).format(f)});continue}if(R(u)){var m=u.children,y=u.value,x=i[y];if(!It(x))throw new Ve(y,"function",s);var T=F(m,t,n,r,i,o),S=x(T.map(function(H){return H.value}));Array.isArray(S)||(S=[S]),h.push.apply(h,S.map(function(H){return {type:typeof H=="string"?v.literal:v.object,value:H}}));}if(O(u)){var _=u.options[f]||u.options.other;if(!_)throw new ue(u.value,f,Object.keys(u.options),s);h.push.apply(h,F(_.value,t,n,r,i));continue}if(C(u)){var _=u.options["=".concat(f)];if(!_){if(!Intl.PluralRules)throw new U(`Intl.PluralRules is not available in this environment.
|
|
11
11
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
12
|
-
`,
|
|
12
|
+
`,A.MISSING_INTL_API,s);var P=n.getPluralRules(t,{type:u.pluralType}).select(f-(u.offset||0));_=u.options[P]||u.options.other;}if(!_)throw new ue(u.value,f,Object.keys(u.options),s);h.push.apply(h,F(_.value,t,n,r,i,f-(u.offset||0)));continue}}return Lt(h)}function Mt(e,t){return t?g(g(g({},e||{}),t||{}),Object.keys(e).reduce(function(n,r){return n[r]=g(g({},e[r]),t[r]||{}),n},{})):e}function Nt(e,t){return t?Object.keys(e).reduce(function(n,r){return n[r]=Mt(e[r],t[r]),n},g({},e)):e}function he(e){return {create:function(){return {get:function(t){return e[t]},set:function(t,n){e[t]=n;}}}}}function Ot(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:$(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.NumberFormat).bind.apply(t,X([void 0],n,false)))},{cache:he(e.number),strategy:z.variadic}),getDateTimeFormat:$(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.DateTimeFormat).bind.apply(t,X([void 0],n,false)))},{cache:he(e.dateTime),strategy:z.variadic}),getPluralRules:$(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.PluralRules).bind.apply(t,X([void 0],n,false)))},{cache:he(e.pluralRules),strategy:z.variadic})}}var $e=(function(){function e(t,n,r,i){n===void 0&&(n=e.defaultLocale);var o=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(a){var u=o.formatToParts(a);if(u.length===1)return u[0].value;var d=u.reduce(function(f,l){return !f.length||l.type!==v.literal||typeof f[f.length-1]!="string"?f.push(l.value):f[f.length-1]+=l.value,f},[]);return d.length<=1?d[0]||"":d},this.formatToParts=function(a){return F(o.ast,o.locales,o.formatters,o.formats,a,void 0,o.message)},this.resolvedOptions=function(){var a;return {locale:((a=o.resolvedLocale)===null||a===void 0?void 0:a.toString())||Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},this.locales=n,this.resolvedLocale=e.resolveLocale(n),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var s=i||{};s.formatters;var c=ye(s,["formatters"]);this.ast=e.__parse(t,g(g({},c),{locale:this.resolvedLocale}));}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=Nt(e.formats,r),this.formatters=i&&i.formatters||Ot(this.formatterCache);}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:false,configurable:true}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(!(typeof Intl.Locale>"u")){var n=Intl.NumberFormat.supportedLocalesOf(t);return n.length>0?new Intl.Locale(n[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=ke,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e})();var ze=$e;var j=class{locale;messages;cache;constructor(t,n){this.locale=t,this.messages=n,this.cache={};}format(t,n){let r=this.cache[t];if(!r){let o=this.messages.getStringForLocale(t,this.locale);if(!o)throw new Error(`Could not find intl message ${t} in ${this.locale} locale`);r=new ze(o,this.locale),this.cache[t]=r;}let i;return n&&(i=Object.keys(n).reduce((o,s)=>(o[s]=n[s]==null?false:n[s],o),{})),r.format(i)}};function Ze(e){return e instanceof Error?e.message:String(e)}function Rt(e){let t=2166136261;for(let n=0;n<e.length;n++)t^=e.codePointAt(n)??0,t=Math.imul(t,16777619);return (t>>>0).toString(36)}function fe(e){return e.slice(e.lastIndexOf(".")+1)}function Ye(e){return e?"The message's `defaultMessage` will be used instead.":"There is no `defaultMessage` to fall back on, so the id itself will render."}var k=Object.create(null),qe={"en-US":k},le=0,Dt=1e3,Gt=/['{}<]/;function Ut(e){k[e]||(le>=Dt&&(k=Object.create(null),qe={"en-US":k},le=0),k[e]=e,le+=1);}var Je=new WeakMap;function Qe(e,t){let n=Je.get(e);n||(n=new Map,Je.set(e,n));let r=n.get(t);if(!r){let i=new j(t,new w(e));r=(o,s)=>i.format(o,s),n.set(t,r);}return r}var Ft={};function jt(e){try{new Intl.Locale(e);}catch{throw new Error(`BUI \u{1F30D}: \`createMessageFormatter\` received an invalid locale: \`${e}\`. Pass a BCP 47 language tag such as \`fr-CA\` \u2014 unlike the keys of \`messages\`, the underscore form (\`fr_CA\`) is not accepted here.`)}}function kt(e,t){let{language:n}=new Intl.Locale(t);return !!(e[t]||e[n]||Object.entries(e).some(([r,i])=>i&&r.startsWith(`${n}-`)))}function Vt(e){return Object.values(e).some(Boolean)}function Xt(e,t,n){if(!t.includes("."))return {outcome:"miss"};let r=fe(t);try{return {outcome:"resolved",value:e(r,n)}}catch(i){return Ke(i)?{outcome:"miss"}:{outcome:"malformed",error:i}}}function Ke(e){return e instanceof Error&&e.message.startsWith("Could not find intl message")}function $t(e,t){if(process.env.NODE_ENV==="production")return "";let n=(b$3[t]??[]).filter(r=>r!==e);return n.length===0?"":` Note that \`${t}\` also answers for ${n.map(r=>`\`${r}\``).join(", ")}, so this one entry translates all of them.`}function ce(e){let t;for(let n of Object.keys(e)){let r=n.replaceAll("_","-");r!==n&&(t??={...e},t[r]={...e[n],...t[r]});}return t??e}function pe(e,t){if(t)for(let n of Object.keys(e)){let r=n.replaceAll("_","-");r!==n&&Object.prototype.hasOwnProperty.call(e,r)&&t(`locale-alias:${n}:${r}`,()=>({code:"locale-alias-collision",locale:r,message:`Locale supplied in multiple formats ("${n}" and "${r}"). Using the hyphenated entry; provide a single locale ID format to avoid ambiguity.`}));}}function et(e,t,n){let r=Qe(e,t),i=kt(e,t),o=!i&&Vt(e)&&new Intl.Locale(t).language!=="en",s=()=>{o&&n?.(`no-catalog:${t}`,()=>{let l=Object.keys(e).filter(m=>e[m]).map(m=>`\`${m}\``).join(", ");return {code:"no-catalog-for-locale",locale:t,message:`No supplied catalog covers locale: \`${t}\` (catalogs supplied for ${l}). Every message will use its \`defaultMessage\`, or its id where it has none. File the catalog under a key that matches the active locale.`}});},h=(l,m)=>`${l}:${t}:${m?"default":"bare"}`,c=(l,m)=>{l&&n?.(`missing:${h(l,m)}`,()=>({code:"missing-message",locale:t,id:l,message:`Translation not found for key: \`${l}\` for locale: \`${t}\`. ${Ye(m)}`}));},a=(l,m,y,x)=>{n?.(`malformed:${h(l,x)}`,()=>({code:"malformed-message",locale:t,id:l,error:m,source:"catalog",message:`Translation for \`${l}\` for locale: \`${t}\`${y?`, supplied under the deprecated bare id \`${fe(l)}\`,`:""} could not be formatted (${Ze(m)}). ${Ye(x)}`}));},u=(l,m,y)=>{n?.(`malformed-default:${l}:${t}:${Rt(m)}`,()=>({code:"malformed-message",locale:t,id:l,error:y,source:"defaultMessage",message:`The \`defaultMessage\` for \`${l}\` could not be formatted (${Ze(y)}). Its template will render as-is.`}));},d=l=>{n?.(`legacy:${l}:${t}`,()=>{let m=fe(l);return {code:"deprecated-message-id",locale:t,id:l,message:`Translation for \`${l}\` resolved via the deprecated bare id \`${m}\` for locale: \`${t}\`. Regenerate your translation catalog with namespaced keys; the bare-id fallback will be removed in a future major.${$t(l,m)}`}});},f=(l,m,y)=>{let x=m?.defaultMessage;if(!x)return l;if(!Gt.test(x))return x;Ut(x);try{return Qe(qe,t)(x,y)}catch(T){return u(l,x,T),x}};return (l,m)=>{let y=typeof l=="object"?l:void 0,x=y?.id??l,T=!!y?.defaultMessage;if(!i)return s(),T||c(x,false),f(x,y,m);try{return r(x,m)}catch(S){if(Ke(S)){if(x.startsWith("bui.")){let _=Xt(r,x,m);if(_.outcome==="resolved")return d(x),_.value;if(_.outcome==="malformed")return a(x,_.error,true,T),f(x,y,m)}c(x,T);}else a(x,S,false,T);return f(x,y,m)}}}function qr({locale:e,messages:t,shouldLogMissingMessages:n=a,onMessageIssue:r}){jt(e);let i=r||n?b$1(new Set,()=>r):void 0,o=t?a$1(t):Ft;return pe(o,i),et(ce(o),e,i)}function Kr(e){let{messages:t,reportMessageIssue:n,setLang:r}=useContext(c),i=useMemo(()=>e?a$1(e):void 0,[e]);useEffect(()=>{i&&pe(i,n),pe(t,n);},[i,t,n]);let o=useMemo(()=>{let c=i?ce(i):void 0,a=ce(t);if(!c)return a;if(Object.keys(a).length===0)return c;let u=new Set([...Object.keys(c),...Object.keys(a)]),d={};for(let f of u)d[f]={...c[f],...a[f]};return d},[i,t]),s=b$2();useEffect(()=>{r(s.locale);},[s.locale,r]);let h=useMemo(()=>et(o,s.locale,n),[o,s.locale,n]);return useMemo(()=>({formatMessage:h,locale:s}),[h,s])}var en=e=>e;export{qr as a,Kr as b,en as c};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a as a$q}from'./chunk-JI4SJ53O.mjs';import {b as b$a}from'./chunk-GKODQS6E.mjs';import {a as a$8}from'./chunk-
|
|
1
|
+
import {a as a$q}from'./chunk-JI4SJ53O.mjs';import {b as b$a}from'./chunk-GKODQS6E.mjs';import {a as a$8}from'./chunk-NKKKKVQ7.mjs';import {b as b$3}from'./chunk-HI44JQA7.mjs';import {a as a$o}from'./chunk-3UH5CQQF.mjs';import {a as a$r}from'./chunk-IHLJTHGQ.mjs';import {b as b$6,a as a$m}from'./chunk-DOL6RDMF.mjs';import {a as a$c}from'./chunk-5IC46G5J.mjs';import {b as b$4}from'./chunk-NMTDGCRA.mjs';import {f}from'./chunk-RC7QITNV.mjs';import {a as a$j}from'./chunk-5BAHJXOI.mjs';import {b as b$8,c as c$2}from'./chunk-RJC3HQDZ.mjs';import {a as a$6}from'./chunk-EU75HMPG.mjs';import {a as a$k}from'./chunk-NGZRN4SF.mjs';import {a as a$p}from'./chunk-RJWPSJX2.mjs';import {a as a$g}from'./chunk-YOBESAXG.mjs';import {a as a$h}from'./chunk-MEYMETYC.mjs';import {a as a$i}from'./chunk-PR3HWZFH.mjs';import {b as b$9,e}from'./chunk-PHZZLBH3.mjs';import {b as b$7,f as f$1}from'./chunk-AKES5B6C.mjs';import {a as a$n}from'./chunk-2WAKHFPS.mjs';import {a as a$a}from'./chunk-NSC53QWT.mjs';import {a as a$d}from'./chunk-CGFLGZL4.mjs';import {c as c$1,b as b$1}from'./chunk-GX2IOGYR.mjs';import {b as b$b}from'./chunk-J3MJZQUJ.mjs';import {a as a$9}from'./chunk-O7XK2WIX.mjs';import {a as a$b}from'./chunk-GCZFXILF.mjs';import {a as a$l}from'./chunk-TDXALNX3.mjs';import {b as b$5,j as j$1}from'./chunk-4NYPVKDO.mjs';import {a as a$1}from'./chunk-X3AXUU3H.mjs';import {a as a$4}from'./chunk-RSKKEGJZ.mjs';import {a as a$2}from'./chunk-K6X2BHPP.mjs';import {a as a$e}from'./chunk-BGMVPFYK.mjs';import {a as a$3}from'./chunk-3FYY26ED.mjs';import {d}from'./chunk-MRJFGHFW.mjs';import {b,c}from'./chunk-TZ4MVY4E.mjs';import {c as c$3}from'./chunk-JDLUGVXG.mjs';import {a as a$7,b as b$2,g,e as e$1}from'./chunk-AUOQSTS5.mjs';import {a as a$f}from'./chunk-HXTAOYOD.mjs';import {a}from'./chunk-FXCHST4Z.mjs';import {a as a$5}from'./chunk-4QEH5CGK.mjs';import {BoldIcon,ItalicIcon,UnderlineIcon,ArrowUpCircleFilledIcon,AtIcon,XCircleFilledIcon,LinkIcon,XIcon}from'@baseline-ui/icons/20';import {layoutSprinkleValues,sprinkles}from'@baseline-ui/tokens';import mt,{useCallback,useImperativeHandle,useEffect,useRef,useState,useMemo,useLayoutEffect,useId,useContext,Fragment as Fragment$1}from'react';import {useGranularLayoutEffect}from'granular-hooks';import {jsx,jsxs,Fragment}from'react/jsx-runtime';import Hr from'just-camel-case';import {QuestionmarkCircleIcon,TextIcon,HighlightTextIcon}from'@baseline-ui/icons/24';import*as jo from'dompurify';import Qr from'just-kebab-case';import {createPortal}from'react-dom';/**
|
|
2
2
|
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a as a$1}from'./chunk-OAY74XPB.mjs';import {a as a$4}from'./chunk-2WAKHFPS.mjs';import {a as a$6}from'./chunk-NSC53QWT.mjs';import {b,c as c$1}from'./chunk-
|
|
1
|
+
import {a as a$1}from'./chunk-OAY74XPB.mjs';import {a as a$4}from'./chunk-2WAKHFPS.mjs';import {a as a$6}from'./chunk-NSC53QWT.mjs';import {b,c as c$1}from'./chunk-GX2IOGYR.mjs';import {a as a$3}from'./chunk-O7XK2WIX.mjs';import {a as a$5}from'./chunk-GCZFXILF.mjs';import {d}from'./chunk-JJPCZOOI.mjs';import {a as a$2}from'./chunk-K6X2BHPP.mjs';import {b as b$1,c}from'./chunk-TZ4MVY4E.mjs';import {a}from'./chunk-FXCHST4Z.mjs';import {a as a$7}from'./chunk-4QEH5CGK.mjs';import {XIcon}from'@baseline-ui/icons/20';import g from'react';import {jsxs,jsx}from'react/jsx-runtime';/**
|
|
2
2
|
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {b as b$1,a as a$8}from'./chunk-77BAFSDX.mjs';import {a,b as b$4,c}from'./chunk-
|
|
1
|
+
import {b as b$1,a as a$8}from'./chunk-77BAFSDX.mjs';import {a,b as b$4,c}from'./chunk-VU2PDOBR.mjs';import {a as a$c}from'./chunk-RC7QITNV.mjs';import {n,p}from'./chunk-7AY6C5M5.mjs';import {a as a$7}from'./chunk-YOBESAXG.mjs';import {b,c as c$1}from'./chunk-GX2IOGYR.mjs';import {b as b$2}from'./chunk-J3MJZQUJ.mjs';import {a as a$b}from'./chunk-O7XK2WIX.mjs';import {a as a$6}from'./chunk-GCZFXILF.mjs';import {a as a$5}from'./chunk-MEZNZ5W6.mjs';import {b as b$3}from'./chunk-WWSGOGLA.mjs';import {a as a$3}from'./chunk-66CUIXA6.mjs';import {a as a$1}from'./chunk-X3AXUU3H.mjs';import {a as a$9}from'./chunk-RSKKEGJZ.mjs';import {a as a$2}from'./chunk-3FYY26ED.mjs';import {a as a$a}from'./chunk-RT4LMB6X.mjs';import {a as a$4}from'./chunk-4QEH5CGK.mjs';import {CaretDownIcon}from'@baseline-ui/icons/8';import pe,{useMemo,useCallback}from'react';import {jsx,jsxs}from'react/jsx-runtime';/**
|
|
2
2
|
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {a}from'./chunk-N2XGJKZG.mjs';import c,{useRef,useState,useEffect}from'react';import {jsx}from'react/jsx-runtime';/**
|
|
2
|
+
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
5
|
+
* AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE PSPDFKIT LICENSE AGREEMENT.
|
|
6
|
+
* UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES.
|
|
7
|
+
* This notice may not be removed from this file.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
var f=process.env.NODE_ENV!=="production",u="BUI \u{1F30D}:",h=e=>{e.error===void 0?console.warn(`${u} ${e.message}`):console.warn(`${u} ${e.message}`,e.error);},S=1e3;function M(e,n){let o=new Set;return (s,r)=>{if(e.has(s)||o.has(s))return;e.size>=S&&(o=new Set(e),e.clear()),e.add(s);let t=n?.();if(!t){h(r());return}try{t(r());}catch(a){console.error(`${u} \`onMessageIssue\` threw; the issue it was given was dropped.`,a);}}}var E=new Set,L=c.createContext({messages:{},reportMessageIssue:f?M(E):void 0,setLang:()=>{}}),y=({children:e,messages:n={},shouldLogMissingMessages:o=f,onMessageIssue:s,...r})=>{let t=useRef(new Set),a$1=useRef(false),[v,g]=useState(r.locale||"");useEffect(()=>{a$1.current?t.current.clear():a$1.current=true;},[v,r.locale]);let d=useRef(s);d.current=s;let P=c.useMemo(()=>M(t.current,()=>d.current),[]),l=s||o?P:void 0,m=c.useMemo(()=>({messages:n,reportMessageIssue:l,setLang:g}),[n,l,g]);return jsx(a,{...r,children:jsx(L.Provider,{value:m,children:e})})};y.displayName="I18nProvider";export{f as a,M as b,L as c,y as d};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {c as c$1}from'./chunk-RJC3HQDZ.mjs';import {I}from'./chunk-
|
|
1
|
+
import {c as c$1}from'./chunk-RJC3HQDZ.mjs';import {I}from'./chunk-UMABUZ67.mjs';import {a as a$1}from'./chunk-2WAKHFPS.mjs';import {a}from'./chunk-O7XK2WIX.mjs';import {a as a$5}from'./chunk-MEZNZ5W6.mjs';import {a as a$4}from'./chunk-VDUFLHKK.mjs';import {e}from'./chunk-BGMVPFYK.mjs';import {a as a$3}from'./chunk-KEVERVHK.mjs';import {c}from'./chunk-JDLUGVXG.mjs';import {a as a$2}from'./chunk-4QEH5CGK.mjs';import {sprinkles}from'@baseline-ui/tokens';import M,{useMemo,useEffect}from'react';import {jsxs,jsx}from'react/jsx-runtime';/**
|
|
2
2
|
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a as a$2}from'./chunk-4SW77SGW.mjs';import {a as a$7}from'./chunk-RJWPSJX2.mjs';import {a as a$3}from'./chunk-
|
|
1
|
+
import {a as a$2}from'./chunk-4SW77SGW.mjs';import {a as a$7}from'./chunk-RJWPSJX2.mjs';import {a as a$3}from'./chunk-PR3HWZFH.mjs';import {a as a$1}from'./chunk-2WAKHFPS.mjs';import {a as a$8}from'./chunk-NSC53QWT.mjs';import {b,c as c$1}from'./chunk-GX2IOGYR.mjs';import {b as b$1}from'./chunk-J3MJZQUJ.mjs';import {a as a$4}from'./chunk-O7XK2WIX.mjs';import {a as a$5}from'./chunk-GCZFXILF.mjs';import {c}from'./chunk-JDLUGVXG.mjs';import {a}from'./chunk-FXCHST4Z.mjs';import {a as a$6}from'./chunk-4QEH5CGK.mjs';import {XIcon}from'@baseline-ui/icons/20';import Y from'react';import {jsx,jsxs,Fragment}from'react/jsx-runtime';/**
|
|
2
2
|
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {d as d$3,h as h$1}from'./chunk-TO6OQF2Y.mjs';import {c as c$6}from'./chunk-
|
|
1
|
+
import {d as d$3,h as h$1}from'./chunk-TO6OQF2Y.mjs';import {c as c$6}from'./chunk-VU2PDOBR.mjs';import {f,g}from'./chunk-7AY6C5M5.mjs';import {a as a$6}from'./chunk-2WAKHFPS.mjs';import {a as a$7}from'./chunk-NSC53QWT.mjs';import {a as a$1}from'./chunk-AC7OXVHA.mjs';import {c as c$2,b as b$6}from'./chunk-GX2IOGYR.mjs';import {a as a$5}from'./chunk-O7XK2WIX.mjs';import {a as a$i}from'./chunk-GCZFXILF.mjs';import {b as b$3}from'./chunk-WL27JGVG.mjs';import {a as a$c}from'./chunk-CV6JQGJ3.mjs';import {b}from'./chunk-N2XGJKZG.mjs';import {b as b$2}from'./chunk-4ZJMZB5B.mjs';import {d}from'./chunk-RCBUNCHV.mjs';import {e,c,h,b as b$1,d as d$1}from'./chunk-B7PSE5KC.mjs';import {a as a$h}from'./chunk-JJG67M2S.mjs';import {c as c$5}from'./chunk-6IRWW75G.mjs';import {e as e$2,b as b$4}from'./chunk-MVK5CB64.mjs';import {a as a$e}from'./chunk-XWLESSHN.mjs';import {a as a$b}from'./chunk-D3IZ4HBL.mjs';import {a as a$d}from'./chunk-I3RGYL4B.mjs';import {a as a$a}from'./chunk-RXSYDMT6.mjs';import {a as a$9}from'./chunk-X3AXUU3H.mjs';import {a as a$3}from'./chunk-K6X2BHPP.mjs';import {c as c$4}from'./chunk-Y4DRSGEJ.mjs';import {a as a$2}from'./chunk-3FYY26ED.mjs';import {d as d$2}from'./chunk-AQYBKDT2.mjs';import {a as a$f}from'./chunk-MRJFGHFW.mjs';import {c as c$1}from'./chunk-TZ4MVY4E.mjs';import {a}from'./chunk-KEVERVHK.mjs';import {c as c$3,e as e$3}from'./chunk-JDLUGVXG.mjs';import {g as g$1,i,e as e$1,f as f$1,a as a$g,b as b$5}from'./chunk-AUOQSTS5.mjs';import {a as a$4}from'./chunk-FXCHST4Z.mjs';import {a as a$8}from'./chunk-4QEH5CGK.mjs';import {CalendarIcon}from'@baseline-ui/icons/16';import Je,{createContext,forwardRef,useContext,useRef,useMemo,useState,useCallback,useEffect}from'react';import {createCalendar,endOfMonth,isSameMonth,isToday,isSameDay,DateFormatter,toCalendar,toCalendarDate,today,isEqualCalendar,getWeeksInMonth,startOfWeek,getDayOfWeek,endOfWeek,startOfMonth,maxDate,minDate,isEqualDay,startOfYear,GregorianCalendar,CalendarDate}from'@internationalized/date';import {jsx,jsxs,Fragment}from'react/jsx-runtime';import {CaretLeftIcon as CaretLeftIcon$1,CaretRightIcon as CaretRightIcon$1}from'@baseline-ui/icons/8';import {CaretLeftIcon,CaretRightIcon}from'@baseline-ui/icons/12';/**
|
|
2
2
|
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a as a$8}from'./chunk-
|
|
1
|
+
import {a as a$8}from'./chunk-535OT4US.mjs';import {a as a$4}from'./chunk-MLNPTVVX.mjs';import {a as a$3}from'./chunk-YV3WI6OV.mjs';import {b}from'./chunk-WL27JGVG.mjs';import {b as b$1}from'./chunk-YB3KW7JC.mjs';import {c}from'./chunk-Y4DRSGEJ.mjs';import {a as a$5}from'./chunk-3FYY26ED.mjs';import {a as a$1}from'./chunk-RT4LMB6X.mjs';import {a as a$7}from'./chunk-MRJFGHFW.mjs';import {c as c$1}from'./chunk-TZ4MVY4E.mjs';import {a as a$9}from'./chunk-KEVERVHK.mjs';import {a as a$6,c as c$2,e}from'./chunk-JDLUGVXG.mjs';import {g,e as e$1}from'./chunk-AUOQSTS5.mjs';import {a}from'./chunk-FXCHST4Z.mjs';import {a as a$2}from'./chunk-4QEH5CGK.mjs';import z,{useRef,useCallback,useEffect,useMemo,useState}from'react';import {useSyncExternalStore}from'use-sync-external-store/shim/index.js';import {jsx}from'react/jsx-runtime';/**
|
|
2
2
|
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {c,b}from'./chunk-
|
|
1
|
+
import {c,b}from'./chunk-GX2IOGYR.mjs';import {a}from'./chunk-JJG67M2S.mjs';import u,{useEffect,useCallback}from'react';/**
|
|
2
2
|
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a as a$2}from'./chunk-YCI6BEXQ.mjs';import {c,d,e,f,i,g,h as h$1}from'./chunk-N7MTFSWR.mjs';import {a as a$4}from'./chunk-UCZZLAPB.mjs';import {l,t}from'./chunk-SMAYNDQQ.mjs';import {a as a$3}from'./chunk-AZRPXTYJ.mjs';import {b,c as c$1}from'./chunk-
|
|
1
|
+
import {a as a$2}from'./chunk-YCI6BEXQ.mjs';import {c,d,e,f,i,g,h as h$1}from'./chunk-N7MTFSWR.mjs';import {a as a$4}from'./chunk-UCZZLAPB.mjs';import {l,t}from'./chunk-SMAYNDQQ.mjs';import {a as a$3}from'./chunk-AZRPXTYJ.mjs';import {b,c as c$1}from'./chunk-GX2IOGYR.mjs';import {a}from'./chunk-FXCHST4Z.mjs';import {a as a$1}from'./chunk-4QEH5CGK.mjs';import {CaretDownIcon}from'@baseline-ui/icons/12';import p from'react';import {jsx,jsxs,Fragment}from'react/jsx-runtime';/**
|
|
2
2
|
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a as a$6}from'./chunk-TI5RR7KX.mjs';import {a as a$b}from'./chunk-A24DWFQ2.mjs';import {a as a$a}from'./chunk-NGZRN4SF.mjs';import {b as b$1}from'./chunk-PAQQ7MQG.mjs';import {a as a$d}from'./chunk-MEYMETYC.mjs';import {b as b$3,e}from'./chunk-PHZZLBH3.mjs';import {b,c as c$1}from'./chunk-
|
|
1
|
+
import {a as a$6}from'./chunk-TI5RR7KX.mjs';import {a as a$b}from'./chunk-A24DWFQ2.mjs';import {a as a$a}from'./chunk-NGZRN4SF.mjs';import {b as b$1}from'./chunk-PAQQ7MQG.mjs';import {a as a$d}from'./chunk-MEYMETYC.mjs';import {b as b$3,e}from'./chunk-PHZZLBH3.mjs';import {b,c as c$1}from'./chunk-GX2IOGYR.mjs';import {b as b$6}from'./chunk-J3MJZQUJ.mjs';import {a as a$5}from'./chunk-O7XK2WIX.mjs';import {a as a$8}from'./chunk-GCZFXILF.mjs';import {a as a$4}from'./chunk-KUEDQO7P.mjs';import {b as b$5}from'./chunk-N2XGJKZG.mjs';import {b as b$7,j}from'./chunk-4NYPVKDO.mjs';import {a as a$7}from'./chunk-66CUIXA6.mjs';import {a as a$1}from'./chunk-PF3OQKXP.mjs';import {a as a$3}from'./chunk-BGMVPFYK.mjs';import {a}from'./chunk-RT4LMB6X.mjs';import {c,b as b$4}from'./chunk-TZ4MVY4E.mjs';import {b as b$2,a as a$2}from'./chunk-JDLUGVXG.mjs';import {b as b$8,f,a as a$c,e as e$1}from'./chunk-AUOQSTS5.mjs';import {a as a$9}from'./chunk-4QEH5CGK.mjs';import D,{useState,useRef,useCallback,useMemo,useEffect,createElement}from'react';import {MoreIcon}from'@baseline-ui/icons/24';import {jsxs,jsx,Fragment}from'react/jsx-runtime';/**
|
|
2
2
|
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {a as a$j}from'./chunk-FTYXFTJV.mjs';import {a as a$l}from'./chunk-DIHILOKU.mjs';import {c as c$4}from'./chunk-
|
|
1
|
+
import {a as a$j}from'./chunk-FTYXFTJV.mjs';import {a as a$l}from'./chunk-DIHILOKU.mjs';import {c as c$4}from'./chunk-VU2PDOBR.mjs';import {c as c$2}from'./chunk-RJC3HQDZ.mjs';import {I,j,f,e,p,F,A,H,i,B,s,C,G,z,h,g,m,q,D,E,t,l,v,y,u,a as a$m,w,d,c as c$6,x,k,b as b$8,o,n,r}from'./chunk-UMABUZ67.mjs';import {a as a$6,b as b$7,c as c$5,d as d$1}from'./chunk-EU75HMPG.mjs';import {a as a$o}from'./chunk-IUQOFRI3.mjs';import {a as a$h}from'./chunk-Y6XQJ4X2.mjs';import {a as a$b}from'./chunk-MEYMETYC.mjs';import {a as a$c}from'./chunk-PR3HWZFH.mjs';import {b as b$5,e as e$1}from'./chunk-PHZZLBH3.mjs';import {a as a$d}from'./chunk-NSC53QWT.mjs';import {b as b$2,c as c$3}from'./chunk-GX2IOGYR.mjs';import {b as b$4}from'./chunk-J3MJZQUJ.mjs';import {a as a$g}from'./chunk-O7XK2WIX.mjs';import {a as a$k}from'./chunk-GCZFXILF.mjs';import {a as a$f}from'./chunk-MEZNZ5W6.mjs';import {a as a$9}from'./chunk-YV3WI6OV.mjs';import {a as a$n}from'./chunk-JJPCZOOI.mjs';import {a as a$i}from'./chunk-ZGRRD3TU.mjs';import {b as b$3}from'./chunk-N2XGJKZG.mjs';import {b}from'./chunk-4ZJMZB5B.mjs';import {b as b$6,j as j$1}from'./chunk-4NYPVKDO.mjs';import {a as a$8}from'./chunk-UUBOEBYZ.mjs';import {a as a$e}from'./chunk-VDUFLHKK.mjs';import {a as a$7}from'./chunk-4PYEGHW5.mjs';import {a as a$5}from'./chunk-66CUIXA6.mjs';import {a as a$a}from'./chunk-X3AXUU3H.mjs';import {a as a$1}from'./chunk-YS3Y5KGV.mjs';import {a as a$3}from'./chunk-RSKKEGJZ.mjs';import {a as a$2}from'./chunk-K6X2BHPP.mjs';import {a}from'./chunk-3FYY26ED.mjs';import {b as b$1,c as c$1}from'./chunk-TZ4MVY4E.mjs';import {c}from'./chunk-JDLUGVXG.mjs';import {g as g$1}from'./chunk-AUOQSTS5.mjs';import {a as a$4}from'./chunk-4QEH5CGK.mjs';import No,{useCallback,useMemo,useEffect}from'react';import {jsxs,jsx,Fragment}from'react/jsx-runtime';import {TextIcon,PlusIcon,MinusIcon}from'@baseline-ui/icons/20';import {sprinkles}from'@baseline-ui/tokens';/**
|
|
2
2
|
* Copyright (c) 2023-2024 PSPDFKit GmbH. All rights reserved.
|
|
3
3
|
*
|
|
4
4
|
* THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW
|