@bbodek/internal-ui 0.0.39 → 0.0.41
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/{FilterCalendarPanel-CwM0y_Qr.js → FilterCalendarPanel-BeG-PaQN.js} +2 -2
- package/dist/FilterCalendarPanel-BeG-PaQN.js.map +1 -0
- package/dist/{FilterMultiSelectPanel--su7glyX.js → FilterMultiSelectPanel-9tw7oAJV.js} +2 -2
- package/dist/FilterMultiSelectPanel-9tw7oAJV.js.map +1 -0
- package/dist/{FilterSelectOptionPanel-BnooYJhk.js → FilterSelectOptionPanel-CuNLlVDp.js} +2 -2
- package/dist/FilterSelectOptionPanel-CuNLlVDp.js.map +1 -0
- package/dist/components/Button/IconButton/constants/index.d.ts.map +1 -1
- package/dist/components/FormRepeater/FormRepeater.d.ts +18 -0
- package/dist/components/FormRepeater/FormRepeater.d.ts.map +1 -0
- package/dist/components/FormRepeater/FormRepeaterDeleteButton.d.ts +5 -0
- package/dist/components/FormRepeater/FormRepeaterDeleteButton.d.ts.map +1 -0
- package/dist/components/FormRepeater/FormRepeaterFooter.d.ts +4 -0
- package/dist/components/FormRepeater/FormRepeaterFooter.d.ts.map +1 -0
- package/dist/components/FormRepeater/FormRepeaterHeader.d.ts +4 -0
- package/dist/components/FormRepeater/FormRepeaterHeader.d.ts.map +1 -0
- package/dist/components/FormRepeater/FormRepeaterHeaderContent.d.ts +4 -0
- package/dist/components/FormRepeater/FormRepeaterHeaderContent.d.ts.map +1 -0
- package/dist/components/FormRepeater/FormRepeaterList.d.ts +4 -0
- package/dist/components/FormRepeater/FormRepeaterList.d.ts.map +1 -0
- package/dist/components/FormRepeater/FormRepeaterListItem.d.ts +5 -0
- package/dist/components/FormRepeater/FormRepeaterListItem.d.ts.map +1 -0
- package/dist/components/FormRepeater/FormRepeaterListItemActionsContent.d.ts +4 -0
- package/dist/components/FormRepeater/FormRepeaterListItemActionsContent.d.ts.map +1 -0
- package/dist/components/FormRepeater/FormRepeaterListItemBadgeContent.d.ts +4 -0
- package/dist/components/FormRepeater/FormRepeaterListItemBadgeContent.d.ts.map +1 -0
- package/dist/components/FormRepeater/FormRepeaterListItemContent.d.ts +5 -0
- package/dist/components/FormRepeater/FormRepeaterListItemContent.d.ts.map +1 -0
- package/dist/components/FormRepeater/FormRepeaterListItemContentBase.d.ts +5 -0
- package/dist/components/FormRepeater/FormRepeaterListItemContentBase.d.ts.map +1 -0
- package/dist/components/FormRepeater/FormRepeaterListItemInputContent.d.ts +5 -0
- package/dist/components/FormRepeater/FormRepeaterListItemInputContent.d.ts.map +1 -0
- package/dist/components/FormRepeater/FormRepeaterListItemRadioContent.d.ts +5 -0
- package/dist/components/FormRepeater/FormRepeaterListItemRadioContent.d.ts.map +1 -0
- package/dist/components/FormRepeater/FormRepeaterListItemSelectContent.d.ts +6 -0
- package/dist/components/FormRepeater/FormRepeaterListItemSelectContent.d.ts.map +1 -0
- package/dist/components/FormRepeater/FormRepeaterListItemTextContent.d.ts +5 -0
- package/dist/components/FormRepeater/FormRepeaterListItemTextContent.d.ts.map +1 -0
- package/dist/components/FormRepeater/FormRepeaterListItemToggleContent.d.ts +5 -0
- package/dist/components/FormRepeater/FormRepeaterListItemToggleContent.d.ts.map +1 -0
- package/dist/components/FormRepeater/FormRepeaterResetButton.d.ts +5 -0
- package/dist/components/FormRepeater/FormRepeaterResetButton.d.ts.map +1 -0
- package/dist/components/FormRepeater/constants/index.d.ts +3 -0
- package/dist/components/FormRepeater/constants/index.d.ts.map +1 -0
- package/dist/components/FormRepeater/context/FormRepeaterContext.d.ts +5 -0
- package/dist/components/FormRepeater/context/FormRepeaterContext.d.ts.map +1 -0
- package/dist/components/FormRepeater/context/FormRepeaterListContext.d.ts +5 -0
- package/dist/components/FormRepeater/context/FormRepeaterListContext.d.ts.map +1 -0
- package/dist/components/FormRepeater/context/FormRepeaterListItemContentContext.d.ts +5 -0
- package/dist/components/FormRepeater/context/FormRepeaterListItemContentContext.d.ts.map +1 -0
- package/dist/components/FormRepeater/context/types.d.ts +20 -0
- package/dist/components/FormRepeater/context/types.d.ts.map +1 -0
- package/dist/components/FormRepeater/hooks/index.d.ts +3 -0
- package/dist/components/FormRepeater/hooks/index.d.ts.map +1 -0
- package/dist/components/FormRepeater/hooks/types.d.ts +15 -0
- package/dist/components/FormRepeater/hooks/types.d.ts.map +1 -0
- package/dist/components/FormRepeater/hooks/useFormRepeater.d.ts +7 -0
- package/dist/components/FormRepeater/hooks/useFormRepeater.d.ts.map +1 -0
- package/dist/components/FormRepeater/index.d.ts +12 -0
- package/dist/components/FormRepeater/index.d.ts.map +1 -0
- package/dist/components/FormRepeater/types/index.d.ts +29 -0
- package/dist/components/FormRepeater/types/index.d.ts.map +1 -0
- package/dist/components/Select/Single/SearchSelect/SearchSelect.d.ts +1 -1
- package/dist/components/Select/Single/SearchSelect/SearchSelect.d.ts.map +1 -1
- package/dist/components/Select/Single/Select/Select.d.ts +1 -1
- package/dist/components/Select/Single/Select/Select.d.ts.map +1 -1
- package/dist/components/Select/Single/shared/SingleSelectBase.d.ts +1 -1
- package/dist/components/Select/Single/shared/SingleSelectBase.d.ts.map +1 -1
- package/dist/components/Select/Single/shared/SingleSelectBaseTrigger.d.ts +1 -1
- package/dist/components/Select/Single/shared/SingleSelectBaseTrigger.d.ts.map +1 -1
- package/dist/components/Select/Single/shared/types/index.d.ts +1 -0
- package/dist/components/Select/Single/shared/types/index.d.ts.map +1 -1
- package/dist/components/Table/TableBody.d.ts.map +1 -1
- package/dist/components/Table/TableHead.d.ts.map +1 -1
- package/dist/components/Table/TableRow.d.ts.map +1 -1
- package/dist/components/Table/types/index.d.ts +1 -2
- package/dist/components/Table/types/index.d.ts.map +1 -1
- package/dist/components/index.d.ts +2 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/shared/types/index.d.ts +2 -1
- package/dist/components/shared/types/index.d.ts.map +1 -1
- package/dist/index-BTH9Q27n.js +2 -0
- package/dist/index-BTH9Q27n.js.map +1 -0
- package/dist/index.es.js +1 -1
- package/dist/{useFilterSelectOptionPanel-0L_9PsXD.js → useFilterSelectOptionPanel-v-GQEW8u.js} +2 -2
- package/dist/useFilterSelectOptionPanel-v-GQEW8u.js.map +1 -0
- package/package.json +1 -1
- package/dist/FilterCalendarPanel-CLt8IWjE.js +0 -2
- package/dist/FilterCalendarPanel-CLt8IWjE.js.map +0 -1
- package/dist/FilterCalendarPanel-CwM0y_Qr.js.map +0 -1
- package/dist/FilterCalendarPanel-DEQRln_e.js +0 -2
- package/dist/FilterCalendarPanel-DEQRln_e.js.map +0 -1
- package/dist/FilterCalendarPanel-ontNv1n0.js +0 -2
- package/dist/FilterCalendarPanel-ontNv1n0.js.map +0 -1
- package/dist/FilterMultiSelectPanel--su7glyX.js.map +0 -1
- package/dist/FilterMultiSelectPanel-AHR5LuTQ.js +0 -2
- package/dist/FilterMultiSelectPanel-AHR5LuTQ.js.map +0 -1
- package/dist/FilterMultiSelectPanel-CVyICb54.js +0 -2
- package/dist/FilterMultiSelectPanel-CVyICb54.js.map +0 -1
- package/dist/FilterMultiSelectPanel-CqYtkmVx.js +0 -2
- package/dist/FilterMultiSelectPanel-CqYtkmVx.js.map +0 -1
- package/dist/FilterSelectOptionPanel-BnooYJhk.js.map +0 -1
- package/dist/FilterSelectOptionPanel-D_5dyJxw.js +0 -2
- package/dist/FilterSelectOptionPanel-D_5dyJxw.js.map +0 -1
- package/dist/FilterSelectOptionPanel-MyMj76WS.js +0 -2
- package/dist/FilterSelectOptionPanel-MyMj76WS.js.map +0 -1
- package/dist/FilterSelectOptionPanel-vlTQeMaA.js +0 -2
- package/dist/FilterSelectOptionPanel-vlTQeMaA.js.map +0 -1
- package/dist/components/Calendar/hooks/effects/useCalendarSyncExternalValueEffect.d.ts +0 -4
- package/dist/components/Calendar/hooks/effects/useCalendarSyncExternalValueEffect.d.ts.map +0 -1
- package/dist/components/Select/Multi/shared/hooks/effects/useMultiSelectBaseInitialOptionsEffect.d.ts +0 -4
- package/dist/components/Select/Multi/shared/hooks/effects/useMultiSelectBaseInitialOptionsEffect.d.ts.map +0 -1
- package/dist/index-B2PCSwsw.js +0 -1034
- package/dist/index-B2PCSwsw.js.map +0 -1
- package/dist/index-BPmOngUD.js +0 -1034
- package/dist/index-BPmOngUD.js.map +0 -1
- package/dist/index-CmFoioiH.js +0 -1034
- package/dist/index-CmFoioiH.js.map +0 -1
- package/dist/index-DD9BI4Hu.js +0 -2
- package/dist/index-DD9BI4Hu.js.map +0 -1
- package/dist/useFilterSelectOptionPanel-0L_9PsXD.js.map +0 -1
- package/dist/useFilterSelectOptionPanel-CJe5Y6EL.js +0 -2
- package/dist/useFilterSelectOptionPanel-CJe5Y6EL.js.map +0 -1
- package/dist/useFilterSelectOptionPanel-CKEThBnL.js +0 -2
- package/dist/useFilterSelectOptionPanel-CKEThBnL.js.map +0 -1
- package/dist/useFilterSelectOptionPanel-DnKejkSv.js +0 -2
- package/dist/useFilterSelectOptionPanel-DnKejkSv.js.map +0 -1
- /package/dist/components/Filter/{FIlterHeaderCloseButton.d.ts → FilterHeaderCloseButton.d.ts} +0 -0
- /package/dist/components/Filter/{FIlterHeaderCloseButton.d.ts.map → FilterHeaderCloseButton.d.ts.map} +0 -0
- /package/dist/components/Filter/{FIlterHeaderMobileCloseButton.d.ts → FilterHeaderMobileCloseButton.d.ts} +0 -0
- /package/dist/components/Filter/{FIlterHeaderMobileCloseButton.d.ts.map → FilterHeaderMobileCloseButton.d.ts.map} +0 -0
- /package/dist/components/Filter/{FIlterHeaderTitle.d.ts → FilterHeaderTitle.d.ts} +0 -0
- /package/dist/components/Filter/{FIlterHeaderTitle.d.ts.map → FilterHeaderTitle.d.ts.map} +0 -0
- /package/dist/components/Filter/{FIlterMultiSelectButton.d.ts → FilterMultiSelectButton.d.ts} +0 -0
- /package/dist/components/Filter/{FIlterMultiSelectButton.d.ts.map → FilterMultiSelectButton.d.ts.map} +0 -0
- /package/dist/components/Filter/context/{useFIlterPanelContext.d.ts → useFilterPanelContext.d.ts} +0 -0
- /package/dist/components/Filter/context/{useFIlterPanelContext.d.ts.map → useFilterPanelContext.d.ts.map} +0 -0
package/dist/index-B2PCSwsw.js
DELETED
|
@@ -1,1034 +0,0 @@
|
|
|
1
|
-
import e,{jsx as t,jsxs as n,Fragment as r}from"react/jsx-runtime";import*as o from"react";import a,{createContext as i,useContext as E,useEffect as l,useLayoutEffect as s,useState as c,cloneElement as u,isValidElement as d,memo as O,useCallback as R,useMemo as p,useRef as S,useId as f,Children as A,createElement as C}from"react";import*as M from"react-dom";import T,{createPortal as N}from"react-dom";import{useScrollLockEffect as I,useExecuteFunction as h,useClickOutside as m}from"@bbodek/hooks";import{toParseDateType as D,toString as b,isSame as g,isBetween as _,isAfter as y,isBefore as L,now as P,timezone as v,toPaddedString as F,endOf as x,date as Y,day as w,year as B,month as G,mergeRefs as U,highlightText as $}from"@bbodek/utils";function H(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=H(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function W(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=H(e))&&(r&&(r+=" "),r+=t);return r}const k=i(void 0),V=({hasTitle:e,theme:n,collapsible:r,actionOption:o,useClose:a,collapsed:i,setCollapsed:E,setVisible:l,children:s})=>t(k.Provider,{value:{hasTitle:e,theme:n,collapsible:r,actionOption:o,useClose:a,collapsed:i,setCollapsed:E,setVisible:l},children:s}),j=()=>{const e=E(k);if(!e)throw new Error("useAlertContext must be used within a AlertContext");return e},J="mobile",K="tablet",X="desktop",z="circle-notch",q={FILLED:"filled",OUTLINED:"outlined",TONAL:"tonal",TEXT:"text"},Q={PRIMARY:"primary",GRAY:"gray",RED:"red",GREEN:"green",YELLOW:"yellow"},Z={XS:"xs",SM:"sm",MD:"md",LG:"lg"},ee={DEFAULT:"default",HOVER:"hover",PRESSED:"pressed",DISABLED:"disabled"},te={LEFT:"left",RIGHT:"right"},ne={[Q.PRIMARY]:{[q.FILLED]:{[ee.DEFAULT]:"bg-in-primary-06 text-in-white",[ee.HOVER]:"hover:bg-in-primary-07",[ee.PRESSED]:"active:bg-in-primary-07",[ee.DISABLED]:"bg-in-gray-02 text-in-gray-05"},[q.OUTLINED]:{[ee.DEFAULT]:"border-in-primary-05 bg-in-white text-in-primary-06",[ee.HOVER]:"hover:bg-in-primary-01",[ee.PRESSED]:"active:bg-in-primary-01",[ee.DISABLED]:"border-in-gray-02 text-in-gray-05 bg-in-white"},[q.TONAL]:{[ee.DEFAULT]:"bg-in-primary-02 text-in-primary-06",[ee.HOVER]:"hover:bg-in-primary-03",[ee.PRESSED]:"active:bg-in-primary-03",[ee.DISABLED]:"bg-in-gray-01 text-in-gray-04"},[q.TEXT]:{[ee.DEFAULT]:"text-in-primary-06",[ee.HOVER]:"hover:text-in-primary-08",[ee.PRESSED]:"active:text-in-primary-08",[ee.DISABLED]:"text-in-gray-04"}},[Q.GRAY]:{[q.OUTLINED]:{[ee.DEFAULT]:"bg-in-white border-in-gray-02 text-in-gray-07",[ee.HOVER]:"hover:bg-in-gray-01 hover:border-in-gray-03",[ee.PRESSED]:"active:bg-in-gray-01 active:border-in-gray-03",[ee.DISABLED]:"text-in-gray-04 bg-in-white border-in-gray-02"},[q.TONAL]:{[ee.DEFAULT]:"bg-in-gray-01 text-in-gray-07",[ee.HOVER]:"hover:bg-in-gray-02",[ee.PRESSED]:"active:bg-in-gray-02",[ee.DISABLED]:"text-in-gray-04 bg-in-gray-01"},[q.TEXT]:{[ee.DEFAULT]:"text-in-gray-07",[ee.HOVER]:"hover:text-in-black",[ee.PRESSED]:"active:text-in-black",[ee.DISABLED]:"text-in-gray-04"}},[Q.RED]:{[q.FILLED]:{[ee.DEFAULT]:"bg-in-red-05 text-in-white",[ee.HOVER]:"hover:bg-in-red-06",[ee.PRESSED]:"active:bg-in-red-06",[ee.DISABLED]:"bg-in-gray-02 text-in-gray-05"},[q.OUTLINED]:{[ee.DEFAULT]:"border-in-red-05 bg-in-white text-in-red-06",[ee.HOVER]:"hover:bg-in-red-01",[ee.PRESSED]:"active:bg-in-red-01",[ee.DISABLED]:"border-in-gray-02 text-in-gray-05 bg-in-white"},[q.TONAL]:{[ee.DEFAULT]:"bg-in-red-02 text-in-red-06",[ee.HOVER]:"hover:bg-in-red-03",[ee.PRESSED]:"active:bg-in-red-03",[ee.DISABLED]:"bg-in-gray-01 text-in-gray-04"},[q.TEXT]:{[ee.DEFAULT]:"text-in-red-06",[ee.HOVER]:"hover:text-in-red-07",[ee.PRESSED]:"active:text-in-red-07",[ee.DISABLED]:"text-in-gray-04"}},[Q.GREEN]:{[q.FILLED]:{[ee.DEFAULT]:"bg-in-green-05 text-in-white",[ee.HOVER]:"hover:bg-in-green-06",[ee.PRESSED]:"active:bg-in-green-06",[ee.DISABLED]:"bg-in-gray-02 text-in-gray-05"},[q.OUTLINED]:{[ee.DEFAULT]:"border-in-green-05 bg-in-white text-in-green-06",[ee.HOVER]:"hover:bg-in-green-01",[ee.PRESSED]:"active:bg-in-green-01",[ee.DISABLED]:"border-in-gray-02 text-in-gray-05 bg-in-white"},[q.TONAL]:{[ee.DEFAULT]:"bg-in-green-02 text-in-green-06",[ee.HOVER]:"hover:bg-in-green-03",[ee.PRESSED]:"active:bg-in-green-03",[ee.DISABLED]:"bg-in-gray-01 text-in-gray-04"},[q.TEXT]:{[ee.DEFAULT]:"text-in-green-06",[ee.HOVER]:"hover:text-in-green-07",[ee.PRESSED]:"active:text-in-green-07",[ee.DISABLED]:"text-in-gray-04"}},[Q.YELLOW]:{[q.FILLED]:{[ee.DEFAULT]:"bg-in-yellow-04 text-in-yellow-09",[ee.HOVER]:"hover:bg-in-yellow-05",[ee.PRESSED]:"active:bg-in-yellow-05",[ee.DISABLED]:"bg-in-gray-02 text-in-gray-05"},[q.OUTLINED]:{[ee.DEFAULT]:"border-in-yellow-04 bg-in-white text-in-yellow-07",[ee.HOVER]:"hover:bg-in-yellow-01",[ee.PRESSED]:"active:bg-in-yellow-01",[ee.DISABLED]:"border-in-gray-02 text-in-gray-05 bg-in-white"},[q.TONAL]:{[ee.DEFAULT]:"bg-in-yellow-02 text-in-yellow-07",[ee.HOVER]:"hover:bg-in-yellow-03",[ee.PRESSED]:"active:bg-in-yellow-03",[ee.DISABLED]:"bg-in-gray-01 text-in-gray-04"},[q.TEXT]:{[ee.DEFAULT]:"text-in-yellow-07",[ee.HOVER]:"hover:text-in-yellow-08",[ee.PRESSED]:"active:text-in-yellow-08",[ee.DISABLED]:"text-in-gray-04"}}},re={[Z.XS]:{DEFAULT:"in-button-xs",PADDING:"in-button-xs-padding",ROUNDED:"in-button-xs-rounded",GAP:"in-button-xs-gap"},[Z.SM]:{DEFAULT:"in-button-sm",PADDING:"in-button-sm-padding",ROUNDED:"in-button-sm-rounded",GAP:"in-button-sm-gap"},[Z.MD]:{DEFAULT:"in-button-md",PADDING:"in-button-md-padding",ROUNDED:"in-button-md-rounded",GAP:"in-button-md-gap"},[Z.LG]:{DEFAULT:"in-button-lg",PADDING:"in-button-lg-padding",ROUNDED:"in-button-lg-rounded",GAP:"in-button-lg-gap"}},oe={[Z.XS]:"in-button-xs-icon",[Z.SM]:"in-button-sm-icon",[Z.MD]:"in-button-md-icon",[Z.LG]:"in-button-lg-icon"},ae={[J]:{[Z.XS]:{DEFAULT:"in-mobile:in-button-xs",PADDING:"in-mobile:in-button-xs-padding",ROUNDED:"in-mobile:in-button-xs-padding",GAP:"in-mobile:in-button-xs-padding"},[Z.SM]:{DEFAULT:"in-mobile:in-button-sm",PADDING:"in-mobile:in-button-sm-padding",ROUNDED:"in-mobile:in-button-sm-padding",GAP:"in-mobile:in-button-sm-padding"},[Z.MD]:{DEFAULT:"in-mobile:in-button-md",PADDING:"in-mobile:in-button-md-padding",ROUNDED:"in-mobile:in-button-md-padding",GAP:"in-mobile:in-button-md-padding"},[Z.LG]:{DEFAULT:"in-mobile:in-button-lg",PADDING:"in-mobile:in-button-lg-padding",ROUNDED:"in-mobile:in-button-lg-padding",GAP:"in-mobile:in-button-lg-padding"}},[K]:{[Z.XS]:{DEFAULT:"in-tablet:in-button-xs",PADDING:"in-tablet:in-button-xs-padding",ROUNDED:"in-tablet:in-button-xs-rounded",GAP:"in-tablet:in-button-xs-gap"},[Z.SM]:{DEFAULT:"in-tablet:in-button-sm",PADDING:"in-tablet:in-button-sm-padding",ROUNDED:"in-tablet:in-button-sm-rounded",GAP:"in-tablet:in-button-sm-gap"},[Z.MD]:{DEFAULT:"in-tablet:in-button-md",PADDING:"in-tablet:in-button-md-padding",ROUNDED:"in-tablet:in-button-md-rounded",GAP:"in-tablet:in-button-md-gap"},[Z.LG]:{DEFAULT:"in-tablet:in-button-lg",PADDING:"in-tablet:in-button-lg-padding",ROUNDED:"in-tablet:in-button-lg-rounded",GAP:"in-tablet:in-button-lg-gap"}},[X]:{[Z.XS]:{DEFAULT:"in-desktop:in-button-xs",PADDING:"in-desktop:in-button-xs-padding",ROUNDED:"in-desktop:in-button-xs-rounded",GAP:"in-desktop:in-button-xs-gap"},[Z.SM]:{DEFAULT:"in-desktop:in-button-sm",PADDING:"in-desktop:in-button-sm-padding",ROUNDED:"in-desktop:in-button-sm-rounded",GAP:"in-desktop:in-button-sm-gap"},[Z.MD]:{DEFAULT:"in-desktop:in-button-md",PADDING:"in-desktop:in-button-md-padding",ROUNDED:"in-desktop:in-button-md-rounded",GAP:"in-desktop:in-button-md-gap"},[Z.LG]:{DEFAULT:"in-desktop:in-button-lg",PADDING:"in-desktop:in-button-lg-padding",ROUNDED:"in-desktop:in-button-lg-rounded",GAP:"in-desktop:in-button-lg-gap"}}},ie={[J]:{[Z.XS]:"in-mobile:in-button-xs-icon",[Z.SM]:"in-mobile:in-button-sm-icon",[Z.MD]:"in-mobile:in-button-md-icon",[Z.LG]:"in-mobile:in-button-lg-icon"},[K]:{[Z.XS]:"in-tablet:in-button-xs-icon",[Z.SM]:"in-tablet:in-button-sm-icon",[Z.MD]:"in-tablet:in-button-md-icon",[Z.LG]:"in-tablet:in-button-lg-icon"},[X]:{[Z.XS]:"in-desktop:in-button-xs-icon",[Z.SM]:"in-desktop:in-button-sm-icon",[Z.MD]:"in-desktop:in-button-md-icon",[Z.LG]:"in-desktop:in-button-lg-icon"}},Ee=({styles:e,responsive:t={}})=>Object.entries(t).map((([t,n])=>e[t][n]));var le=(e=>(e.REGULAR="regular",e.THIN="thin",e.LIGHT="light",e.BOLD="bold",e.FILL="fill",e.DUOTONE="duotone",e))(le||{}),se=(e=>(e.ARROWS="arrows",e.BRAND="brands",e.COMMERCE="commerce",e.COMMUNICATION="communications",e.DESIGN="design",e.DEVELOPMENT="technology & development",e.EDITOR="editor",e.FINANCE="finances",e.GAMES="games",e.HEALTH="health & wellness",e.MAP="maps & travel",e.MEDIA="media",e.NATURE="nature",e.OBJECTS="objects",e.OFFICE="office",e.PEOPLE="people",e.SYSTEM="system",e.WEATHER="weather",e))(se||{}),ce=(e=>(e.ARROWS="arrows",e.BRAND="brands",e.COMMERCE="commerce",e.COMMUNICATION="communication",e.DESIGN="design",e.DEVELOPMENT="technology & development",e.EDUCATION="education",e.FINANCE="math & finance",e.GAMES="games",e.HEALTH="health & wellness",e.MAP="maps & travel",e.MEDIA="media",e.OFFICE="office & editing",e.PEOPLE="people",e.SECURITY="security & warnings",e.SYSTEM="system & devices",e.TIME="time",e.WEATHER="weather & nature",e))(ce||{});se.FINANCE,se.NATURE,ce.WEATHER,se.COMMUNICATION,ce.COMMUNICATION,se.COMMUNICATION,ce.COMMUNICATION,se.MAP,ce.MAP,se.MAP,se.OBJECTS,ce.MAP,se.MAP,se.OBJECTS,ce.MAP,se.MAP,se.OBJECTS,ce.MAP,se.MAP,se.OBJECTS,ce.MAP,se.MAP,se.OBJECTS,ce.MAP,se.MAP,se.OBJECTS,ce.MAP,se.MEDIA,se.SYSTEM,ce.MEDIA,se.SYSTEM,ce.TIME,se.GAMES,ce.GAMES,se.DESIGN,se.EDITOR,ce.DESIGN,se.DESIGN,se.EDITOR,ce.DESIGN,se.DESIGN,se.EDITOR,ce.DESIGN,se.DESIGN,se.EDITOR,ce.DESIGN,se.DESIGN,se.EDITOR,ce.DESIGN,se.DESIGN,se.EDITOR,ce.DESIGN,se.DESIGN,se.EDITOR,ce.DESIGN,se.DESIGN,se.EDITOR,ce.DESIGN,se.DESIGN,se.EDITOR,ce.DESIGN,se.DESIGN,se.EDITOR,ce.DESIGN,se.DESIGN,se.EDITOR,ce.DESIGN,se.DESIGN,se.EDITOR,ce.DESIGN,se.BRAND,ce.BRAND,se.HEALTH,se.MAP,se.OBJECTS,ce.HEALTH,se.COMMUNICATION,se.MAP,se.OBJECTS,ce.MAP,se.COMMUNICATION,se.MAP,se.OBJECTS,ce.MAP,se.BRAND,se.DEVELOPMENT,se.SYSTEM,ce.BRAND,se.DESIGN,se.OBJECTS,ce.DESIGN,se.BRAND,se.DEVELOPMENT,ce.BRAND,se.DESIGN,se.MEDIA,ce.MEDIA,se.BRAND,ce.BRAND,se.COMMUNICATION,se.SYSTEM,ce.SYSTEM,se.BRAND,ce.BRAND,se.BRAND,se.MEDIA,ce.BRAND,se.FINANCE,se.DEVELOPMENT,ce.FINANCE,se.OFFICE,se.SYSTEM,ce.OFFICE,se.OBJECTS,se.COMMERCE,ce.COMMERCE,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,se.DESIGN,se.EDITOR,ce.ARROWS,se.ARROWS,se.DESIGN,se.EDITOR,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,se.DESIGN,se.EDITOR,ce.ARROWS,se.ARROWS,se.DESIGN,se.EDITOR,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.MEDIA,se.OBJECTS,ce.MEDIA,se.MEDIA,se.OBJECTS,ce.MEDIA,se.MEDIA,se.OBJECTS,ce.MEDIA,se.HEALTH,ce.HEALTH,se.COMMUNICATION,ce.COMMUNICATION,se.COMMUNICATION,ce.COMMUNICATION,se.COMMUNICATION,ce.COMMUNICATION,se.DEVELOPMENT,se.NATURE,ce.WEATHER,se.COMMERCE,se.NATURE,ce.COMMERCE,se.COMMERCE,se.OBJECTS,ce.COMMERCE,se.PEOPLE,se.HEALTH,ce.PEOPLE,se.COMMERCE,se.PEOPLE,ce.COMMERCE,se.COMMERCE,se.OBJECTS,ce.COMMERCE,se.SYSTEM,ce.SYSTEM,se.COMMERCE,se.OBJECTS,ce.COMMERCE,se.COMMERCE,se.OBJECTS,ce.COMMERCE,se.COMMERCE,se.OBJECTS,ce.COMMERCE,se.HEALTH,ce.HEALTH,se.FINANCE,se.MAP,ce.FINANCE,se.HEALTH,ce.HEALTH,se.COMMERCE,se.SYSTEM,ce.COMMERCE,se.COMMERCE,se.MAP,ce.COMMERCE,se.MAP,se.OBJECTS,ce.MAP,se.GAMES,se.HEALTH,se.OBJECTS,ce.GAMES,se.COMMERCE,se.OBJECTS,ce.COMMERCE,se.GAMES,se.HEALTH,se.OBJECTS,ce.GAMES,se.COMMERCE,se.OBJECTS,ce.COMMERCE,se.GAMES,se.HEALTH,se.OBJECTS,ce.GAMES,se.OBJECTS,ce.COMMERCE,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.GAMES,se.HEALTH,se.OBJECTS,ce.GAMES,se.COMMERCE,se.OBJECTS,ce.COMMERCE,se.HEALTH,se.MAP,se.OBJECTS,ce.HEALTH,se.COMMERCE,se.MAP,se.OBJECTS,ce.COMMERCE,se.COMMERCE,se.MAP,se.OBJECTS,ce.COMMERCE,se.BRAND,se.DESIGN,ce.BRAND,se.SYSTEM,se.OBJECTS,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.SYSTEM,se.OBJECTS,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.COMMERCE,se.OBJECTS,ce.COMMERCE,se.DESIGN,ce.DESIGN,se.HEALTH,se.MAP,se.OBJECTS,ce.MAP,se.DEVELOPMENT,se.SYSTEM,ce.DEVELOPMENT,se.NATURE,se.OBJECTS,se.MAP,ce.COMMERCE,se.HEALTH,ce.SECURITY,se.NATURE,ce.WEATHER,se.COMMERCE,se.DESIGN,ce.DESIGN,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.MAP,se.OBJECTS,ce.MAP,se.GAMES,se.OBJECTS,ce.GAMES,se.NATURE,se.HEALTH,ce.WEATHER,se.OFFICE,se.MEDIA,se.OBJECTS,ce.EDUCATION,se.OFFICE,se.MEDIA,se.OBJECTS,ce.EDUCATION,se.OFFICE,se.MEDIA,se.OBJECTS,ce.EDUCATION,se.OFFICE,se.MEDIA,se.OBJECTS,se.MAP,ce.EDUCATION,se.OFFICE,se.MEDIA,se.OBJECTS,ce.EDUCATION,se.OFFICE,se.MEDIA,se.OBJECTS,ce.EDUCATION,se.OFFICE,se.MEDIA,se.OBJECTS,ce.EDUCATION,se.OFFICE,se.OBJECTS,ce.EDUCATION,se.OFFICE,se.OBJECTS,ce.EDUCATION,se.OFFICE,se.MAP,se.MEDIA,se.OBJECTS,ce.EDUCATION,se.COMMERCE,se.OBJECTS,se.HEALTH,ce.COMMERCE,se.GAMES,se.HEALTH,se.OBJECTS,ce.GAMES,se.DESIGN,ce.DESIGN,se.COMMERCE,se.MAP,se.OBJECTS,ce.COMMERCE,se.COMMERCE,se.OBJECTS,se.MAP,ce.COMMERCE,se.GAMES,se.HEALTH,se.OBJECTS,ce.GAMES,se.OFFICE,se.SYSTEM,ce.OFFICE,se.OFFICE,se.SYSTEM,ce.OFFICE,se.GAMES,se.HEALTH,se.OBJECTS,ce.GAMES,se.DEVELOPMENT,se.EDITOR,ce.DEVELOPMENT,se.DEVELOPMENT,se.EDITOR,ce.DEVELOPMENT,se.DEVELOPMENT,se.EDITOR,ce.DEVELOPMENT,se.DEVELOPMENT,se.EDITOR,ce.DEVELOPMENT,se.HEALTH,se.NATURE,ce.HEALTH,se.COMMERCE,se.MAP,se.OBJECTS,ce.COMMERCE,se.COMMERCE,se.MAP,ce.COMMERCE,se.MAP,se.OBJECTS,ce.COMMERCE,se.OFFICE,se.OBJECTS,ce.OFFICE,se.OFFICE,se.OBJECTS,ce.OFFICE,se.COMMUNICATION,se.MEDIA,se.SYSTEM,ce.COMMUNICATION,se.OBJECTS,ce.COMMERCE,se.COMMUNICATION,se.SYSTEM,ce.SYSTEM,se.COMMUNICATION,se.SYSTEM,ce.SYSTEM,se.DEVELOPMENT,se.NATURE,ce.DEVELOPMENT,se.DEVELOPMENT,se.NATURE,ce.DEVELOPMENT,se.DEVELOPMENT,se.NATURE,ce.DEVELOPMENT,se.COMMERCE,se.MAP,ce.COMMERCE,se.COMMERCE,se.MAP,ce.COMMERCE,se.COMMERCE,se.MAP,ce.COMMERCE,se.COMMERCE,se.MAP,ce.COMMERCE,se.COMMERCE,se.OBJECTS,ce.COMMERCE,se.MAP,se.OBJECTS,ce.MAP,se.NATURE,ce.WEATHER,se.MAP,se.OBJECTS,ce.MAP,se.NATURE,ce.WEATHER,se.OBJECTS,ce.COMMERCE,se.DEVELOPMENT,se.FINANCE,se.OFFICE,se.OBJECTS,ce.FINANCE,se.OFFICE,se.SYSTEM,ce.TIME,se.OFFICE,se.SYSTEM,ce.TIME,se.OFFICE,se.SYSTEM,ce.TIME,se.OFFICE,se.SYSTEM,ce.TIME,se.OFFICE,se.SYSTEM,ce.TIME,se.OFFICE,se.SYSTEM,ce.TIME,se.OFFICE,se.SYSTEM,ce.TIME,se.OFFICE,se.SYSTEM,ce.TIME,se.OFFICE,se.SYSTEM,ce.TIME,se.OFFICE,se.SYSTEM,ce.TIME,se.OFFICE,se.SYSTEM,ce.TIME,se.MAP,se.OBJECTS,ce.COMMERCE,se.MEDIA,se.SYSTEM,se.OBJECTS,ce.MEDIA,se.MEDIA,se.SYSTEM,ce.MEDIA,se.MEDIA,se.SYSTEM,ce.MEDIA,se.MEDIA,se.SYSTEM,ce.MEDIA,se.NATURE,ce.WEATHER,se.MAP,se.OBJECTS,ce.MAP,se.COMMERCE,se.OBJECTS,ce.COMMERCE,se.MAP,se.OBJECTS,ce.MAP,se.MAP,se.OBJECTS,ce.MAP,se.COMMERCE,se.FINANCE,se.OBJECTS,ce.COMMERCE,se.DESIGN,se.SYSTEM,ce.OFFICE,se.DESIGN,se.SYSTEM,ce.OFFICE,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.ARROWS,ce.ARROWS,se.COMMERCE,se.NATURE,ce.COMMERCE,se.COMMERCE,se.OBJECTS,ce.COMMERCE,se.MEDIA,se.OBJECTS,ce.MEDIA,se.MAP,se.OBJECTS,se.GAMES,ce.GAMES,se.NATURE,ce.WEATHER,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.COMMUNICATION,se.OBJECTS,ce.EDUCATION,se.OBJECTS,se.COMMERCE,ce.COMMERCE,se.MAP,se.OBJECTS,ce.EDUCATION,se.MAP,se.OBJECTS,ce.EDUCATION,se.MAP,se.OBJECTS,se.PEOPLE,ce.EDUCATION,se.MAP,se.COMMERCE,se.OBJECTS,ce.COMMERCE,se.MAP,se.OBJECTS,ce.MAP,se.FINANCE,se.OFFICE,ce.FINANCE,se.FINANCE,se.OFFICE,ce.FINANCE,se.FINANCE,se.OFFICE,ce.FINANCE,se.FINANCE,se.OFFICE,ce.FINANCE,se.FINANCE,se.OFFICE,ce.FINANCE,se.FINANCE,se.OFFICE,ce.FINANCE,se.FINANCE,se.OFFICE,ce.FINANCE,se.FINANCE,se.OFFICE,ce.FINANCE,se.FINANCE,se.OFFICE,ce.FINANCE,se.FINANCE,se.OFFICE,ce.FINANCE,se.COMMUNICATION,ce.COMMUNICATION,se.COMMUNICATION,ce.COMMUNICATION,se.COMMUNICATION,ce.COMMUNICATION,se.COMMUNICATION,ce.COMMUNICATION,se.COMMUNICATION,ce.COMMUNICATION,se.COMMUNICATION,ce.COMMUNICATION,se.COMMUNICATION,ce.COMMUNICATION,se.COMMUNICATION,ce.COMMUNICATION,se.COMMUNICATION,ce.COMMUNICATION,se.COMMUNICATION,ce.COMMUNICATION,se.COMMUNICATION,ce.COMMUNICATION,se.COMMUNICATION,ce.COMMUNICATION,se.COMMUNICATION,ce.COMMUNICATION,se.COMMUNICATION,ce.COMMUNICATION,se.COMMUNICATION,ce.COMMUNICATION,se.COMMUNICATION,ce.COMMUNICATION,se.COMMUNICATION,ce.COMMUNICATION,se.COMMUNICATION,ce.COMMUNICATION,se.COMMUNICATION,ce.COMMUNICATION,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.GAMES,ce.GAMES,se.SYSTEM,ce.SYSTEM,se.COMMERCE,se.MAP,ce.COMMERCE,se.COMMERCE,ce.COMMERCE,se.COMMERCE,se.OBJECTS,ce.COMMERCE,se.NATURE,se.COMMERCE,ce.COMMERCE,se.MAP,ce.MAP,se.COMMERCE,se.HEALTH,ce.COMMERCE,se.COMMERCE,se.HEALTH,ce.COMMERCE,se.DESIGN,ce.DESIGN,se.DESIGN,ce.DESIGN,se.DESIGN,se.EDITOR,ce.DESIGN,se.DESIGN,se.EDITOR,ce.DESIGN,se.SYSTEM,ce.DESIGN,se.DESIGN,ce.DESIGN,se.DESIGN,ce.DESIGN,se.DESIGN,ce.DESIGN,se.DEVELOPMENT,ce.SYSTEM,se.MAP,se.COMMERCE,ce.COMMERCE,se.OFFICE,se.EDITOR,se.SYSTEM,ce.OFFICE,se.OFFICE,se.EDITOR,se.SYSTEM,ce.OFFICE,se.SYSTEM,se.OBJECTS,ce.TIME,se.SYSTEM,ce.TIME,se.SYSTEM,ce.TIME,se.SYSTEM,ce.TIME,se.SYSTEM,ce.TIME,se.SYSTEM,ce.TIME,se.MEDIA,ce.MEDIA,se.SYSTEM,se.WEATHER,ce.WEATHER,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.WEATHER,ce.WEATHER,se.WEATHER,ce.WEATHER,se.WEATHER,ce.WEATHER,se.WEATHER,ce.WEATHER,se.SYSTEM,ce.SYSTEM,se.WEATHER,ce.WEATHER,se.WEATHER,ce.WEATHER,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.NATURE,ce.WEATHER,se.GAMES,ce.GAMES,se.COMMERCE,se.OBJECTS,ce.COMMERCE,se.BRAND,ce.BRAND,se.DEVELOPMENT,se.EDITOR,ce.DEVELOPMENT,se.DEVELOPMENT,se.EDITOR,ce.DEVELOPMENT,se.DEVELOPMENT,se.EDITOR,ce.DEVELOPMENT,se.BRAND,se.DEVELOPMENT,ce.BRAND,se.BRAND,se.DEVELOPMENT,ce.BRAND,se.COMMERCE,se.OBJECTS,se.MAP,ce.COMMERCE,se.COMMERCE,se.MAP,se.NATURE,ce.COMMERCE,se.COMMERCE,se.FINANCE,ce.COMMERCE,se.COMMERCE,se.FINANCE,ce.COMMERCE,se.COMMERCE,se.FINANCE,ce.COMMERCE,se.DESIGN,ce.DESIGN,se.DESIGN,ce.DESIGN,se.DESIGN,ce.DESIGN,se.EDITOR,se.SYSTEM,ce.SYSTEM,se.MAP,se.OBJECTS,ce.MAP,se.MAP,se.OBJECTS,ce.MAP,se.DESIGN,se.OBJECTS,ce.DESIGN,se.DEVELOPMENT,se.OBJECTS,ce.SYSTEM,se.COMMUNICATION,ce.GAMES,se.COMMERCE,ce.COMMERCE,se.SYSTEM,ce.SYSTEM,se.MAP,se.OBJECTS,se.DEVELOPMENT,ce.COMMERCE,se.OBJECTS,se.COMMERCE,ce.COMMERCE,se.EDITOR,se.SYSTEM,ce.OFFICE,se.EDITOR,se.SYSTEM,ce.OFFICE,se.COMMERCE,se.MEDIA,ce.MEDIA,se.COMMERCE,se.MEDIA,ce.MEDIA,se.SYSTEM,ce.MEDIA,se.SYSTEM,ce.MEDIA,se.OBJECTS,se.COMMERCE,ce.COMMERCE,se.GAMES,se.HEALTH,se.MAP,ce.GAMES,se.COMMERCE,se.NATURE,ce.WEATHER,se.COMMERCE,se.OBJECTS,ce.COMMERCE,se.DEVELOPMENT,ce.DEVELOPMENT,se.COMMERCE,se.DEVELOPMENT,ce.COMMERCE,se.COMMERCE,se.DEVELOPMENT,ce.COMMERCE,se.COMMERCE,se.FINANCE,ce.COMMERCE,se.GAMES,se.HEALTH,ce.GAMES,se.DESIGN,se.EDITOR,ce.DESIGN,se.DESIGN,se.COMMUNICATION,ce.COMMUNICATION,se.MAP,se.SYSTEM,ce.MAP,se.MAP,se.SYSTEM,ce.MAP,se.GAMES,se.OBJECTS,ce.GAMES,se.GAMES,se.OBJECTS,ce.GAMES,se.GAMES,se.OBJECTS,ce.GAMES,se.DESIGN,se.GAMES,se.OBJECTS,ce.DESIGN,se.GAMES,se.OBJECTS,ce.GAMES,se.DESIGN,se.GAMES,se.OBJECTS,ce.DESIGN,se.COMMERCE,se.FINANCE,ce.COMMERCE,se.COMMERCE,se.FINANCE,ce.COMMERCE,se.COMMERCE,se.FINANCE,ce.COMMERCE,se.COMMERCE,se.FINANCE,ce.COMMERCE,se.COMMERCE,se.FINANCE,ce.COMMERCE,se.COMMERCE,se.FINANCE,ce.COMMERCE,se.COMMERCE,se.FINANCE,ce.COMMERCE,se.COMMERCE,se.FINANCE,ce.COMMERCE,se.COMMERCE,se.FINANCE,ce.COMMERCE,se.COMMERCE,se.FINANCE,ce.COMMERCE,se.COMMERCE,se.FINANCE,ce.COMMERCE,se.COMMERCE,se.FINANCE,ce.COMMERCE,se.COMMERCE,se.FINANCE,ce.COMMERCE,se.COMMERCE,se.FINANCE,ce.COMMERCE,se.DESIGN,se.SYSTEM,ce.SYSTEM,se.DESIGN,se.SYSTEM,ce.SYSTEM,se.EDITOR,se.SYSTEM,ce.OFFICE,se.DESIGN,ce.DESIGN,se.DEVELOPMENT,se.SYSTEM,ce.DEVELOPMENT,se.COMMERCE,se.OBJECTS,se.OFFICE,ce.COMMERCE,se.DEVELOPMENT,se.OBJECTS,ce.SYSTEM,se.DEVELOPMENT,se.OBJECTS,ce.SYSTEM,se.PEOPLE,se.SYSTEM,ce.SECURITY,se.BRAND,se.DEVELOPMENT,ce.BRAND,se.OBJECTS,ce.SYSTEM,se.OBJECTS,ce.SYSTEM,se.OBJECTS,se.SYSTEM,ce.SYSTEM,se.OBJECTS,ce.SYSTEM,se.OBJECTS,se.SYSTEM,ce.SYSTEM,se.OBJECTS,ce.SYSTEM,se.OBJECTS,ce.SYSTEM,se.OBJECTS,ce.SYSTEM,se.OBJECTS,ce.SYSTEM,se.DESIGN,se.GAMES,ce.GAMES,se.DESIGN,ce.DESIGN,se.GAMES,se.OBJECTS,ce.GAMES,se.GAMES,se.OBJECTS,ce.GAMES,se.GAMES,se.OBJECTS,ce.GAMES,se.GAMES,se.OBJECTS,ce.GAMES,se.GAMES,se.OBJECTS,ce.GAMES,se.GAMES,se.OBJECTS,ce.GAMES,se.DEVELOPMENT,se.MEDIA,se.OBJECTS,ce.MEDIA,se.GAMES,se.MAP,se.OBJECTS,ce.GAMES,se.BRAND,se.COMMUNICATION,ce.BRAND,se.DEVELOPMENT,se.FINANCE,ce.FINANCE,se.HEALTH,se.NATURE,ce.HEALTH,se.NATURE,ce.WEATHER,se.OBJECTS,ce.COMMERCE,se.OBJECTS,ce.COMMERCE,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.DESIGN,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.COMMERCE,se.OBJECTS,ce.COMMERCE,se.COMMERCE,se.OBJECTS,ce.COMMERCE,se.BRAND,se.DESIGN,ce.BRAND,se.GAMES,se.OBJECTS,se.DEVELOPMENT,ce.GAMES,se.NATURE,se.WEATHER,ce.WEATHER,se.DESIGN,se.EDITOR,se.NATURE,se.WEATHER,ce.DESIGN,se.DESIGN,se.EDITOR,se.NATURE,se.WEATHER,ce.DESIGN,se.DESIGN,se.EDITOR,se.NATURE,se.WEATHER,ce.WEATHER,se.DESIGN,se.EDITOR,se.NATURE,se.WEATHER,ce.DESIGN,se.BRAND,ce.BRAND,se.MEDIA,se.SYSTEM,ce.MEDIA,se.MEDIA,se.SYSTEM,ce.MEDIA,se.COMMERCE,se.NATURE,ce.COMMERCE,se.COMMERCE,se.NATURE,ce.COMMERCE,se.MEDIA,ce.MEDIA,se.MEDIA,ce.MEDIA,se.OBJECTS,se.MAP,ce.MAP,se.FINANCE,se.DEVELOPMENT,ce.FINANCE,se.MAP,se.OBJECTS,ce.MAP,se.COMMUNICATION,ce.COMMUNICATION,se.COMMUNICATION,ce.COMMUNICATION,se.COMMUNICATION,ce.COMMUNICATION,se.COMMUNICATION,ce.COMMUNICATION,se.MEDIA,se.SYSTEM,ce.MEDIA,se.DEVELOPMENT,se.FINANCE,ce.FINANCE,se.DESIGN,se.EDITOR,ce.DESIGN,se.MAP,se.OBJECTS,ce.MAP,se.MAP,se.OBJECTS,ce.MAP,se.OBJECTS,ce.EDUCATION,se.SYSTEM,ce.SECURITY,se.DESIGN,se.EDITOR,ce.DESIGN,se.DESIGN,se.EDITOR,ce.DESIGN,se.COMMUNICATION,se.SYSTEM,ce.COMMUNICATION,se.DESIGN,se.EDITOR,ce.DESIGN,se.DESIGN,se.EDITOR,ce.DESIGN,se.DESIGN,se.EDITOR,ce.DESIGN,se.DESIGN,se.EDITOR,se.OBJECTS,ce.DESIGN,se.DESIGN,se.EDITOR,se.OBJECTS,ce.DESIGN,se.HEALTH,se.OBJECTS,ce.COMMERCE,se.PEOPLE,ce.PEOPLE,se.HEALTH,ce.HEALTH,se.BRAND,se.COMMUNICATION,ce.BRAND,se.COMMERCE,se.MAP,ce.COMMERCE,se.MEDIA,se.SYSTEM,ce.MEDIA,se.MEDIA,se.SYSTEM,ce.MEDIA,se.HEALTH,ce.SECURITY,se.COMMERCE,se.OBJECTS,ce.COMMERCE,se.COMMERCE,se.NATURE,se.MAP,ce.COMMERCE,se.MEDIA,se.SYSTEM,ce.MEDIA,se.MEDIA,se.SYSTEM,ce.MEDIA,se.NATURE,se.OBJECTS,ce.WEATHER,se.BRAND,se.COMMUNICATION,ce.BRAND,se.BRAND,se.DESIGN,ce.BRAND,se.OFFICE,se.EDITOR,ce.OFFICE,se.SYSTEM,se.OFFICE,se.EDITOR,ce.OFFICE,se.OFFICE,se.EDITOR,ce.OFFICE,se.OFFICE,se.EDITOR,ce.OFFICE,se.OFFICE,se.EDITOR,se.MEDIA,ce.OFFICE,se.OFFICE,se.EDITOR,se.DEVELOPMENT,ce.OFFICE,se.OFFICE,se.EDITOR,se.DEVELOPMENT,ce.OFFICE,se.OFFICE,se.EDITOR,se.SYSTEM,ce.OFFICE,se.OFFICE,se.EDITOR,se.DEVELOPMENT,ce.OFFICE,se.OFFICE,se.EDITOR,se.DEVELOPMENT,ce.OFFICE,se.OFFICE,se.EDITOR,se.DEVELOPMENT,ce.OFFICE,se.OFFICE,se.EDITOR,ce.OFFICE,se.OFFICE,se.EDITOR,ce.OFFICE,se.OFFICE,se.EDITOR,ce.OFFICE,se.OFFICE,se.EDITOR,se.DEVELOPMENT,ce.OFFICE,se.OFFICE,se.EDITOR,se.MEDIA,ce.OFFICE,se.OFFICE,se.EDITOR,se.DEVELOPMENT,ce.OFFICE,se.OFFICE,se.EDITOR,se.MEDIA,ce.OFFICE,se.OFFICE,se.EDITOR,se.DEVELOPMENT,ce.OFFICE,se.OFFICE,se.EDITOR,se.DEVELOPMENT,ce.OFFICE,se.OFFICE,se.EDITOR,se.SYSTEM,ce.OFFICE,se.OFFICE,se.EDITOR,ce.OFFICE,se.OFFICE,se.EDITOR,se.DEVELOPMENT,ce.OFFICE,se.OFFICE,se.EDITOR,ce.OFFICE,se.OFFICE,se.EDITOR,ce.OFFICE,se.OFFICE,se.EDITOR,ce.OFFICE,se.OFFICE,se.EDITOR,se.MEDIA,ce.OFFICE,se.OFFICE,se.EDITOR,ce.OFFICE,se.OFFICE,se.EDITOR,se.DEVELOPMENT,ce.OFFICE,se.OFFICE,se.EDITOR,se.DEVELOPMENT,ce.OFFICE,se.SYSTEM,se.DEVELOPMENT,ce.OFFICE,se.SYSTEM,se.MEDIA,ce.OFFICE,se.OFFICE,se.EDITOR,ce.OFFICE,se.OFFICE,se.EDITOR,se.DEVELOPMENT,ce.OFFICE,se.OFFICE,se.EDITOR,se.DEVELOPMENT,ce.OFFICE,se.OFFICE,se.EDITOR,se.DEVELOPMENT,ce.OFFICE,se.OFFICE,se.EDITOR,se.MEDIA,ce.OFFICE,se.OFFICE,se.EDITOR,se.DEVELOPMENT,ce.OFFICE,se.OFFICE,se.EDITOR,ce.OFFICE,se.OFFICE,se.EDITOR,ce.OFFICE,se.OFFICE,se.EDITOR,se.SYSTEM,ce.OFFICE,se.OFFICE,se.EDITOR,ce.OFFICE,se.MEDIA,se.OBJECTS,ce.MEDIA,se.OFFICE,se.MEDIA,ce.MEDIA,se.MEDIA,se.OBJECTS,ce.MEDIA,se.MEDIA,ce.MEDIA,se.SYSTEM,ce.SECURITY,se.SYSTEM,ce.SECURITY,se.GAMES,ce.GAMES,se.NATURE,se.WEATHER,ce.WEATHER,se.OBJECTS,ce.SECURITY,se.NATURE,se.WEATHER,ce.WEATHER,se.HEALTH,ce.HEALTH,se.HEALTH,ce.HEALTH,se.HEALTH,ce.HEALTH,se.NATURE,se.COMMERCE,ce.WEATHER,se.NATURE,se.COMMERCE,ce.WEATHER,se.OBJECTS,se.MAP,se.SYSTEM,ce.MAP,se.OBJECTS,se.MAP,se.SYSTEM,ce.MAP,se.OBJECTS,se.MAP,se.SYSTEM,ce.MAP,se.MAP,se.OBJECTS,se.GAMES,ce.MAP,se.OBJECTS,se.MAP,se.SYSTEM,se.GAMES,ce.MAP,se.NATURE,se.WEATHER,ce.WEATHER,se.SYSTEM,se.OBJECTS,ce.SYSTEM,se.DEVELOPMENT,se.NATURE,se.OBJECTS,ce.HEALTH,se.DESIGN,se.EDITOR,ce.DESIGN,se.DESIGN,se.EDITOR,ce.DESIGN,se.OFFICE,se.EDITOR,se.SYSTEM,ce.OFFICE,se.OFFICE,se.EDITOR,se.SYSTEM,ce.OFFICE,se.ARROWS,se.DESIGN,se.OFFICE,ce.DESIGN,se.NATURE,ce.WEATHER,se.NATURE,ce.WEATHER,se.NATURE,ce.WEATHER,se.GAMES,se.OBJECTS,ce.GAMES,se.OFFICE,se.EDITOR,se.SYSTEM,ce.OFFICE,se.OFFICE,se.EDITOR,se.SYSTEM,ce.OFFICE,se.OFFICE,se.EDITOR,se.SYSTEM,ce.OFFICE,se.OFFICE,se.EDITOR,se.SYSTEM,ce.OFFICE,se.OFFICE,se.EDITOR,se.SYSTEM,ce.OFFICE,se.OFFICE,se.EDITOR,se.SYSTEM,ce.OFFICE,se.OFFICE,se.EDITOR,se.SYSTEM,ce.OFFICE,se.OFFICE,se.EDITOR,se.SYSTEM,ce.OFFICE,se.OFFICE,se.EDITOR,se.SYSTEM,ce.OFFICE,se.OFFICE,se.EDITOR,se.SYSTEM,ce.OFFICE,se.OFFICE,se.EDITOR,se.SYSTEM,ce.OFFICE,se.OFFICE,se.EDITOR,se.SYSTEM,ce.OFFICE,se.OFFICE,se.EDITOR,se.SYSTEM,ce.OFFICE,se.OFFICE,se.EDITOR,se.SYSTEM,ce.OFFICE,se.OFFICE,se.EDITOR,se.SYSTEM,ce.OFFICE,se.OFFICE,se.EDITOR,se.SYSTEM,ce.OFFICE,se.GAMES,se.HEALTH,se.OBJECTS,ce.GAMES,se.GAMES,se.HEALTH,se.OBJECTS,ce.GAMES,se.HEALTH,se.MAP,ce.PEOPLE,se.COMMERCE,se.MAP,se.OBJECTS,ce.COMMERCE,se.MEDIA,ce.MEDIA,se.SYSTEM,ce.MEDIA,se.BRAND,se.DESIGN,ce.BRAND,se.DEVELOPMENT,ce.FINANCE,se.EDITOR,se.OBJECTS,ce.OFFICE,se.EDITOR,se.OBJECTS,ce.OFFICE,se.EDITOR,se.OBJECTS,ce.OFFICE,se.EDITOR,se.OBJECTS,ce.OFFICE,se.GAMES,se.MEDIA,se.OBJECTS,ce.GAMES,se.COMMERCE,se.MAP,ce.COMMERCE,se.MAP,se.OBJECTS,ce.MAP,se.MAP,se.OBJECTS,ce.MAP,se.DEVELOPMENT,se.OBJECTS,se.SYSTEM,ce.SYSTEM,se.COMMERCE,se.OBJECTS,ce.COMMERCE,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.DESIGN,se.SYSTEM,ce.SYSTEM,se.PEOPLE,ce.PEOPLE,se.PEOPLE,ce.PEOPLE,se.PEOPLE,ce.PEOPLE,se.PEOPLE,ce.PEOPLE,se.PEOPLE,ce.PEOPLE,se.PEOPLE,ce.PEOPLE,se.GAMES,se.OBJECTS,ce.GAMES,se.MEDIA,ce.MEDIA,se.COMMERCE,se.OBJECTS,ce.COMMERCE,se.DEVELOPMENT,ce.DEVELOPMENT,se.DEVELOPMENT,ce.DEVELOPMENT,se.DEVELOPMENT,ce.DEVELOPMENT,se.DEVELOPMENT,ce.DEVELOPMENT,se.DEVELOPMENT,ce.DEVELOPMENT,se.DEVELOPMENT,ce.DEVELOPMENT,se.DEVELOPMENT,se.BRAND,ce.BRAND,se.BRAND,se.DEVELOPMENT,ce.BRAND,se.BRAND,se.DEVELOPMENT,ce.BRAND,se.MAP,ce.MAP,se.MAP,ce.MAP,se.MAP,ce.MAP,se.MAP,ce.MAP,se.MAP,ce.MAP,se.MAP,ce.MAP,se.MAP,ce.MAP,se.HEALTH,se.OBJECTS,ce.MAP,se.GAMES,se.HEALTH,se.OBJECTS,ce.GAMES,se.BRAND,ce.BRAND,se.BRAND,ce.GAMES,se.BRAND,ce.BRAND,se.BRAND,ce.BRAND,se.BRAND,ce.BRAND,se.BRAND,se.MEDIA,ce.BRAND,se.BRAND,se.SYSTEM,se.MEDIA,ce.BRAND,se.BRAND,se.MEDIA,ce.BRAND,se.MAP,se.SYSTEM,ce.MAP,se.MAP,se.SYSTEM,ce.MAP,se.MAP,se.SYSTEM,ce.MAP,se.DESIGN,ce.DESIGN,se.MAP,se.OBJECTS,ce.EDUCATION,se.COMMERCE,se.NATURE,ce.COMMERCE,se.COMMERCE,ce.COMMERCE,se.OFFICE,se.DEVELOPMENT,ce.FINANCE,se.DEVELOPMENT,ce.DEVELOPMENT,se.FINANCE,se.DEVELOPMENT,ce.FINANCE,se.FINANCE,se.DEVELOPMENT,ce.FINANCE,se.DESIGN,se.SYSTEM,ce.DESIGN,se.DESIGN,se.SYSTEM,ce.DESIGN,se.MEDIA,se.OBJECTS,ce.MEDIA,se.COMMERCE,se.OBJECTS,ce.COMMERCE,se.COMMERCE,se.MAP,ce.COMMERCE,se.OBJECTS,se.SYSTEM,se.COMMERCE,ce.COMMERCE,se.SYSTEM,se.PEOPLE,ce.PEOPLE,se.PEOPLE,se.COMMERCE,se.FINANCE,ce.PEOPLE,se.PEOPLE,se.COMMERCE,se.FINANCE,ce.PEOPLE,se.PEOPLE,se.COMMERCE,se.FINANCE,ce.COMMERCE,se.PEOPLE,se.COMMERCE,se.FINANCE,ce.PEOPLE,se.PEOPLE,ce.PEOPLE,se.PEOPLE,ce.PEOPLE,se.SYSTEM,se.PEOPLE,ce.PEOPLE,se.PEOPLE,ce.HEALTH,se.SYSTEM,se.PEOPLE,ce.PEOPLE,se.PEOPLE,se.COMMUNICATION,ce.PEOPLE,se.SYSTEM,se.PEOPLE,ce.PEOPLE,se.HEALTH,se.OBJECTS,ce.HEALTH,se.PEOPLE,se.SYSTEM,ce.SYSTEM,se.PEOPLE,se.SYSTEM,ce.SYSTEM,se.PEOPLE,se.SYSTEM,ce.SYSTEM,se.SYSTEM,se.PEOPLE,ce.PEOPLE,se.PEOPLE,se.COMMERCE,se.FINANCE,ce.PEOPLE,se.COMMERCE,se.OBJECTS,ce.COMMERCE,se.COMMERCE,se.OBJECTS,ce.COMMERCE,se.SYSTEM,se.PEOPLE,ce.PEOPLE,se.PEOPLE,ce.PEOPLE,se.PEOPLE,se.COMMERCE,ce.PEOPLE,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.COMMERCE,se.OBJECTS,se.DEVELOPMENT,ce.COMMERCE,se.COMMUNICATION,ce.COMMUNICATION,se.COMMUNICATION,ce.COMMUNICATION,se.DEVELOPMENT,ce.DEVELOPMENT,se.MAP,se.OBJECTS,ce.MAP,se.MEDIA,se.OBJECTS,ce.MEDIA,se.MEDIA,se.GAMES,se.OBJECTS,ce.MEDIA,se.COMMUNICATION,se.GAMES,se.HEALTH,ce.GAMES,se.COMMUNICATION,ce.GAMES,se.COMMUNICATION,se.GAMES,se.HEALTH,ce.GAMES,se.COMMUNICATION,se.GAMES,se.HEALTH,ce.GAMES,se.COMMUNICATION,ce.GAMES,se.HEALTH,se.SYSTEM,ce.HEALTH,se.DESIGN,ce.DESIGN,se.MEDIA,ce.MEDIA,se.COMMERCE,se.OBJECTS,ce.COMMERCE,se.DESIGN,se.EDITOR,se.OFFICE,ce.DESIGN,se.DESIGN,se.EDITOR,se.OFFICE,ce.DESIGN,se.GAMES,se.HEALTH,se.OBJECTS,ce.GAMES,se.COMMERCE,se.OBJECTS,ce.COMMERCE,se.GAMES,se.HEALTH,se.NATURE,ce.GAMES,se.MAP,se.HEALTH,ce.MAP,se.SYSTEM,se.OBJECTS,ce.TIME,se.SYSTEM,se.OBJECTS,ce.TIME,se.SYSTEM,se.OBJECTS,ce.TIME,se.SYSTEM,se.OBJECTS,ce.TIME,se.SYSTEM,se.OBJECTS,ce.TIME,se.SYSTEM,se.OBJECTS,ce.TIME,se.SYSTEM,se.OBJECTS,ce.TIME,se.SYSTEM,se.OBJECTS,ce.TIME,se.MAP,se.SYSTEM,ce.MAP,se.MAP,se.SYSTEM,ce.MAP,se.MAP,se.SYSTEM,ce.MAP,se.WEATHER,ce.WEATHER,se.COMMERCE,se.MAP,se.OBJECTS,ce.COMMERCE,se.PEOPLE,ce.PEOPLE,se.PEOPLE,ce.PEOPLE,se.MEDIA,se.SYSTEM,ce.MEDIA,se.MEDIA,se.SYSTEM,ce.MEDIA,se.MEDIA,se.SYSTEM,ce.MEDIA,se.MEDIA,se.SYSTEM,ce.MEDIA,se.MEDIA,se.SYSTEM,ce.MEDIA,se.DEVELOPMENT,se.FINANCE,ce.FINANCE,se.SYSTEM,ce.SECURITY,se.BRAND,se.COMMUNICATION,ce.BRAND,se.DESIGN,se.EDITOR,ce.DESIGN,se.DESIGN,se.EDITOR,ce.DESIGN,se.PEOPLE,se.DESIGN,se.EDITOR,ce.DESIGN,se.FINANCE,se.DEVELOPMENT,ce.FINANCE,se.COMMERCE,se.FINANCE,se.OFFICE,ce.COMMERCE,se.MAP,se.NATURE,ce.WEATHER,se.COMMERCE,se.OBJECTS,ce.COMMERCE,se.COMMERCE,se.OBJECTS,ce.COMMERCE,se.MAP,se.OBJECTS,ce.MAP,se.GAMES,se.MEDIA,se.OBJECTS,ce.GAMES,se.OFFICE,ce.OFFICE,se.OBJECTS,se.SYSTEM,ce.SECURITY,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.OBJECTS,se.SYSTEM,ce.SECURITY,se.COMMERCE,se.OBJECTS,ce.COMMERCE,se.OBJECTS,ce.COMMERCE,se.OBJECTS,ce.COMMERCE,se.OBJECTS,se.COMMERCE,ce.COMMERCE,se.COMMERCE,se.OBJECTS,ce.COMMERCE,se.DEVELOPMENT,se.OBJECTS,ce.SYSTEM,se.DESIGN,se.OBJECTS,ce.DESIGN,se.BRAND,se.MEDIA,ce.BRAND,se.DESIGN,se.EDITOR,ce.DESIGN,se.NATURE,ce.WEATHER,se.OBJECTS,se.FINANCE,se.OFFICE,ce.EDUCATION,se.GAMES,ce.GAMES,se.GAMES,se.COMMUNICATION,se.PEOPLE,ce.GAMES,se.FINANCE,se.DEVELOPMENT,ce.FINANCE,se.FINANCE,se.DEVELOPMENT,ce.FINANCE,se.EDITOR,se.MAP,se.DESIGN,ce.COMMUNICATION,se.EDITOR,se.MAP,se.DESIGN,ce.COMMUNICATION,se.EDITOR,se.DESIGN,se.COMMERCE,ce.COMMUNICATION,se.HEALTH,se.OBJECTS,se.SYSTEM,ce.HEALTH,se.SYSTEM,se.OBJECTS,ce.SYSTEM,se.SYSTEM,se.OBJECTS,ce.SYSTEM,se.MAP,ce.MAP,se.WEATHER,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.DESIGN,ce.DESIGN,se.DESIGN,ce.DESIGN,se.DESIGN,se.DEVELOPMENT,ce.DESIGN,se.COMMUNICATION,se.OBJECTS,ce.SYSTEM,se.COMMUNICATION,se.OBJECTS,ce.SYSTEM,se.COMMUNICATION,se.OBJECTS,ce.SYSTEM,se.COMMUNICATION,se.OBJECTS,ce.SYSTEM,se.COMMUNICATION,se.OBJECTS,ce.SYSTEM,se.COMMUNICATION,se.OBJECTS,ce.SYSTEM,se.BRAND,se.COMMUNICATION,ce.BRAND,se.BRAND,se.COMMUNICATION,ce.BRAND,se.BRAND,se.DEVELOPMENT,ce.BRAND,se.SYSTEM,se.EDITOR,ce.OFFICE,se.EDITOR,ce.OFFICE,se.OFFICE,se.EDITOR,ce.OFFICE,se.EDITOR,ce.OFFICE,se.EDITOR,se.SYSTEM,ce.SYSTEM,se.EDITOR,se.SYSTEM,ce.SYSTEM,se.EDITOR,ce.OFFICE,se.EDITOR,ce.OFFICE,se.EDITOR,se.SYSTEM,ce.SYSTEM,se.OBJECTS,se.SYSTEM,ce.SECURITY,se.OBJECTS,se.SYSTEM,ce.SECURITY,se.OBJECTS,se.SYSTEM,ce.SECURITY,se.OBJECTS,se.SYSTEM,ce.SECURITY,se.OBJECTS,se.SYSTEM,ce.SECURITY,se.OBJECTS,se.SYSTEM,ce.SECURITY,se.OBJECTS,se.SYSTEM,ce.SECURITY,se.OBJECTS,se.SYSTEM,ce.SECURITY,se.MAP,ce.MAP,se.NATURE,ce.WEATHER,se.DESIGN,se.GAMES,se.OBJECTS,ce.DESIGN,se.DEVELOPMENT,se.OBJECTS,ce.DEVELOPMENT,se.DEVELOPMENT,se.OBJECTS,ce.DEVELOPMENT,se.EDITOR,se.SYSTEM,ce.SYSTEM,se.EDITOR,se.SYSTEM,ce.SYSTEM,se.EDITOR,se.SYSTEM,ce.SYSTEM,se.COMMUNICATION,se.OBJECTS,se.MAP,ce.COMMUNICATION,se.MAP,ce.MAP,se.MAP,ce.MAP,se.MAP,ce.MAP,se.MAP,ce.MAP,se.MAP,ce.MAP,se.MAP,ce.MAP,se.MAP,ce.MAP,se.MAP,ce.MAP,se.DEVELOPMENT,se.OFFICE,se.MEDIA,se.BRAND,ce.DEVELOPMENT,se.DESIGN,se.EDITOR,se.OFFICE,ce.DESIGN,se.COMMERCE,se.MAP,se.OBJECTS,ce.COMMERCE,se.COMMUNICATION,se.GAMES,ce.GAMES,se.COMMUNICATION,se.GAMES,ce.GAMES,se.BRAND,se.COMMUNICATION,ce.BRAND,se.DEVELOPMENT,se.FINANCE,ce.FINANCE,se.BRAND,se.COMMUNICATION,ce.COMMUNICATION,se.OBJECTS,se.GAMES,ce.GAMES,se.OBJECTS,se.GAMES,ce.GAMES,se.BRAND,ce.BRAND,se.COMMUNICATION,se.OBJECTS,ce.COMMUNICATION,se.COMMUNICATION,se.OBJECTS,ce.COMMUNICATION,se.FINANCE,se.DEVELOPMENT,ce.FINANCE,se.DEVELOPMENT,ce.SYSTEM,se.BRAND,se.COMMUNICATION,ce.BRAND,se.BRAND,ce.BRAND,se.WEATHER,se.NATURE,ce.WEATHER,se.OBJECTS,se.MEDIA,ce.MEDIA,se.COMMUNICATION,se.MEDIA,se.SYSTEM,ce.MEDIA,se.COMMUNICATION,se.MEDIA,se.SYSTEM,ce.MEDIA,se.COMMUNICATION,se.MEDIA,se.SYSTEM,ce.MEDIA,se.NATURE,se.DEVELOPMENT,se.OBJECTS,se.HEALTH,ce.HEALTH,se.BRAND,se.OFFICE,ce.BRAND,se.BRAND,se.COMMUNICATION,se.OFFICE,ce.BRAND,se.BRAND,se.OFFICE,ce.BRAND,se.BRAND,se.COMMUNICATION,ce.BRAND,se.BRAND,se.EDITOR,se.OFFICE,ce.BRAND,se.DEVELOPMENT,se.FINANCE,se.SYSTEM,ce.FINANCE,se.DEVELOPMENT,se.FINANCE,se.SYSTEM,ce.FINANCE,se.FINANCE,se.SYSTEM,ce.FINANCE,se.COMMERCE,se.FINANCE,ce.COMMERCE,se.FINANCE,se.COMMERCE,ce.COMMERCE,se.SYSTEM,ce.SYSTEM,se.SYSTEM,se.MEDIA,ce.SYSTEM,se.SYSTEM,se.MEDIA,ce.SYSTEM,se.NATURE,se.SYSTEM,se.WEATHER,ce.WEATHER,se.NATURE,se.WEATHER,ce.WEATHER,se.MAP,se.OBJECTS,ce.MAP,se.MAP,se.OBJECTS,ce.MAP,se.MAP,ce.MAP,se.MAP,se.OBJECTS,ce.MAP,se.NATURE,se.MAP,ce.WEATHER,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.MEDIA,ce.MEDIA,se.MEDIA,ce.MEDIA,se.MEDIA,ce.MEDIA,se.MEDIA,ce.MEDIA,se.MEDIA,ce.MEDIA,se.MEDIA,ce.MEDIA,se.MAP,ce.MAP,se.OBJECTS,se.COMMERCE,ce.COMMERCE,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.MEDIA,se.OBJECTS,ce.MEDIA,se.MEDIA,se.OBJECTS,ce.MEDIA,se.FINANCE,se.DEVELOPMENT,ce.FINANCE,se.FINANCE,se.DEVELOPMENT,ce.FINANCE,se.FINANCE,se.DEVELOPMENT,ce.FINANCE,se.FINANCE,se.DEVELOPMENT,ce.FINANCE,se.SYSTEM,se.EDITOR,ce.DESIGN,se.OFFICE,se.EDITOR,ce.OFFICE,se.OFFICE,se.EDITOR,ce.OFFICE,se.OFFICE,se.EDITOR,ce.OFFICE,se.OFFICE,se.EDITOR,ce.OFFICE,se.OFFICE,se.EDITOR,ce.OFFICE,se.SYSTEM,ce.SYSTEM,se.BRAND,ce.BRAND,se.COMMERCE,se.OBJECTS,ce.COMMERCE,se.FINANCE,ce.FINANCE,se.FINANCE,ce.FINANCE,se.FINANCE,ce.FINANCE,se.FINANCE,ce.FINANCE,se.FINANCE,ce.FINANCE,se.FINANCE,ce.FINANCE,se.FINANCE,ce.FINANCE,se.FINANCE,ce.FINANCE,se.FINANCE,ce.FINANCE,se.FINANCE,ce.FINANCE,se.FINANCE,ce.FINANCE,se.FINANCE,ce.FINANCE,se.FINANCE,ce.FINANCE,se.FINANCE,ce.FINANCE,se.FINANCE,ce.FINANCE,se.FINANCE,ce.FINANCE,se.FINANCE,ce.FINANCE,se.FINANCE,ce.FINANCE,se.FINANCE,ce.FINANCE,se.FINANCE,ce.FINANCE,se.FINANCE,ce.FINANCE,se.FINANCE,ce.FINANCE,se.FINANCE,ce.FINANCE,se.FINANCE,ce.FINANCE,se.FINANCE,ce.FINANCE,se.FINANCE,ce.FINANCE,se.FINANCE,ce.FINANCE,se.FINANCE,ce.FINANCE,se.FINANCE,ce.FINANCE,se.FINANCE,ce.FINANCE,se.COMMUNICATION,se.SYSTEM,ce.COMMUNICATION,se.OBJECTS,se.SYSTEM,ce.SYSTEM,se.BRAND,ce.BRAND,se.DESIGN,ce.DESIGN,se.OBJECTS,se.COMMERCE,ce.COMMERCE,se.COMMERCE,se.MAP,ce.COMMERCE,se.DEVELOPMENT,se.BRAND,ce.BRAND,se.SYSTEM,se.EDITOR,ce.SYSTEM,se.COMMERCE,se.NATURE,ce.COMMERCE,se.MAP,se.COMMERCE,se.NATURE,ce.COMMERCE,se.COMMERCE,se.OBJECTS,ce.COMMERCE,se.DEVELOPMENT,se.OBJECTS,ce.COMMERCE,se.DESIGN,se.EDITOR,se.OBJECTS,ce.DESIGN,se.DESIGN,se.EDITOR,se.OBJECTS,ce.DESIGN,se.DESIGN,se.EDITOR,se.OBJECTS,ce.DESIGN,se.DESIGN,se.EDITOR,se.OBJECTS,ce.DESIGN,se.DESIGN,se.EDITOR,se.OBJECTS,ce.DESIGN,se.DESIGN,se.EDITOR,se.OBJECTS,ce.DESIGN,se.MEDIA,ce.MEDIA,se.COMMERCE,se.OBJECTS,ce.COMMERCE,se.COMMUNICATION,se.MAP,se.OBJECTS,ce.COMMUNICATION,se.COMMUNICATION,se.MAP,se.OBJECTS,ce.COMMUNICATION,se.COMMUNICATION,se.MAP,se.OBJECTS,ce.COMMUNICATION,se.COMMUNICATION,se.EDITOR,se.OFFICE,se.OBJECTS,ce.OFFICE,se.COMMUNICATION,se.EDITOR,se.OFFICE,se.OBJECTS,ce.OFFICE,se.OBJECTS,se.DEVELOPMENT,ce.GAMES,se.EDITOR,ce.OFFICE,se.BRAND,se.MEDIA,se.DESIGN,ce.DESIGN,se.MAP,se.NATURE,ce.MAP,se.SYSTEM,ce.SECURITY,se.DESIGN,se.MAP,ce.MAP,se.BRAND,ce.BRAND,se.MEDIA,se.SYSTEM,ce.MEDIA,se.MEDIA,se.SYSTEM,ce.MEDIA,se.NATURE,se.COMMERCE,se.HEALTH,ce.WEATHER,se.BRAND,se.FINANCE,se.COMMERCE,ce.BRAND,se.COMMUNICATION,ce.COMMUNICATION,se.DESIGN,se.EDITOR,se.OFFICE,ce.DESIGN,se.DESIGN,se.EDITOR,se.OFFICE,ce.DESIGN,se.DESIGN,se.EDITOR,se.OFFICE,ce.DESIGN,se.DESIGN,se.EDITOR,se.OFFICE,ce.DESIGN,se.DESIGN,se.EDITOR,se.OFFICE,ce.DESIGN,se.DESIGN,se.EDITOR,se.OFFICE,ce.DESIGN,se.DESIGN,se.EDITOR,se.OFFICE,ce.DESIGN,se.DESIGN,se.EDITOR,se.OFFICE,ce.DESIGN,se.DESIGN,se.EDITOR,se.OFFICE,ce.DESIGN,se.DESIGN,se.EDITOR,se.OFFICE,ce.DESIGN,se.DESIGN,se.EDITOR,se.OFFICE,ce.DESIGN,se.DESIGN,ce.DESIGN,se.GAMES,se.DESIGN,ce.DESIGN,se.COMMERCE,se.NATURE,ce.COMMERCE,se.DEVELOPMENT,se.FINANCE,ce.FINANCE,se.MAP,se.PEOPLE,ce.PEOPLE,se.HEALTH,se.MAP,se.PEOPLE,ce.PEOPLE,se.MAP,se.PEOPLE,se.HEALTH,ce.PEOPLE,se.MAP,se.PEOPLE,se.HEALTH,ce.PEOPLE,se.PEOPLE,ce.PEOPLE,se.NATURE,se.HEALTH,se.MAP,se.PEOPLE,ce.PEOPLE,se.MAP,se.PEOPLE,se.HEALTH,ce.PEOPLE,se.GAMES,se.HEALTH,ce.GAMES,se.GAMES,se.HEALTH,ce.GAMES,se.MAP,se.PEOPLE,se.HEALTH,ce.PEOPLE,se.HEALTH,se.MAP,se.PEOPLE,ce.PEOPLE,se.MAP,se.PEOPLE,se.HEALTH,ce.PEOPLE,se.MAP,se.PEOPLE,se.HEALTH,ce.PEOPLE,se.DESIGN,se.EDITOR,ce.DESIGN,se.COMMUNICATION,se.SYSTEM,ce.COMMUNICATION,se.COMMUNICATION,se.SYSTEM,ce.COMMUNICATION,se.COMMUNICATION,se.SYSTEM,ce.COMMUNICATION,se.COMMUNICATION,se.SYSTEM,ce.COMMUNICATION,se.COMMUNICATION,se.SYSTEM,ce.COMMUNICATION,se.COMMUNICATION,se.SYSTEM,ce.COMMUNICATION,se.COMMUNICATION,se.SYSTEM,ce.COMMUNICATION,se.COMMUNICATION,se.SYSTEM,ce.COMMUNICATION,se.COMMUNICATION,se.SYSTEM,ce.COMMUNICATION,se.COMMUNICATION,se.SYSTEM,ce.COMMUNICATION,se.COMMUNICATION,se.SYSTEM,ce.COMMUNICATION,se.BRAND,ce.BRAND,se.FINANCE,se.DEVELOPMENT,ce.FINANCE,se.MEDIA,se.OBJECTS,ce.MEDIA,se.MAP,se.NATURE,ce.COMMERCE,se.MEDIA,se.SYSTEM,ce.MEDIA,se.FINANCE,se.OBJECTS,ce.COMMERCE,se.HEALTH,ce.HEALTH,se.GAMES,se.HEALTH,se.OBJECTS,ce.GAMES,se.COMMERCE,se.HEALTH,se.OBJECTS,ce.COMMERCE,se.BRAND,se.COMMUNICATION,ce.BRAND,se.GAMES,se.OBJECTS,ce.GAMES,se.COMMERCE,se.OBJECTS,ce.COMMERCE,se.COMMERCE,se.OBJECTS,ce.COMMERCE,se.COMMERCE,se.FINANCE,ce.COMMERCE,se.COMMERCE,se.MAP,ce.COMMERCE,se.DESIGN,se.EDITOR,ce.DESIGN,se.NATURE,ce.WEATHER,se.COMMERCE,se.NATURE,ce.WEATHER,se.MEDIA,se.SYSTEM,ce.MEDIA,se.MEDIA,se.SYSTEM,ce.MEDIA,se.MEDIA,se.SYSTEM,ce.MEDIA,se.MEDIA,se.SYSTEM,ce.MEDIA,se.SYSTEM,se.OBJECTS,ce.SYSTEM,se.SYSTEM,se.OBJECTS,ce.SYSTEM,se.SYSTEM,se.OBJECTS,ce.SYSTEM,se.SYSTEM,se.OBJECTS,ce.SYSTEM,se.DEVELOPMENT,se.FINANCE,se.SYSTEM,ce.FINANCE,se.DEVELOPMENT,se.FINANCE,se.SYSTEM,ce.FINANCE,se.DEVELOPMENT,se.FINANCE,ce.FINANCE,se.FINANCE,se.DEVELOPMENT,se.SYSTEM,ce.FINANCE,se.GAMES,ce.GAMES,se.MAP,se.OBJECTS,ce.MAP,se.DESIGN,ce.DESIGN,se.MAP,se.COMMERCE,ce.COMMERCE,se.COMMERCE,se.MAP,ce.COMMERCE,se.COMMERCE,se.NATURE,ce.COMMERCE,se.SYSTEM,ce.SYSTEM,se.HEALTH,ce.HEALTH,se.FINANCE,se.OFFICE,ce.OFFICE,se.FINANCE,se.OFFICE,ce.OFFICE,se.EDITOR,se.OFFICE,ce.OFFICE,se.MAP,se.SYSTEM,ce.SECURITY,se.MAP,se.SYSTEM,ce.SECURITY,se.FINANCE,se.MEDIA,se.OFFICE,ce.OFFICE,se.FINANCE,se.OFFICE,ce.OFFICE,se.HEALTH,ce.HEALTH,se.OFFICE,se.MAP,se.OBJECTS,ce.OFFICE,se.OFFICE,se.MAP,se.OBJECTS,ce.OFFICE,se.OFFICE,se.MAP,se.OBJECTS,ce.OFFICE,se.OFFICE,se.MAP,se.OBJECTS,ce.OFFICE,se.GAMES,se.DEVELOPMENT,ce.GAMES,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SECURITY,se.SYSTEM,ce.SECURITY,se.MEDIA,se.SYSTEM,ce.MEDIA,se.COMMUNICATION,se.EDITOR,se.MEDIA,ce.COMMUNICATION,se.NATURE,ce.WEATHER,se.GAMES,se.HEALTH,se.OBJECTS,ce.GAMES,se.DEVELOPMENT,se.FINANCE,ce.FINANCE,se.COMMUNICATION,se.MEDIA,se.OBJECTS,ce.COMMUNICATION,se.SYSTEM,ce.SYSTEM,se.NATURE,se.HEALTH,ce.SECURITY,se.WEATHER,ce.WEATHER,se.WEATHER,ce.WEATHER,se.GAMES,se.OBJECTS,ce.GAMES,se.BRAND,ce.BRAND,se.COMMERCE,se.FINANCE,ce.COMMERCE,se.COMMERCE,se.FINANCE,ce.COMMERCE,se.MEDIA,se.SYSTEM,ce.MEDIA,se.DESIGN,ce.DESIGN,se.DESIGN,ce.DESIGN,se.ARROWS,se.NATURE,ce.ARROWS,se.BRAND,se.COMMUNICATION,ce.BRAND,se.MEDIA,se.SYSTEM,ce.MEDIA,se.MEDIA,se.SYSTEM,ce.MEDIA,se.BRAND,se.DEVELOPMENT,ce.BRAND,se.DESIGN,se.EDITOR,ce.DESIGN,se.MEDIA,se.SYSTEM,ce.MEDIA,se.MEDIA,se.SYSTEM,ce.MEDIA,se.MAP,ce.MAP,se.DEVELOPMENT,se.OBJECTS,ce.DEVELOPMENT,se.DEVELOPMENT,se.MAP,se.OBJECTS,ce.MAP,se.DEVELOPMENT,se.MAP,se.OBJECTS,ce.MAP,se.DESIGN,ce.DESIGN,se.DESIGN,ce.DESIGN,se.DESIGN,ce.DESIGN,se.COMMUNICATION,ce.COMMUNICATION,se.COMMUNICATION,ce.COMMUNICATION,se.OBJECTS,ce.COMMERCE,se.DESIGN,se.EDITOR,se.OBJECTS,ce.DESIGN,se.MAP,se.OBJECTS,ce.MAP,se.COMMERCE,se.MAP,se.OBJECTS,ce.COMMERCE,se.SYSTEM,ce.SYSTEM,se.SYSTEM,se.PEOPLE,ce.SYSTEM,se.DESIGN,se.EDITOR,se.OFFICE,se.SYSTEM,ce.DESIGN,se.MAP,se.HEALTH,ce.MAP,se.MEDIA,se.SYSTEM,ce.MEDIA,se.COMMERCE,se.OBJECTS,ce.COMMERCE,se.DESIGN,ce.DESIGN,se.DESIGN,ce.DESIGN,se.GAMES,se.OBJECTS,ce.GAMES,se.DESIGN,ce.SECURITY,se.DESIGN,ce.SECURITY,se.DESIGN,ce.SECURITY,se.DESIGN,ce.SECURITY,se.DESIGN,ce.SECURITY,se.MAP,se.OBJECTS,ce.MAP,se.COMMERCE,se.OBJECTS,ce.COMMERCE,se.OBJECTS,se.SYSTEM,ce.SECURITY,se.DESIGN,se.EDITOR,ce.DESIGN,se.DESIGN,se.EDITOR,ce.DESIGN,se.DESIGN,se.EDITOR,ce.DESIGN,se.DESIGN,se.EDITOR,ce.DESIGN,se.DESIGN,se.EDITOR,ce.DESIGN,se.DESIGN,se.EDITOR,ce.DESIGN,se.DESIGN,se.EDITOR,ce.DESIGN,se.DESIGN,ce.DESIGN,se.COMMUNICATION,se.SYSTEM,ce.COMMUNICATION,se.ARROWS,se.SYSTEM,se.COMMUNICATION,ce.COMMUNICATION,se.COMMUNICATION,se.SYSTEM,ce.COMMUNICATION,se.SYSTEM,se.OBJECTS,ce.SECURITY,se.SYSTEM,se.OBJECTS,ce.SECURITY,se.SYSTEM,se.OBJECTS,ce.SECURITY,se.SYSTEM,se.OBJECTS,ce.SECURITY,se.SYSTEM,se.OBJECTS,ce.SECURITY,se.SYSTEM,se.OBJECTS,ce.SECURITY,se.OBJECTS,se.SYSTEM,ce.SECURITY,se.SYSTEM,se.OBJECTS,ce.SECURITY,se.MAP,se.OBJECTS,se.COMMERCE,ce.MAP,se.COMMERCE,se.OBJECTS,ce.COMMERCE,se.NATURE,ce.WEATHER,se.COMMERCE,se.MAP,se.OBJECTS,ce.COMMERCE,se.COMMERCE,se.MAP,se.OBJECTS,ce.COMMERCE,se.COMMERCE,se.MAP,se.OBJECTS,ce.COMMERCE,se.COMMERCE,se.MAP,se.OBJECTS,ce.COMMERCE,se.COMMERCE,se.OBJECTS,ce.COMMERCE,se.OBJECTS,ce.COMMERCE,se.COMMERCE,se.NATURE,ce.WEATHER,se.MEDIA,se.ARROWS,se.SYSTEM,ce.MEDIA,se.MEDIA,se.ARROWS,se.SYSTEM,ce.MEDIA,se.MEDIA,se.ARROWS,se.SYSTEM,ce.MEDIA,se.DESIGN,se.EDITOR,ce.DESIGN,se.DESIGN,se.EDITOR,ce.DESIGN,se.FINANCE,se.DEVELOPMENT,ce.FINANCE,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.COMMUNICATION,se.OFFICE,ce.COMMUNICATION,se.MAP,ce.MAP,se.COMMUNICATION,se.SYSTEM,ce.SYSTEM,se.OBJECTS,se.MAP,ce.SECURITY,se.DESIGN,ce.BRAND,se.MEDIA,se.SYSTEM,ce.MEDIA,se.MEDIA,se.SYSTEM,ce.MEDIA,se.MEDIA,se.SYSTEM,ce.MEDIA,se.MEDIA,se.SYSTEM,ce.MEDIA,se.GAMES,ce.GAMES,se.BRAND,se.COMMUNICATION,ce.BRAND,se.BRAND,se.COMMUNICATION,ce.BRAND,se.MEDIA,se.SYSTEM,ce.MEDIA,se.MEDIA,se.SYSTEM,ce.MEDIA,se.MEDIA,se.SYSTEM,ce.MEDIA,se.COMMUNICATION,se.PEOPLE,ce.PEOPLE,se.COMMUNICATION,se.PEOPLE,ce.PEOPLE,se.COMMUNICATION,se.PEOPLE,ce.PEOPLE,se.COMMUNICATION,se.PEOPLE,ce.PEOPLE,se.COMMUNICATION,se.PEOPLE,ce.PEOPLE,se.COMMUNICATION,se.PEOPLE,ce.PEOPLE,se.COMMUNICATION,se.PEOPLE,ce.PEOPLE,se.COMMUNICATION,se.PEOPLE,ce.PEOPLE,se.COMMUNICATION,se.PEOPLE,ce.PEOPLE,se.COMMUNICATION,se.PEOPLE,ce.PEOPLE,se.BRAND,se.COMMUNICATION,ce.BRAND,se.COMMERCE,se.OBJECTS,se.HEALTH,ce.COMMERCE,se.COMMERCE,se.OBJECTS,se.HEALTH,ce.COMMERCE,se.WEATHER,ce.WEATHER,se.GAMES,se.HEALTH,se.OBJECTS,ce.GAMES,se.COMMERCE,se.OBJECTS,ce.COMMERCE,se.COMMERCE,se.OBJECTS,ce.COMMERCE,se.COMMERCE,se.OBJECTS,ce.COMMERCE,se.EDITOR,ce.OFFICE,se.EDITOR,ce.OFFICE,se.BRAND,se.MEDIA,ce.BRAND,se.GAMES,ce.GAMES,se.COMMUNICATION,se.NATURE,ce.WEATHER,se.MEDIA,se.OBJECTS,ce.MEDIA,se.MEDIA,se.SYSTEM,ce.MEDIA,se.MEDIA,se.SYSTEM,ce.MEDIA,se.MEDIA,se.SYSTEM,ce.MEDIA,se.MEDIA,se.SYSTEM,ce.MEDIA,se.MEDIA,se.SYSTEM,ce.MEDIA,se.MEDIA,se.SYSTEM,ce.MEDIA,se.MEDIA,se.SYSTEM,ce.MEDIA,se.MEDIA,se.SYSTEM,ce.MEDIA,se.MEDIA,se.SYSTEM,ce.MEDIA,se.MEDIA,se.SYSTEM,ce.MEDIA,se.DEVELOPMENT,se.OBJECTS,se.SYSTEM,ce.SYSTEM,se.DESIGN,ce.DESIGN,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.COMMUNICATION,se.DESIGN,ce.GAMES,se.ARROWS,se.DESIGN,se.EDITOR,ce.DESIGN,se.ARROWS,se.DESIGN,se.EDITOR,ce.DESIGN,se.BRAND,se.MEDIA,ce.BRAND,se.OBJECTS,se.HEALTH,ce.DESIGN,se.DESIGN,ce.DESIGN,se.DESIGN,ce.DESIGN,se.DESIGN,ce.DESIGN,se.BRAND,se.COMMERCE,se.FINANCE,ce.BRAND,se.DESIGN,se.EDITOR,ce.DESIGN,se.DESIGN,se.EDITOR,ce.DESIGN,se.DESIGN,se.SYSTEM,ce.DESIGN,se.DESIGN,se.OFFICE,se.EDITOR,ce.DESIGN,se.DESIGN,se.OFFICE,se.EDITOR,ce.DESIGN,se.BRAND,se.DEVELOPMENT,ce.BRAND,se.DESIGN,se.OFFICE,se.EDITOR,ce.DESIGN,se.DESIGN,se.OFFICE,se.EDITOR,ce.DESIGN,se.COMMERCE,se.OBJECTS,ce.COMMERCE,se.DESIGN,se.OBJECTS,ce.DESIGN,se.MEDIA,ce.MEDIA,se.COMMUNICATION,se.MAP,se.NATURE,ce.COMMUNICATION,se.COMMUNICATION,se.PEOPLE,ce.COMMUNICATION,se.COMMUNICATION,se.NATURE,ce.WEATHER,se.COMMUNICATION,ce.COMMUNICATION,se.COMMUNICATION,se.PEOPLE,ce.COMMUNICATION,se.BRAND,se.GAMES,ce.BRAND,se.MAP,se.OBJECTS,ce.MAP,se.COMMERCE,se.OBJECTS,ce.MAP,se.HEALTH,se.OBJECTS,ce.HEALTH,se.COMMUNICATION,ce.COMMUNICATION,se.OBJECTS,se.COMMERCE,ce.COMMERCE,se.MEDIA,se.SYSTEM,ce.MEDIA,se.MEDIA,se.SYSTEM,ce.MEDIA,se.COMMERCE,se.MAP,ce.COMMERCE,se.GAMES,se.FINANCE,ce.GAMES,se.BRAND,se.COMMERCE,se.FINANCE,ce.BRAND,se.PEOPLE,ce.EDUCATION,se.FINANCE,se.DEVELOPMENT,ce.FINANCE,se.FINANCE,se.DEVELOPMENT,ce.FINANCE,se.MEDIA,ce.MEDIA,se.MEDIA,ce.MEDIA,se.DESIGN,se.EDITOR,ce.DESIGN,se.DESIGN,se.EDITOR,ce.DESIGN,se.MAP,se.OBJECTS,ce.MAP,se.OFFICE,se.OBJECTS,ce.MAP,se.MAP,se.OBJECTS,ce.MAP,se.OFFICE,se.OBJECTS,ce.MAP,se.NATURE,se.SYSTEM,se.WEATHER,ce.WEATHER,se.NATURE,se.SYSTEM,se.WEATHER,ce.WEATHER,se.NATURE,se.WEATHER,ce.WEATHER,se.HEALTH,se.OBJECTS,ce.COMMERCE,se.FINANCE,se.DEVELOPMENT,ce.FINANCE,se.FINANCE,se.DEVELOPMENT,ce.FINANCE,se.DESIGN,se.EDITOR,ce.SYSTEM,se.DESIGN,se.EDITOR,se.OBJECTS,ce.DESIGN,se.HEALTH,se.MAP,se.GAMES,ce.MAP,se.GAMES,se.OBJECTS,ce.GAMES,se.MAP,ce.MAP,se.HEALTH,ce.HEALTH,se.OBJECTS,se.COMMERCE,ce.COMMERCE,se.FINANCE,se.OFFICE,se.EDITOR,ce.FINANCE,se.SYSTEM,ce.SYSTEM,se.COMMERCE,se.DEVELOPMENT,se.OBJECTS,ce.COMMERCE,se.COMMERCE,se.DEVELOPMENT,se.OBJECTS,ce.COMMERCE,se.COMMERCE,se.DEVELOPMENT,se.OBJECTS,ce.COMMERCE,se.MAP,se.OBJECTS,ce.GAMES,se.MAP,se.OBJECTS,ce.MAP,se.COMMERCE,se.MAP,se.OBJECTS,ce.COMMERCE,se.BRAND,se.COMMUNICATION,ce.BRAND,se.SYSTEM,se.OBJECTS,ce.MEDIA,se.SYSTEM,se.OBJECTS,ce.MEDIA,se.GAMES,se.HEALTH,se.OBJECTS,ce.GAMES,se.HEALTH,se.OBJECTS,se.NATURE,se.MAP,ce.MAP,se.DEVELOPMENT,se.SYSTEM,ce.DEVELOPMENT,se.DEVELOPMENT,se.SYSTEM,ce.DEVELOPMENT,se.DEVELOPMENT,se.NATURE,se.HEALTH,se.OBJECTS,ce.HEALTH,se.DESIGN,se.EDITOR,ce.DESIGN,se.DESIGN,se.EDITOR,ce.OFFICE,se.DESIGN,se.EDITOR,ce.OFFICE,se.DESIGN,se.EDITOR,ce.OFFICE,se.DESIGN,se.EDITOR,ce.OFFICE,se.DESIGN,se.EDITOR,ce.OFFICE,se.DESIGN,se.EDITOR,ce.OFFICE,se.DESIGN,se.EDITOR,ce.OFFICE,se.DESIGN,se.EDITOR,ce.OFFICE,se.DESIGN,se.EDITOR,ce.OFFICE,se.DESIGN,se.EDITOR,ce.OFFICE,se.DESIGN,se.EDITOR,ce.OFFICE,se.DESIGN,se.EDITOR,ce.OFFICE,se.DESIGN,se.EDITOR,ce.OFFICE,se.DESIGN,se.EDITOR,ce.OFFICE,se.DESIGN,se.EDITOR,ce.OFFICE,se.DESIGN,se.EDITOR,ce.OFFICE,se.DESIGN,se.EDITOR,ce.OFFICE,se.DESIGN,se.EDITOR,ce.OFFICE,se.DESIGN,se.EDITOR,se.FINANCE,ce.OFFICE,se.DESIGN,se.EDITOR,se.FINANCE,ce.OFFICE,se.DESIGN,se.EDITOR,ce.OFFICE,se.DESIGN,se.EDITOR,ce.OFFICE,se.DESIGN,se.EDITOR,ce.OFFICE,se.EDITOR,se.SYSTEM,ce.OFFICE,se.WEATHER,se.HEALTH,se.OBJECTS,ce.WEATHER,se.WEATHER,se.HEALTH,se.OBJECTS,ce.WEATHER,se.WEATHER,se.HEALTH,se.OBJECTS,ce.WEATHER,se.WEATHER,se.HEALTH,se.OBJECTS,ce.WEATHER,se.BRAND,se.COMMUNICATION,ce.BRAND,se.MEDIA,se.DEVELOPMENT,ce.MEDIA,se.COMMUNICATION,se.PEOPLE,ce.COMMUNICATION,se.COMMUNICATION,se.PEOPLE,ce.COMMUNICATION,se.COMMERCE,se.MAP,se.OBJECTS,ce.COMMERCE,se.BRAND,se.MEDIA,ce.BRAND,se.BRAND,se.COMMUNICATION,ce.BRAND,se.FINANCE,se.DEVELOPMENT,ce.FINANCE,se.SYSTEM,se.OBJECTS,ce.TIME,se.COMMERCE,se.FINANCE,se.OBJECTS,ce.COMMERCE,se.NATURE,se.OBJECTS,se.MAP,ce.MAP,se.COMMERCE,se.OBJECTS,ce.COMMERCE,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.HEALTH,se.OBJECTS,ce.HEALTH,se.HEALTH,se.OBJECTS,ce.HEALTH,se.OBJECTS,se.SYSTEM,se.COMMERCE,ce.COMMERCE,se.HEALTH,ce.HEALTH,se.WEATHER,ce.WEATHER,se.COMMERCE,se.OBJECTS,ce.COMMERCE,se.COMMERCE,se.OBJECTS,ce.COMMERCE,se.COMMERCE,se.OBJECTS,ce.COMMERCE,se.COMMERCE,se.OBJECTS,ce.COMMERCE,se.COMMERCE,ce.COMMERCE,se.COMMERCE,ce.COMMERCE,se.MAP,ce.MAP,se.MAP,ce.MAP,se.MAP,ce.MAP,se.MAP,se.OBJECTS,ce.MAP,se.MAP,se.OBJECTS,ce.MAP,se.MAP,se.OBJECTS,ce.MAP,se.MAP,se.OBJECTS,ce.MAP,se.COMMUNICATION,se.SYSTEM,ce.COMMUNICATION,se.OFFICE,se.SYSTEM,ce.OFFICE,se.OFFICE,se.SYSTEM,ce.OFFICE,se.OFFICE,se.COMMUNICATION,se.SYSTEM,ce.OFFICE,se.OFFICE,se.SYSTEM,ce.OFFICE,se.OFFICE,se.SYSTEM,ce.OFFICE,se.GAMES,se.OBJECTS,ce.GAMES,se.NATURE,ce.WEATHER,se.NATURE,ce.WEATHER,se.NATURE,ce.GAMES,se.DEVELOPMENT,se.OFFICE,ce.DEVELOPMENT,se.SYSTEM,ce.SYSTEM,se.FINANCE,se.OFFICE,ce.FINANCE,se.FINANCE,se.OFFICE,ce.FINANCE,se.DESIGN,ce.DESIGN,se.DESIGN,ce.DESIGN,se.OFFICE,se.OBJECTS,ce.MAP,se.OFFICE,se.OBJECTS,ce.MAP,se.GAMES,se.OBJECTS,ce.GAMES,se.COMMERCE,se.MAP,se.OBJECTS,ce.MAP,se.COMMERCE,se.MAP,se.OBJECTS,ce.COMMERCE,se.BRAND,se.COMMUNICATION,ce.BRAND,se.BRAND,se.COMMUNICATION,se.GAMES,ce.BRAND,se.BRAND,se.COMMUNICATION,ce.BRAND,se.OBJECTS,se.WEATHER,ce.WEATHER,se.OBJECTS,se.WEATHER,ce.WEATHER,se.FINANCE,se.DEVELOPMENT,ce.FINANCE,se.DESIGN,se.EDITOR,ce.DESIGN,se.DESIGN,se.EDITOR,ce.DESIGN,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.OBJECTS,se.SYSTEM,ce.SYSTEM,se.PEOPLE,ce.PEOPLE,se.PEOPLE,ce.PEOPLE,se.PEOPLE,ce.PEOPLE,se.PEOPLE,ce.PEOPLE,se.PEOPLE,ce.PEOPLE,se.PEOPLE,ce.PEOPLE,se.PEOPLE,ce.PEOPLE,se.PEOPLE,ce.PEOPLE,se.PEOPLE,ce.PEOPLE,se.PEOPLE,ce.PEOPLE,se.PEOPLE,ce.PEOPLE,se.PEOPLE,ce.PEOPLE,se.PEOPLE,ce.PEOPLE,se.PEOPLE,ce.PEOPLE,se.PEOPLE,ce.PEOPLE,se.PEOPLE,ce.PEOPLE,se.PEOPLE,ce.PEOPLE,se.PEOPLE,ce.PEOPLE,se.PEOPLE,ce.PEOPLE,se.PEOPLE,ce.PEOPLE,se.MAP,se.OBJECTS,ce.MAP,se.OBJECTS,se.SYSTEM,se.FINANCE,ce.SECURITY,se.ARROWS,se.DEVELOPMENT,se.DESIGN,ce.ARROWS,se.ARROWS,se.DEVELOPMENT,se.DESIGN,ce.ARROWS,se.SYSTEM,ce.SYSTEM,se.PEOPLE,ce.EDUCATION,se.MEDIA,se.SYSTEM,se.OBJECTS,ce.MEDIA,se.MEDIA,se.SYSTEM,ce.MEDIA,se.MEDIA,se.SYSTEM,se.COMMUNICATION,ce.MEDIA,se.DESIGN,ce.DESIGN,se.MEDIA,se.OFFICE,ce.MEDIA,se.GAMES,se.MEDIA,ce.GAMES,se.HEALTH,ce.HEALTH,se.DEVELOPMENT,se.MEDIA,se.OBJECTS,ce.MEDIA,se.SYSTEM,ce.COMMUNICATION,se.GAMES,se.HEALTH,se.OBJECTS,ce.GAMES,se.OBJECTS,se.SYSTEM,ce.SECURITY,se.COMMERCE,se.FINANCE,se.OBJECTS,ce.COMMERCE,se.COMMERCE,se.MAP,ce.COMMERCE,se.SYSTEM,ce.SECURITY,se.SYSTEM,ce.SECURITY,se.SYSTEM,ce.SECURITY,se.SYSTEM,ce.SECURITY,se.COMMERCE,se.MAP,se.OBJECTS,ce.COMMERCE,se.SYSTEM,se.OBJECTS,ce.TIME,se.MEDIA,ce.MEDIA,se.MEDIA,ce.MEDIA,se.MEDIA,ce.MEDIA,se.MEDIA,ce.MEDIA,se.MEDIA,ce.MEDIA,se.MEDIA,ce.MEDIA,se.NATURE,se.WEATHER,ce.WEATHER,se.OBJECTS,se.SYSTEM,se.COMMUNICATION,ce.MEDIA,se.COMMUNICATION,se.OBJECTS,se.SYSTEM,ce.MEDIA,se.DEVELOPMENT,se.BRAND,ce.DEVELOPMENT,se.BRAND,ce.BRAND,se.BRAND,se.COMMUNICATION,ce.BRAND,se.HEALTH,se.MAP,se.PEOPLE,ce.PEOPLE,se.HEALTH,se.MAP,se.PEOPLE,ce.PEOPLE,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.SYSTEM,ce.SYSTEM,se.WEATHER,ce.WEATHER,se.COMMERCE,ce.COMMERCE,se.BRAND,se.DEVELOPMENT,ce.BRAND,se.COMMERCE,se.MAP,se.OBJECTS,ce.COMMERCE,se.SYSTEM,se.OBJECTS,se.COMMERCE,ce.COMMERCE,se.DEVELOPMENT,se.FINANCE,se.SYSTEM,ce.FINANCE,se.SYSTEM,ce.FINANCE,se.BRAND,se.COMMUNICATION,ce.BRAND,se.SYSTEM,ce.FINANCE,se.GAMES,se.COMMERCE,ce.COMMERCE,se.COMMUNICATION,ce.COMMUNICATION,se.BRAND,se.COMMUNICATION,se.MEDIA,ce.BRAND;const ue=({iconKey:e,weight:n=le.BOLD,className:r,title:o,"aria-hidden":a})=>{const i=`ph-${e}`,E=n===le.REGULAR?"ph":`ph-${n}`;return t("span",{className:W("in-flex-h-stack-center",i,E,r),title:o,"aria-hidden":a})},de=({iconKey:e,size:n=Z.LG,responsive:r,className:o})=>{const a=Ee({responsive:r,styles:ie});return t(ue,{iconKey:e,className:W(o,oe[n],a.map((e=>e)))})},Oe=({variant:e=q.FILLED,theme:t=Q.PRIMARY,size:n=Z.LG})=>{const r=ne[t][e];l((()=>{if(!r)throw new Error(`${t} theme is not allowed for ${e}`);if(e===q.FILLED&&n===Z.XS)throw new Error("extra small size is not allowed for filled button")}),[e,t,n])},Re=({variant:e=q.FILLED,theme:t=Q.PRIMARY,size:n=Z.LG,disabled:r=!1,iconOption:o,iconPosition:a,responsive:i={}})=>{const{iconKey:E}=o??{},l=Ee({responsive:i,styles:ae}),{default:s,disabled:c,...u}=ne[t][e]??{},d=({style:t})=>e===q.TEXT?"":`${t.PADDING} ${t.ROUNDED}`;return W("in-flex-h-stack-center transition-colors",a===te.RIGHT&&"flex-row-reverse",!!E&&[re[n].GAP,l.map((e=>e.GAP))],[re[n].DEFAULT,l.map((e=>e.DEFAULT))],[d({style:re[n]}),l.map((e=>d({style:e})))],u,e===q.OUTLINED&&"border",r?`${c} cursor-not-allowed`:`${s} cursor-pointer`)},pe=({label:e,type:r="button",className:o,ref:a,onClick:i,isPending:E=!1,disabled:l=!1,...s})=>{const{variant:c,theme:u,size:d,iconOption:O}=s,R=E?z:O?.iconKey,p=l||E;Oe({variant:c,theme:u,size:d});return n("button",{className:W(o,Re({...s,iconOption:{iconKey:R},disabled:p})),disabled:p,ref:a,type:r,onClick:e=>{e.preventDefault(),p||i?.(e)},children:[R&&t(de,{iconKey:R,size:d,className:W(E&&"animate-spin"),responsive:s.responsive}),e]})},Se={HOVER_GRAY:"hover-gray",HOVER_WHITE:"hover-white",BG_WHITE:"bg-white",WHITE:"white"},fe={[Se.HOVER_GRAY]:"text-in-gray-06 hover:bg-in-primary-01 active:bg-in-primary-01 disabled:bg-transparent active:text-in-primary-05",[Se.HOVER_WHITE]:"text-in-gray-06 active:text-in-primary-05",[Se.BG_WHITE]:"text-in-gray-06 bg-in-white hover:bg-in-gray-01 disabled:bg-in-gray-01",[Se.WHITE]:"text-in-white hover:text-in-gray-02 active:text-in-gray-02"};function Ae(){return"undefined"!=typeof window}function Ce(e){return Ne(e)?(e.nodeName||"").toLowerCase():"#document";
|
|
2
|
-
// Mocked nodes in testing environments may not be instances of Node. By
|
|
3
|
-
// returning `#document` an infinite loop won't occur.
|
|
4
|
-
// https://github.com/floating-ui/floating-ui/issues/2317
|
|
5
|
-
}function Me(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Te(e){var t;return null==(t=(Ne(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Ne(e){return!!Ae()&&(e instanceof Node||e instanceof Me(e).Node)}function Ie(e){return!!Ae()&&(e instanceof Element||e instanceof Me(e).Element)}function he(e){return!!Ae()&&(e instanceof HTMLElement||e instanceof Me(e).HTMLElement)}function me(e){return!(!Ae()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Me(e).ShadowRoot)}function De(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Pe(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function be(e){return["table","td","th"].includes(Ce(e))}function ge(e){return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch(e){return!1}}))}function _e(e){const t=ye(),n=Ie(e)?Pe(e):e;
|
|
6
|
-
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
7
|
-
// https://drafts.csswg.org/css-transforms-2/#individual-transforms
|
|
8
|
-
return["transform","translate","scale","rotate","perspective"].some((e=>!!n[e]&&"none"!==n[e]))||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","translate","scale","rotate","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function ye(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Le(e){return["html","body","#document"].includes(Ce(e))}function Pe(e){return Me(e).getComputedStyle(e)}function ve(e){return Ie(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Fe(e){if("html"===Ce(e))return e;const t=
|
|
9
|
-
// Step into the shadow DOM of the parent of a slotted node.
|
|
10
|
-
e.assignedSlot||
|
|
11
|
-
// DOM Element detected.
|
|
12
|
-
e.parentNode||
|
|
13
|
-
// ShadowRoot detected.
|
|
14
|
-
me(e)&&e.host||
|
|
15
|
-
// Fallback.
|
|
16
|
-
Te(e);return me(t)?t.host:t}function xe(e){const t=Fe(e);return Le(t)?e.ownerDocument?e.ownerDocument.body:e.body:he(t)&&De(t)?t:xe(t)}function Ye(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=xe(e),a=o===(null==(r=e.ownerDocument)?void 0:r.body),i=Me(o);if(a){const e=we(i);return t.concat(i,i.visualViewport||[],De(o)?o:[],e&&n?Ye(e):[])}return t.concat(o,Ye(o,[],n))}function we(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}
|
|
17
|
-
/**
|
|
18
|
-
* Custom positioning reference element.
|
|
19
|
-
* @see https://floating-ui.com/docs/virtual-elements
|
|
20
|
-
*/const Be=Math.min,Ge=Math.max,Ue=Math.round,$e=Math.floor,He=e=>({x:e,y:e}),We={left:"right",right:"left",bottom:"top",top:"bottom"},ke={start:"end",end:"start"};function Ve(e,t,n){return Ge(e,Be(t,n))}function je(e,t){return"function"==typeof e?e(t):e}function Je(e){return e.split("-")[0]}function Ke(e){return e.split("-")[1]}function Xe(e){return"x"===e?"y":"x"}function ze(e){return"y"===e?"height":"width"}function qe(e){return["top","bottom"].includes(Je(e))?"y":"x"}function Qe(e){return Xe(qe(e))}function Ze(e){return e.replace(/start|end/g,(e=>ke[e]))}function et(e){return e.replace(/left|right|bottom|top/g,(e=>We[e]))}function tt(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}
|
|
21
|
-
/*!
|
|
22
|
-
* tabbable 6.2.0
|
|
23
|
-
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
24
|
-
*/
|
|
25
|
-
// NOTE: separate `:not()` selectors has broader browser support than the newer
|
|
26
|
-
// `:not([inert], [inert] *)` (Feb 2023)
|
|
27
|
-
// CAREFUL: JSDom does not support `:not([inert] *)` as a selector; using it causes
|
|
28
|
-
// the entire query to fail, resulting in no nodes found, which will break a lot
|
|
29
|
-
// of things... so we have to rely on JS to identify nodes inside an inert container
|
|
30
|
-
var nt=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"].join(","),rt="undefined"==typeof Element,ot=rt?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,at=!rt&&Element.prototype.getRootNode?function(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},it=function e(t,n){var r;void 0===n&&(n=!0);
|
|
31
|
-
// CAREFUL: JSDom does not support inert at all, so we can't use the `HTMLElement.inert`
|
|
32
|
-
// JS API property; we have to check the attribute, which can either be empty or 'true';
|
|
33
|
-
// if it's `null` (not specified) or 'false', it's an active element
|
|
34
|
-
var o=null==t||null===(r=t.getAttribute)||void 0===r?void 0:r.call(t,"inert");// recursive
|
|
35
|
-
return""===o||"true"===o||n&&t&&e(t.parentNode)},Et=function e(t,n,r){for(var o=[],a=Array.from(t);a.length;){var i=a.shift();if(!it(i,!1))if("SLOT"===i.tagName){
|
|
36
|
-
// add shadow dom slot scope (slot itself cannot be focusable)
|
|
37
|
-
var E=i.assignedElements(),l=e(E.length?E:i.children,!0,r);r.flatten?o.push.apply(o,l):o.push({scopeParent:i,candidates:l})}else{ot.call(i,nt)&&r.filter(i)&&(n||!t.includes(i))&&o.push(i);
|
|
38
|
-
// iterate over shadow content if possible
|
|
39
|
-
var s=i.shadowRoot||
|
|
40
|
-
// check for an undisclosed shadow
|
|
41
|
-
"function"==typeof r.getShadowRoot&&r.getShadowRoot(i),c=!it(s,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(i));
|
|
42
|
-
// no inert look up because we're already drilling down and checking for inertness
|
|
43
|
-
// on the way down, so all containers to this root node should have already been
|
|
44
|
-
// vetted as non-inert
|
|
45
|
-
if(s&&c){
|
|
46
|
-
// add shadow dom scope IIF a shadow root node was given; otherwise, an undisclosed
|
|
47
|
-
// shadow exists, so look at light dom children as fallback BUT create a scope for any
|
|
48
|
-
// child candidates found because they're likely slotted elements (elements that are
|
|
49
|
-
// children of the web component element (which has the shadow), in the light dom, but
|
|
50
|
-
// slotted somewhere _inside_ the undisclosed shadow) -- the scope is created below,
|
|
51
|
-
// _after_ we return from this recursive call
|
|
52
|
-
var u=e(!0===s?i.children:s.children,!0,r);r.flatten?o.push.apply(o,u):o.push({scopeParent:i,candidates:u})}else
|
|
53
|
-
// there's not shadow so just dig into the element's (light dom) children
|
|
54
|
-
// __without__ giving the element special scope treatment
|
|
55
|
-
a.unshift.apply(a,i.children)}}return o},lt=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},st=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,n=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");
|
|
56
|
-
// CAREFUL: JSDom does not support the `HTMLElement.isContentEditable` API so we have
|
|
57
|
-
// to use the attribute directly to check for this, which can either be empty or 'true';
|
|
58
|
-
// if it's `null` (not specified) or 'false', it's a non-editable element
|
|
59
|
-
return""===n||"true"===n}(e))&&!lt(e)?0:e.tabIndex},ct=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},ut=function(e){return"INPUT"===e.tagName},dt=function(e){return function(e){return ut(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||at(e),r=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=r(window.CSS.escape(e.name));else try{t=r(e.name)}catch(e){
|
|
60
|
-
// eslint-disable-next-line no-console
|
|
61
|
-
return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var o=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!o||o===e}(e)},Ot=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return 0===n&&0===r},Rt=function(e,t){var n=t.displayCheck,r=t.getShadowRoot;
|
|
62
|
-
// NOTE: visibility will be `undefined` if node is detached from the document
|
|
63
|
-
// (see notes about this further down), which means we will consider it visible
|
|
64
|
-
// (this is legacy behavior from a very long way back)
|
|
65
|
-
// NOTE: we check this regardless of `displayCheck="none"` because this is a
|
|
66
|
-
// _visibility_ check, not a _display_ check
|
|
67
|
-
if("hidden"===getComputedStyle(e).visibility)return!0;var o=ot.call(e,"details>summary:first-of-type")?e.parentElement:e;if(ot.call(o,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)
|
|
68
|
-
// NOTE: Even though this tests that the node's client rect is non-zero to determine
|
|
69
|
-
// whether it's displayed, and that a detached node will __always__ have a zero-area
|
|
70
|
-
// client rect, we don't special-case for whether the node is attached or not. In
|
|
71
|
-
// this mode, we do want to consider nodes that have a zero area to be hidden at all
|
|
72
|
-
// times, and that includes attached or not.
|
|
73
|
-
return Ot(e);
|
|
74
|
-
// visible, as far as we can tell, or per current `displayCheck=none` mode, we assume
|
|
75
|
-
// it's visible
|
|
76
|
-
}else{if("function"==typeof r){for(
|
|
77
|
-
// figure out if we should consider the node to be in an undisclosed shadow and use the
|
|
78
|
-
// 'non-zero-area' fallback
|
|
79
|
-
var a=e;e;){var i=e.parentElement,E=at(e);if(i&&!i.shadowRoot&&!0===r(i))
|
|
80
|
-
// node has an undisclosed shadow which means we can only treat it as a black box, so we
|
|
81
|
-
// fall back to a non-zero-area test
|
|
82
|
-
return Ot(e);
|
|
83
|
-
// iterate up slot
|
|
84
|
-
e=e.assignedSlot?e.assignedSlot:i||E===e.ownerDocument?i:E.host}e=a}
|
|
85
|
-
// else, `getShadowRoot` might be true, but all that does is enable shadow DOM support
|
|
86
|
-
// (i.e. it does not also presume that all nodes might have undisclosed shadows); or
|
|
87
|
-
// it might be a falsy value, which means shadow DOM support is disabled
|
|
88
|
-
// Since we didn't find it sitting in an undisclosed shadow (or shadows are disabled)
|
|
89
|
-
// now we can just test to see if it would normally be visible or not, provided it's
|
|
90
|
-
// attached to the main document.
|
|
91
|
-
// NOTE: We must consider case where node is inside a shadow DOM and given directly to
|
|
92
|
-
// `isTabbable()` or `isFocusable()` -- regardless of `getShadowRoot` option setting.
|
|
93
|
-
if(function(e){var t,n,r,o,a=e&&at(e),i=null===(t=a)||void 0===t?void 0:t.host,E=!1;
|
|
94
|
-
// The root node is the shadow root if the node is in a shadow DOM; some document otherwise
|
|
95
|
-
// (but NOT _the_ document; see second 'If' comment below for more).
|
|
96
|
-
// If rootNode is shadow root, it'll have a host, which is the element to which the shadow
|
|
97
|
-
// is attached, and the one we need to check if it's in the document or not (because the
|
|
98
|
-
// shadow, and all nodes it contains, is never considered in the document since shadows
|
|
99
|
-
// behave like self-contained DOMs; but if the shadow's HOST, which is part of the document,
|
|
100
|
-
// is hidden, or is not in the document itself but is detached, it will affect the shadow's
|
|
101
|
-
// visibility, including all the nodes it contains). The host could be any normal node,
|
|
102
|
-
// or a custom element (i.e. web component). Either way, that's the one that is considered
|
|
103
|
-
// part of the document, not the shadow root, nor any of its children (i.e. the node being
|
|
104
|
-
// tested).
|
|
105
|
-
// To further complicate things, we have to look all the way up until we find a shadow HOST
|
|
106
|
-
// that is attached (or find none) because the node might be in nested shadows...
|
|
107
|
-
// If rootNode is not a shadow root, it won't have a host, and so rootNode should be the
|
|
108
|
-
// document (per the docs) and while it's a Document-type object, that document does not
|
|
109
|
-
// appear to be the same as the node's `ownerDocument` for some reason, so it's safer
|
|
110
|
-
// to ignore the rootNode at this point, and use `node.ownerDocument`. Otherwise,
|
|
111
|
-
// using `rootNode.contains(node)` will _always_ be true we'll get false-positives when
|
|
112
|
-
// node is actually detached.
|
|
113
|
-
// NOTE: If `nodeRootHost` or `node` happens to be the `document` itself (which is possible
|
|
114
|
-
// if a tabbable/focusable node was quickly added to the DOM, focused, and then removed
|
|
115
|
-
// from the DOM as in https://github.com/focus-trap/focus-trap-react/issues/905), then
|
|
116
|
-
// `ownerDocument` will be `null`, hence the optional chaining on it.
|
|
117
|
-
if(a&&a!==e)for(E=!!(null!==(n=i)&&void 0!==n&&null!==(r=n.ownerDocument)&&void 0!==r&&r.contains(i)||null!=e&&null!==(o=e.ownerDocument)&&void 0!==o&&o.contains(e));!E&&i;){var l,s,c;
|
|
118
|
-
// since it's not attached and we have a root host, the node MUST be in a nested shadow DOM,
|
|
119
|
-
// which means we need to get the host's host and check if that parent host is contained
|
|
120
|
-
// in (i.e. attached to) the document
|
|
121
|
-
E=!(null===(s=i=null===(l=a=at(i))||void 0===l?void 0:l.host)||void 0===s||null===(c=s.ownerDocument)||void 0===c||!c.contains(i))}return E}(e))
|
|
122
|
-
// this works wherever the node is: if there's at least one client rect, it's
|
|
123
|
-
// somehow displayed; it also covers the CSS 'display: contents' case where the
|
|
124
|
-
// node itself is hidden in place of its contents; and there's no need to search
|
|
125
|
-
// up the hierarchy either
|
|
126
|
-
return!e.getClientRects().length;
|
|
127
|
-
// Else, the node isn't attached to the document, which means the `getClientRects()`
|
|
128
|
-
// API will __always__ return zero rects (this can happen, for example, if React
|
|
129
|
-
// is used to render nodes onto a detached tree, as confirmed in this thread:
|
|
130
|
-
// https://github.com/facebook/react/issues/9117#issuecomment-284228870)
|
|
131
|
-
|
|
132
|
-
// It also means that even window.getComputedStyle(node).display will return `undefined`
|
|
133
|
-
// because styles are only computed for nodes that are in the document.
|
|
134
|
-
|
|
135
|
-
// NOTE: THIS HAS BEEN THE CASE FOR YEARS. It is not new, nor is it caused by tabbable
|
|
136
|
-
// somehow. Though it was never stated officially, anyone who has ever used tabbable
|
|
137
|
-
// APIs on nodes in detached containers has actually implicitly used tabbable in what
|
|
138
|
-
// was later (as of v5.2.0 on Apr 9, 2021) called `displayCheck="none"` mode -- essentially
|
|
139
|
-
// considering __everything__ to be visible because of the innability to determine styles.
|
|
140
|
-
|
|
141
|
-
// v6.0.0: As of this major release, the default 'full' option __no longer treats detached
|
|
142
|
-
// nodes as visible with the 'none' fallback.__
|
|
143
|
-
if("legacy-full"!==n)return!0;// hidden
|
|
144
|
-
// else, fallback to 'none' mode and consider the node visible
|
|
145
|
-
}return!1},pt=function(e,t){return!(t.disabled||
|
|
146
|
-
// we must do an inert look up to filter out any elements inside an inert ancestor
|
|
147
|
-
// because we're limited in the type of selectors we can use in JSDom (see related
|
|
148
|
-
// note related to `candidateSelectors`)
|
|
149
|
-
it(t)||function(e){return ut(e)&&"hidden"===e.type}(t)||Rt(t,e)||
|
|
150
|
-
// For a details element with a summary, the summary element gets the focus
|
|
151
|
-
function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))
|
|
152
|
-
// check if `node` is contained in a disabled <fieldset>
|
|
153
|
-
for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){
|
|
154
|
-
// look for the first <legend> among the children of the disabled <fieldset>
|
|
155
|
-
for(var n=0;n<t.children.length;n++){var r=t.children.item(n);
|
|
156
|
-
// when the first <legend> (in document order) is found
|
|
157
|
-
if("LEGEND"===r.tagName)
|
|
158
|
-
// if its parent <fieldset> is not nested in another disabled <fieldset>,
|
|
159
|
-
// return whether `node` is a descendant of its first <legend>
|
|
160
|
-
return!!ot.call(t,"fieldset[disabled] *")||!r.contains(e)}
|
|
161
|
-
// the disabled <fieldset> containing `node` has no <legend>
|
|
162
|
-
return!0}t=t.parentElement}
|
|
163
|
-
// else, node's tabbable/focusable state should not be affected by a fieldset's
|
|
164
|
-
// enabled/disabled state
|
|
165
|
-
return!1}(t))},St=function(e,t){return!(dt(t)||st(t)<0||!pt(e,t))},ft=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0);
|
|
166
|
-
// If a custom element has an explicit negative tabindex,
|
|
167
|
-
// browsers will not allow tab targeting said element's children.
|
|
168
|
-
},At=function e(t){var n=[],r=[];return t.forEach((function(t,o){var a=!!t.scopeParent,i=a?t.scopeParent:t,E=function(e,t){var n=st(e);return n<0&&t&&!lt(e)?0:n}(i,a),l=a?e(t.candidates):i;0===E?a?n.push.apply(n,l):n.push(i):r.push({documentOrder:o,tabIndex:E,item:t,isScope:a,content:l})})),r.sort(ct).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(n)},Ct=function(e,t){var n;return n=(t=t||{}).getShadowRoot?Et([e],t.includeContainer,{filter:St.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:ft}):function(e,t,n){
|
|
169
|
-
// even if `includeContainer=false`, we still have to check it for inertness because
|
|
170
|
-
// if it's inert, all its children are inert
|
|
171
|
-
if(it(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(nt));return t&&ot.call(e,nt)&&r.unshift(e),r.filter(n)}(e,t.includeContainer,St.bind(null,t)),At(n)};function Mt(e,t){if(!e||!t)return!1;const n=null==t.getRootNode?void 0:t.getRootNode();
|
|
172
|
-
// First, attempt with faster native method
|
|
173
|
-
if(e.contains(t))return!0;
|
|
174
|
-
// then fallback to custom implementation with Shadow DOM support
|
|
175
|
-
if(n&&me(n)){let n=t;for(;n;){if(e===n)return!0;
|
|
176
|
-
// @ts-ignore
|
|
177
|
-
n=n.parentNode||n.host}}
|
|
178
|
-
// Give up, the result is false
|
|
179
|
-
return!1}function Tt(e){return(null==e?void 0:e.ownerDocument)||document}function Nt(e,t){
|
|
180
|
-
// On some Linux machines with Chromium, mouse inputs return a `pointerType`
|
|
181
|
-
// of "pen": https://github.com/floating-ui/floating-ui/issues/2015
|
|
182
|
-
const n=["mouse","pen"];return n.push("",void 0),n.includes(e)}var It="undefined"!=typeof document?s:l;
|
|
183
|
-
// https://github.com/mui/material-ui/issues/41190#issuecomment-2040873379
|
|
184
|
-
function ht(e){const t=o.useRef(e);return It((()=>{t.current=e})),t}const mt={...o}.useInsertionEffect||(e=>e());function Dt(e){const t=o.useRef((()=>{if("production"!==process.env.NODE_ENV)throw new Error("Cannot call an event handler while rendering.")}));return mt((()=>{t.current=e})),o.useCallback((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)}),[])}const bt=()=>({getShadowRoot:!0,displayCheck:
|
|
185
|
-
// JSDOM does not support the `tabbable` library. To solve this we can
|
|
186
|
-
// check if `ResizeObserver` is a real function (not polyfilled), which
|
|
187
|
-
// determines if the current environment is JSDOM-like.
|
|
188
|
-
"function"==typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function gt(e,t){const n=Ct(e,bt()),r=n.length;if(0===r)return;const o=function(e){let t=e.activeElement;for(;null!=(null==(n=t)||null==(n=n.shadowRoot)?void 0:n.activeElement);){var n;t=t.shadowRoot.activeElement}return t}(Tt(e)),a=n.indexOf(o);return n[-1===a?1===t?0:r-1:a+t]}function _t(e,t){const n=t||e.currentTarget,r=e.relatedTarget;return!r||!Mt(n,r)}function yt(e){Ct(e,bt()).forEach((e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")}))}function Lt(e){e.querySelectorAll("[data-tabindex]").forEach((e=>{const t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute("tabindex",t):e.removeAttribute("tabindex")}))}function Pt(e,t,n){let{reference:r,floating:o}=e;const a=qe(t),i=Qe(t),E=ze(i),l=Je(t),s="y"===a,c=r.x+r.width/2-o.width/2,u=r.y+r.height/2-o.height/2,d=r[E]/2-o[E]/2;let O;switch(l){case"top":O={x:c,y:r.y-o.height};break;case"bottom":O={x:c,y:r.y+r.height};break;case"right":O={x:r.x+r.width,y:u};break;case"left":O={x:r.x-o.width,y:u};break;default:O={x:r.x,y:r.y}}switch(Ke(t)){case"start":O[i]-=d*(n&&s?-1:1);break;case"end":O[i]+=d*(n&&s?-1:1)}return O}
|
|
189
|
-
/**
|
|
190
|
-
* Computes the `x` and `y` coordinates that will place the floating element
|
|
191
|
-
* next to a given reference element.
|
|
192
|
-
*
|
|
193
|
-
* This export does not have any `platform` interface logic. You will need to
|
|
194
|
-
* write one for the platform you are using Floating UI with.
|
|
195
|
-
*/
|
|
196
|
-
/**
|
|
197
|
-
* Resolves with an object of overflow side offsets that determine how much the
|
|
198
|
-
* element is overflowing a given clipping boundary on each side.
|
|
199
|
-
* - positive = overflowing the boundary by that number of pixels
|
|
200
|
-
* - negative = how many pixels left before it will overflow
|
|
201
|
-
* - 0 = lies flush with the boundary
|
|
202
|
-
* @see https://floating-ui.com/docs/detectOverflow
|
|
203
|
-
*/
|
|
204
|
-
async function vt(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:a,rects:i,elements:E,strategy:l}=e,{boundary:s="clippingAncestors",rootBoundary:c="viewport",elementContext:u="floating",altBoundary:d=!1,padding:O=0}=je(t,e),R=function(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}(O),p=E[d?"floating"===u?"reference":"floating":u],S=tt(await a.getClippingRect({element:null==(n=await(null==a.isElement?void 0:a.isElement(p)))||n?p:p.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(E.floating)),boundary:s,rootBoundary:c,strategy:l})),f="floating"===u?{x:r,y:o,width:i.floating.width,height:i.floating.height}:i.reference,A=await(null==a.getOffsetParent?void 0:a.getOffsetParent(E.floating)),C=await(null==a.isElement?void 0:a.isElement(A))&&await(null==a.getScale?void 0:a.getScale(A))||{x:1,y:1},M=tt(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:E,rect:f,offsetParent:A,strategy:l}):f);return{top:(S.top-M.top+R.top)/C.y,bottom:(M.bottom-S.bottom+R.bottom)/C.y,left:(S.left-M.left+R.left)/C.x,right:(M.right-S.right+R.right)/C.x}}
|
|
205
|
-
/**
|
|
206
|
-
* Optimizes the visibility of the floating element by flipping the `placement`
|
|
207
|
-
* in order to keep it in view when the preferred placement(s) will overflow the
|
|
208
|
-
* clipping boundary. Alternative to `autoPlacement`.
|
|
209
|
-
* @see https://floating-ui.com/docs/flip
|
|
210
|
-
*/function Ft(e){const t=Pe(e);
|
|
211
|
-
// In testing environments, the `width` and `height` properties are empty
|
|
212
|
-
// strings for SVG elements, returning NaN. Fallback to `0` in this case.
|
|
213
|
-
let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=he(e),a=o?e.offsetWidth:n,i=o?e.offsetHeight:r,E=Ue(n)!==a||Ue(r)!==i;return E&&(n=a,r=i),{width:n,height:r,$:E}}function xt(e){return Ie(e)?e:e.contextElement}function Yt(e){const t=xt(e);if(!he(t))return He(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:a}=Ft(t);let i=(a?Ue(n.width):n.width)/r,E=(a?Ue(n.height):n.height)/o;
|
|
214
|
-
// 0, NaN, or Infinity should always fallback to 1.
|
|
215
|
-
return i&&Number.isFinite(i)||(i=1),E&&Number.isFinite(E)||(E=1),{x:i,y:E}}const wt=He(0);function Bt(e){const t=Me(e);return ye()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:wt}function Gt(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),a=xt(e);let i=He(1);t&&(r?Ie(r)&&(i=Yt(r)):i=Yt(e));const E=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==Me(e))&&t}(a,n,r)?Bt(a):He(0);let l=(o.left+E.x)/i.x,s=(o.top+E.y)/i.y,c=o.width/i.x,u=o.height/i.y;if(a){const e=Me(a),t=r&&Ie(r)?Me(r):r;let n=e,o=we(n);for(;o&&r&&t!==n;){const e=Yt(o),t=o.getBoundingClientRect(),r=Pe(o),a=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,i=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,s*=e.y,c*=e.x,u*=e.y,l+=a,s+=i,n=Me(o),o=we(n)}}return tt({width:c,height:u,x:l,y:s})}
|
|
216
|
-
// If <html> has a CSS width greater than the viewport, then this will be
|
|
217
|
-
// incorrect for RTL.
|
|
218
|
-
function Ut(e,t){const n=ve(e).scrollLeft;return t?t.left+n:Gt(Te(e)).left+n}function $t(e,t,n){void 0===n&&(n=!1);const r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-(n?0:
|
|
219
|
-
// RTL <body> scrollbar.
|
|
220
|
-
Ut(e,r)),y:r.top+t.scrollTop}}function Ht(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=Me(e),r=Te(e),o=n.visualViewport;let a=r.clientWidth,i=r.clientHeight,E=0,l=0;if(o){a=o.width,i=o.height;const e=ye();(!e||e&&"fixed"===t)&&(E=o.offsetLeft,l=o.offsetTop)}return{width:a,height:i,x:E,y:l}}
|
|
221
|
-
// Returns the inner client rect, subtracting scrollbars if present.
|
|
222
|
-
(e,n);else if("document"===t)r=
|
|
223
|
-
// Gets the entire size of the scrollable document area, even extending outside
|
|
224
|
-
// of the `<html>` and `<body>` rect bounds if horizontally scrollable.
|
|
225
|
-
function(e){const t=Te(e),n=ve(e),r=e.ownerDocument.body,o=Ge(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=Ge(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+Ut(e);const E=-n.scrollTop;return"rtl"===Pe(r).direction&&(i+=Ge(t.clientWidth,r.clientWidth)-o),{width:o,height:a,x:i,y:E}}(Te(e));else if(Ie(t))r=function(e,t){const n=Gt(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,a=he(e)?Yt(e):He(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:o*a.x,y:r*a.y}}(t,n);else{const n=Bt(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return tt(r)}function Wt(e,t){const n=Fe(e);return!(n===t||!Ie(n)||Le(n))&&("fixed"===Pe(n).position||Wt(n,t))}
|
|
226
|
-
// A "clipping ancestor" is an `overflow` element with the characteristic of
|
|
227
|
-
// clipping (or hiding) child elements. This returns all clipping ancestors
|
|
228
|
-
// of the given element up the tree.
|
|
229
|
-
function kt(e,t,n){const r=he(t),o=Te(t),a="fixed"===n,i=Gt(e,!0,a,t);let E={scrollLeft:0,scrollTop:0};const l=He(0);
|
|
230
|
-
// If the <body> scrollbar appears on the left (e.g. RTL systems). Use
|
|
231
|
-
// Firefox with layout.scrollbar.side = 3 in about:config to test this.
|
|
232
|
-
function s(){l.x=Ut(o)}if(r||!r&&!a)if(("body"!==Ce(t)||De(o))&&(E=ve(t)),r){const e=Gt(t,!0,a,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else o&&s();a&&!r&&o&&s();const c=!o||r||a?He(0):$t(o,E);return{x:i.left+E.scrollLeft-l.x-c.x,y:i.top+E.scrollTop-l.y-c.y,width:i.width,height:i.height}}function Vt(e){return"static"===Pe(e).position}function jt(e,t){if(!he(e)||"fixed"===Pe(e).position)return null;if(t)return t(e);let n=e.offsetParent;
|
|
233
|
-
// Firefox returns the <html> element as the offsetParent if it's non-static,
|
|
234
|
-
// while Chrome and Safari return the <body> element. The <body> element must
|
|
235
|
-
// be used to perform the correct calculations even if the <html> element is
|
|
236
|
-
// non-static.
|
|
237
|
-
return Te(e)===n&&(n=n.ownerDocument.body),n}
|
|
238
|
-
// Gets the closest ancestor positioned element. Handles some edge cases,
|
|
239
|
-
// such as table ancestors and cross browser bugs.
|
|
240
|
-
function Jt(e,t){const n=Me(e);if(ge(e))return n;if(!he(e)){let t=Fe(e);for(;t&&!Le(t);){if(Ie(t)&&!Vt(t))return t;t=Fe(t)}return n}let r=jt(e,t);for(;r&&be(r)&&Vt(r);)r=jt(r,t);return r&&Le(r)&&Vt(r)&&!_e(r)?n:r||function(e){let t=Fe(e);for(;he(t)&&!Le(t);){if(_e(t))return t;if(ge(t))return null;t=Fe(t)}return null}(e)||n}const Kt={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const a="fixed"===o,i=Te(r),E=!!t&&ge(t.floating);if(r===i||E&&a)return n;let l={scrollLeft:0,scrollTop:0},s=He(1);const c=He(0),u=he(r);if((u||!u&&!a)&&(("body"!==Ce(r)||De(i))&&(l=ve(r)),he(r))){const e=Gt(r);s=Yt(r),c.x=e.x+r.clientLeft,c.y=e.y+r.clientTop}const d=!i||u||a?He(0):$t(i,l,!0);return{width:n.width*s.x,height:n.height*s.y,x:n.x*s.x-l.scrollLeft*s.x+c.x+d.x,y:n.y*s.y-l.scrollTop*s.y+c.y+d.y}},getDocumentElement:Te,getClippingRect:
|
|
241
|
-
// Gets the maximum area that the element is visible in due to any number of
|
|
242
|
-
// clipping ancestors.
|
|
243
|
-
function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const a=[..."clippingAncestors"===n?ge(t)?[]:function(e,t){const n=t.get(e);if(n)return n;let r=Ye(e,[],!1).filter((e=>Ie(e)&&"body"!==Ce(e))),o=null;const a="fixed"===Pe(e).position;let i=a?Fe(e):e;
|
|
244
|
-
// https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
|
|
245
|
-
for(;Ie(i)&&!Le(i);){const t=Pe(i),n=_e(i);n||"fixed"!==t.position||(o=null),(a?!n&&!o:!n&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||De(i)&&!n&&Wt(e,i))?
|
|
246
|
-
// Drop non-containing blocks.
|
|
247
|
-
r=r.filter((e=>e!==i)):
|
|
248
|
-
// Record last containing block for next iteration.
|
|
249
|
-
o=t,i=Fe(i)}return t.set(e,r),r}(t,this._c):[].concat(n),r],i=a[0],E=a.reduce(((e,n)=>{const r=Ht(t,n,o);return e.top=Ge(r.top,e.top),e.right=Be(r.right,e.right),e.bottom=Be(r.bottom,e.bottom),e.left=Ge(r.left,e.left),e}),Ht(t,i,o));return{width:E.right-E.left,height:E.bottom-E.top,x:E.left,y:E.top}},getOffsetParent:Jt,getElementRects:async function(e){const t=this.getOffsetParent||Jt,n=this.getDimensions,r=await n(e.floating);return{reference:kt(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=Ft(e);return{width:t,height:n}},getScale:Yt,isElement:Ie,isRTL:function(e){return"rtl"===Pe(e).direction}};function Xt(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}
|
|
250
|
-
// https://samthor.au/2021/observing-dom/
|
|
251
|
-
/**
|
|
252
|
-
* Automatically updates the position of the floating element when necessary.
|
|
253
|
-
* Should only be called when the floating element is mounted on the DOM or
|
|
254
|
-
* visible on the screen.
|
|
255
|
-
* @returns cleanup function that should be invoked when the floating element is
|
|
256
|
-
* removed from the DOM or hidden from the screen.
|
|
257
|
-
* @see https://floating-ui.com/docs/autoUpdate
|
|
258
|
-
*/
|
|
259
|
-
function zt(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:i="function"==typeof ResizeObserver,layoutShift:E="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,s=xt(e),c=o||a?[...s?Ye(s):[],...Ye(t)]:[];c.forEach((e=>{o&&e.addEventListener("scroll",n,{passive:!0}),a&&e.addEventListener("resize",n)}));const u=s&&E?function(e,t){let n,r=null;const o=Te(e);function a(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function i(E,l){void 0===E&&(E=!1),void 0===l&&(l=1),a();const s=e.getBoundingClientRect(),{left:c,top:u,width:d,height:O}=s;if(E||t(),!d||!O)return;const R={rootMargin:-$e(u)+"px "+-$e(o.clientWidth-(c+d))+"px "+-$e(o.clientHeight-(u+O))+"px "+-$e(c)+"px",threshold:Ge(0,Be(1,l))||1};let p=!0;function S(t){const r=t[0].intersectionRatio;if(r!==l){if(!p)return i();r?i(!1,r):
|
|
260
|
-
// If the reference is clipped, the ratio is 0. Throttle the refresh
|
|
261
|
-
// to prevent an infinite loop of updates.
|
|
262
|
-
n=setTimeout((()=>{i(!1,1e-7)}),1e3)}1!==r||Xt(s,e.getBoundingClientRect())||
|
|
263
|
-
// It's possible that even though the ratio is reported as 1, the
|
|
264
|
-
// element is not actually fully within the IntersectionObserver's root
|
|
265
|
-
// area anymore. This can happen under performance constraints. This may
|
|
266
|
-
// be a bug in the browser's IntersectionObserver implementation. To
|
|
267
|
-
// work around this, we compare the element's bounding rect now with
|
|
268
|
-
// what it was at the time we created the IntersectionObserver. If they
|
|
269
|
-
// are not equal then the element moved, so we refresh.
|
|
270
|
-
i(),p=!1}
|
|
271
|
-
// Older browsers don't support a `document` as the root and will throw an
|
|
272
|
-
// error.
|
|
273
|
-
try{r=new IntersectionObserver(S,{...R,
|
|
274
|
-
// Handle <iframe>s
|
|
275
|
-
root:o.ownerDocument})}catch(e){r=new IntersectionObserver(S,R)}r.observe(e)}(!0),a}(s,n):null;let d,O=-1,R=null;i&&(R=new ResizeObserver((e=>{let[r]=e;r&&r.target===s&&R&&(
|
|
276
|
-
// Prevent update loops when using the `size` middleware.
|
|
277
|
-
// https://github.com/floating-ui/floating-ui/issues/1740
|
|
278
|
-
R.unobserve(t),cancelAnimationFrame(O),O=requestAnimationFrame((()=>{var e;null==(e=R)||e.observe(t)}))),n()})),s&&!l&&R.observe(s),R.observe(t));let p=l?Gt(e):null;return l&&function t(){const r=Gt(e);p&&!Xt(p,r)&&n();p=r,d=requestAnimationFrame(t)}(),n(),()=>{var e;c.forEach((e=>{o&&e.removeEventListener("scroll",n),a&&e.removeEventListener("resize",n)})),null==u||u(),null==(e=R)||e.disconnect(),R=null,l&&cancelAnimationFrame(d)}}
|
|
279
|
-
/**
|
|
280
|
-
* Modifies the placement by translating the floating element along the
|
|
281
|
-
* specified axes.
|
|
282
|
-
* A number (shorthand for `mainAxis` or distance), or an axes configuration
|
|
283
|
-
* object may be passed.
|
|
284
|
-
* @see https://floating-ui.com/docs/offset
|
|
285
|
-
*/const qt=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:a,placement:i,middlewareData:E}=t,l=
|
|
286
|
-
// For type backwards-compatibility, the `OffsetOptions` type was also
|
|
287
|
-
// Derivable.
|
|
288
|
-
await async function(e,t){const{placement:n,platform:r,elements:o}=e,a=await(null==r.isRTL?void 0:r.isRTL(o.floating)),i=Je(n),E=Ke(n),l="y"===qe(n),s=["left","top"].includes(i)?-1:1,c=a&&l?-1:1,u=je(t,e);
|
|
289
|
-
// eslint-disable-next-line prefer-const
|
|
290
|
-
let{mainAxis:d,crossAxis:O,alignmentAxis:R}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return E&&"number"==typeof R&&(O="end"===E?-1*R:R),l?{x:O*c,y:d*s}:{x:d*s,y:O*c}}
|
|
291
|
-
/**
|
|
292
|
-
* Modifies the placement by translating the floating element along the
|
|
293
|
-
* specified axes.
|
|
294
|
-
* A number (shorthand for `mainAxis` or distance), or an axes configuration
|
|
295
|
-
* object may be passed.
|
|
296
|
-
* @see https://floating-ui.com/docs/offset
|
|
297
|
-
*/(t,e);
|
|
298
|
-
// If the placement is the same and the arrow caused an alignment offset
|
|
299
|
-
// then we don't need to change the positioning coordinates.
|
|
300
|
-
return i===(null==(n=E.offset)?void 0:n.placement)&&null!=(r=E.arrow)&&r.alignmentOffset?{}:{x:o+l.x,y:a+l.y,data:{...l,placement:i}}}}},Qt=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:a=!0,crossAxis:i=!1,limiter:E={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=je(e,t),s={x:n,y:r},c=await vt(t,l),u=qe(Je(o)),d=Xe(u);let O=s[d],R=s[u];if(a){const e="y"===d?"bottom":"right";O=Ve(O+c["y"===d?"top":"left"],O,O-c[e])}if(i){const e="y"===u?"bottom":"right";R=Ve(R+c["y"===u?"top":"left"],R,R-c[e])}const p=E.fn({...t,[d]:O,[u]:R});return{...p,data:{x:p.x-n,y:p.y-r,enabled:{[d]:a,[u]:i}}}}}},Zt=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:a,rects:i,initialPlacement:E,platform:l,elements:s}=t,{mainAxis:c=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:O="bestFit",fallbackAxisSideDirection:R="none",flipAlignment:p=!0,...S}=je(e,t);
|
|
301
|
-
// If a reset by the arrow was caused due to an alignment offset being
|
|
302
|
-
// added, we should skip any logic now since `flip()` has already done its
|
|
303
|
-
// work.
|
|
304
|
-
// https://github.com/floating-ui/floating-ui/issues/2549#issuecomment-1719601643
|
|
305
|
-
if(null!=(n=a.arrow)&&n.alignmentOffset)return{};const f=Je(o),A=qe(E),C=Je(E)===E,M=await(null==l.isRTL?void 0:l.isRTL(s.floating)),T=d||(C||!p?[et(E)]:function(e){const t=et(e);return[Ze(e),t,Ze(t)]}(E)),N="none"!==R;!d&&N&&T.push(...function(e,t,n,r){const o=Ke(e);let a=function(e,t,n){const r=["left","right"],o=["right","left"],a=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?a:i;default:return[]}}(Je(e),"start"===n,r);return o&&(a=a.map((e=>e+"-"+o)),t&&(a=a.concat(a.map(Ze)))),a}(E,p,R,M));const I=[E,...T],h=await vt(t,S),m=[];let D=(null==(r=a.flip)?void 0:r.overflows)||[];if(c&&m.push(h[f]),u){const e=function(e,t,n){void 0===n&&(n=!1);const r=Ke(e),o=Qe(e),a=ze(o);let i="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[a]>t.floating[a]&&(i=et(i)),[i,et(i)]}(o,i,M);m.push(h[e[0]],h[e[1]])}
|
|
306
|
-
// One or more sides is overflowing.
|
|
307
|
-
if(D=[...D,{placement:o,overflows:m}],!m.every((e=>e<=0))){var b,g;const e=((null==(b=a.flip)?void 0:b.index)||0)+1,t=I[e];if(t){var _;const n="alignment"===u&&A!==qe(t),r=(null==(_=D[0])?void 0:_.overflows[0])>0;if(!n||r)
|
|
308
|
-
// Try next placement and re-run the lifecycle.
|
|
309
|
-
return{data:{index:e,overflows:D},reset:{placement:t}}}
|
|
310
|
-
// First, find the candidates that fit on the mainAxis side of overflow,
|
|
311
|
-
// then find the placement that fits the best on the main crossAxis side.
|
|
312
|
-
let n=null==(g=D.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:g.placement;
|
|
313
|
-
// Otherwise fallback.
|
|
314
|
-
if(!n)switch(O){case"bestFit":{var y;const e=null==(y=D.filter((e=>{if(N){const t=qe(e.placement);return t===A||
|
|
315
|
-
// Create a bias to the `y` side axis due to horizontal
|
|
316
|
-
// reading directions favoring greater width.
|
|
317
|
-
"y"===t}return!0})).map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:y[0];e&&(n=e);break}case"initialPlacement":n=E}if(o!==n)return{reset:{placement:n}}}return{}}}},en=(e,t,n)=>{
|
|
318
|
-
// This caches the expensive `getClippingElementAncestors` function so that
|
|
319
|
-
// multiple lifecycle resets re-use the same result. It only lives for a
|
|
320
|
-
// single call. If other functions become expensive, we can add them as well.
|
|
321
|
-
const r=new Map,o={platform:Kt,...n},a={...o.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:a=[],platform:i}=n,E=a.filter(Boolean),l=await(null==i.isRTL?void 0:i.isRTL(t));let s=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:u}=Pt(s,r,l),d=r,O={},R=0;for(let n=0;n<E.length;n++){const{name:a,fn:p}=E[n],{x:S,y:f,data:A,reset:C}=await p({x:c,y:u,initialPlacement:r,placement:d,strategy:o,middlewareData:O,rects:s,platform:i,elements:{reference:e,floating:t}});c=null!=S?S:c,u=null!=f?f:u,O={...O,[a]:{...O[a],...A}},C&&R<=50&&(R++,"object"==typeof C&&(C.placement&&(d=C.placement),C.rects&&(s=!0===C.rects?await i.getElementRects({reference:e,floating:t,strategy:o}):C.rects),({x:c,y:u}=Pt(s,d,l))),n=-1)}return{x:c,y:u,placement:d,strategy:o,middlewareData:O}})(e,t,{...o,platform:a})};
|
|
322
|
-
/**
|
|
323
|
-
* Optimizes the visibility of the floating element by shifting it in order to
|
|
324
|
-
* keep it in view when it will overflow the clipping boundary.
|
|
325
|
-
* @see https://floating-ui.com/docs/shift
|
|
326
|
-
*/var tn="undefined"!=typeof document?s:l;
|
|
327
|
-
// Fork of `fast-deep-equal` that only does the comparisons we need and compares
|
|
328
|
-
// functions
|
|
329
|
-
function nn(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;0!=r--;)if(!nn(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){const n=o[r];if(("_owner"!==n||!e.$$typeof)&&!nn(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function rn(e){if("undefined"==typeof window)return 1;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}function on(e,t){const n=rn(e);return Math.round(t*n)/n}function an(e){const t=o.useRef(e);return tn((()=>{t.current=e})),t}
|
|
330
|
-
/**
|
|
331
|
-
* Provides data to position a floating element.
|
|
332
|
-
* @see https://floating-ui.com/docs/useFloating
|
|
333
|
-
*/
|
|
334
|
-
/**
|
|
335
|
-
* Modifies the placement by translating the floating element along the
|
|
336
|
-
* specified axes.
|
|
337
|
-
* A number (shorthand for `mainAxis` or distance), or an axes configuration
|
|
338
|
-
* object may be passed.
|
|
339
|
-
* @see https://floating-ui.com/docs/offset
|
|
340
|
-
*/
|
|
341
|
-
const En=(e,t)=>({...Qt(e),options:[e,t]})
|
|
342
|
-
/**
|
|
343
|
-
* Optimizes the visibility of the floating element by flipping the `placement`
|
|
344
|
-
* in order to keep it in view when the preferred placement(s) will overflow the
|
|
345
|
-
* clipping boundary. Alternative to `autoPlacement`.
|
|
346
|
-
* @see https://floating-ui.com/docs/flip
|
|
347
|
-
*/,ln=(e,t)=>({...Zt(e),options:[e,t]}),sn="data-floating-ui-focusable",cn="active",un="selected",dn={...o};
|
|
348
|
-
/**
|
|
349
|
-
* Optimizes the visibility of the floating element by shifting it in order to
|
|
350
|
-
* keep it in view when it will overflow the clipping boundary.
|
|
351
|
-
* @see https://floating-ui.com/docs/shift
|
|
352
|
-
*/let On=!1,Rn=0;const pn=()=>// Ensure the id is unique with multiple independent versions of Floating UI
|
|
353
|
-
// on <React 18
|
|
354
|
-
"floating-ui-"+Math.random().toString(36).slice(2,6)+Rn++;const Sn=dn.useId||function(){const[e,t]=o.useState((()=>On?pn():void 0));return It((()=>{null==e&&t(pn());
|
|
355
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
356
|
-
}),[]),o.useEffect((()=>{On=!0}),[]),e};
|
|
357
|
-
/**
|
|
358
|
-
* Uses React 18's built-in `useId()` when available, or falls back to a
|
|
359
|
-
* slightly less performant (requiring a double render) implementation for
|
|
360
|
-
* earlier React versions.
|
|
361
|
-
* @see https://floating-ui.com/docs/react-utils#useid
|
|
362
|
-
*/let fn;"production"!==process.env.NODE_ENV&&(fn=new Set);const An=o.createContext(null),Cn=o.createContext(null),Mn=()=>{var e;return(null==(e=o.useContext(An))?void 0:e.id)||null},Tn=()=>o.useContext(Cn);function Nn(e){return"data-floating-ui-"+e}function In(e){-1!==e.current&&(clearTimeout(e.current),e.current=-1)}const hn=Nn("safe-polygon");function mn(e,t,n){if(n&&!Nt(n))return 0;if("number"==typeof e)return e;if("function"==typeof e){const n=e();return"number"==typeof n?n:null==n?void 0:n[t]}return null==e?void 0:e[t]}function Dn(e){return"function"==typeof e?e():e}
|
|
363
|
-
/**
|
|
364
|
-
* Opens the floating element while hovering over the reference element, like
|
|
365
|
-
* CSS `:hover`.
|
|
366
|
-
* @see https://floating-ui.com/docs/useHover
|
|
367
|
-
*/function bn(e,t){if(!e||!t)return!1;const n=null==t.getRootNode?void 0:t.getRootNode();
|
|
368
|
-
// First, attempt with faster native method
|
|
369
|
-
if(e.contains(t))return!0;
|
|
370
|
-
// then fallback to custom implementation with Shadow DOM support
|
|
371
|
-
if(n&&me(n)){let n=t;for(;n;){if(e===n)return!0;
|
|
372
|
-
// @ts-ignore
|
|
373
|
-
n=n.parentNode||n.host}}
|
|
374
|
-
// Give up, the result is false
|
|
375
|
-
return!1}const gn={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"fixed",whiteSpace:"nowrap",width:"1px",top:0,left:0},_n=o.forwardRef((function(e,n){const[r,a]=o.useState();It((()=>{/apple/i.test(navigator.vendor)&&
|
|
376
|
-
// Unlike other screen readers such as NVDA and JAWS, the virtual cursor
|
|
377
|
-
// on VoiceOver does trigger the onFocus event, so we can use the focus
|
|
378
|
-
// trap element. On Safari, only buttons trigger the onFocus event.
|
|
379
|
-
// NB: "group" role in the Sandbox no longer appears to work, must be a
|
|
380
|
-
// button role.
|
|
381
|
-
a("button")}),[]);const i={ref:n,tabIndex:0,
|
|
382
|
-
// Role is only for VoiceOver
|
|
383
|
-
role:r,"aria-hidden":!r||void 0,[Nn("focus-guard")]:"",style:gn};
|
|
384
|
-
return t("span",{...e,...i})})),yn=o.createContext(null),Ln=Nn("portal");
|
|
385
|
-
/**
|
|
386
|
-
* Portals the floating element into a given container element — by default,
|
|
387
|
-
* outside of the app root and into the body.
|
|
388
|
-
* This is necessary to ensure the floating element can appear outside any
|
|
389
|
-
* potential parent containers that cause clipping (such as `overflow: hidden`),
|
|
390
|
-
* while retaining its location in the React tree.
|
|
391
|
-
* @see https://floating-ui.com/docs/FloatingPortal
|
|
392
|
-
*/
|
|
393
|
-
function Pn(e){const{children:r,id:a,root:i,preserveTabOrder:E=!0}=e,l=
|
|
394
|
-
/**
|
|
395
|
-
* @see https://floating-ui.com/docs/FloatingPortal#usefloatingportalnode
|
|
396
|
-
*/
|
|
397
|
-
function(e){void 0===e&&(e={});const{id:t,root:n}=e,r=Sn(),a=vn(),[i,E]=o.useState(null),l=o.useRef(null);return It((()=>()=>{null==i||i.remove(),
|
|
398
|
-
// Allow the subsequent layout effects to create a new node on updates.
|
|
399
|
-
// The portal node will still be cleaned up on unmount.
|
|
400
|
-
// https://github.com/floating-ui/floating-ui/issues/2454
|
|
401
|
-
queueMicrotask((()=>{l.current=null}))}),[i]),It((()=>{
|
|
402
|
-
// Wait for the uniqueId to be generated before creating the portal node in
|
|
403
|
-
// React <18 (using `useFloatingId` instead of the native `useId`).
|
|
404
|
-
// https://github.com/floating-ui/floating-ui/issues/2778
|
|
405
|
-
if(!r)return;if(l.current)return;const e=t?document.getElementById(t):null;if(!e)return;const n=document.createElement("div");n.id=r,n.setAttribute(Ln,""),e.appendChild(n),l.current=n,E(n)}),[t,r]),It((()=>{
|
|
406
|
-
// Wait for the root to exist before creating the portal node. The root must
|
|
407
|
-
// be stored in state, not a ref, for this to work reactively.
|
|
408
|
-
if(null===n)return;if(!r)return;if(l.current)return;let e=n||(null==a?void 0:a.portalNode);e&&!Ie(e)&&(e=e.current),e=e||document.body;let o=null;t&&(o=document.createElement("div"),o.id=t,e.appendChild(o));const i=document.createElement("div");i.id=r,i.setAttribute(Ln,""),e=o||e,e.appendChild(i),l.current=i,E(i)}),[t,n,r,a]),i}({id:a,root:i}),[s,c]=o.useState(null),u=o.useRef(null),d=o.useRef(null),O=o.useRef(null),R=o.useRef(null),p=null==s?void 0:s.modal,S=null==s?void 0:s.open,f=
|
|
409
|
-
// The FocusManager and therefore floating element are currently open/
|
|
410
|
-
// rendered.
|
|
411
|
-
!!s&&
|
|
412
|
-
// Guards are only for non-modal focus management.
|
|
413
|
-
!s.modal&&
|
|
414
|
-
// Don't render if unmount is transitioning.
|
|
415
|
-
s.open&&E&&!(!i&&!l);
|
|
416
|
-
// https://codesandbox.io/s/tabbable-portal-f4tng?file=/src/TabbablePortal.tsx
|
|
417
|
-
return o.useEffect((()=>{if(l&&E&&!p)
|
|
418
|
-
// Listen to the event on the capture phase so they run before the focus
|
|
419
|
-
// trap elements onFocus prop is called.
|
|
420
|
-
return l.addEventListener("focusin",e,!0),l.addEventListener("focusout",e,!0),()=>{l.removeEventListener("focusin",e,!0),l.removeEventListener("focusout",e,!0)};
|
|
421
|
-
// Make sure elements inside the portal element are tabbable only when the
|
|
422
|
-
// portal has already been focused, either by tabbing into a focus trap
|
|
423
|
-
// element outside or using the mouse.
|
|
424
|
-
function e(e){if(l&&_t(e)){("focusin"===e.type?Lt:yt)(l)}}}),[l,E,p]),o.useEffect((()=>{l&&(S||Lt(l))}),[S,l]),n(yn.Provider,{value:o.useMemo((()=>({preserveTabOrder:E,beforeOutsideRef:u,afterOutsideRef:d,beforeInsideRef:O,afterInsideRef:R,portalNode:l,setFocusManagerState:c})),[E,l]),children:[f&&l&&t(_n,{"data-type":"outside",ref:u,onFocus:e=>{if(_t(e,l)){var t;null==(t=O.current)||t.focus()}else{const e=s?s.domReference:null,t=gt(Tt(n=e).body,-1)||n;null==t||t.focus()}var n}}),f&&l&&t("span",{"aria-owns":l.id,style:gn}),l&&M.createPortal(r,l),f&&l&&t(_n,{"data-type":"outside",ref:d,onFocus:e=>{if(_t(e,l)){var t;null==(t=R.current)||t.focus()}else{const t=s?s.domReference:null,r=gt(Tt(n=t).body,1)||n;null==r||r.focus(),(null==s?void 0:s.closeOnFocusOut)&&(null==s||s.onOpenChange(!1,e.nativeEvent,"focus-out"))}var n}})]})}const vn=()=>o.useContext(yn);function Fn(e){const{open:t=!1,onOpenChange:n,elements:r}=e,a=Sn(),i=o.useRef({}),[E]=o.useState((()=>function(){const e=new Map;return{emit(t,n){var r;null==(r=e.get(t))||r.forEach((e=>e(n)))},on(t,n){e.has(t)||e.set(t,new Set),e.get(t).add(n)},off(t,n){var r;null==(r=e.get(t))||r.delete(n)}}}())),l=null!=Mn();if("production"!==process.env.NODE_ENV){const e=r.reference;e&&!Ie(e)&&function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];const o="Floating UI: "+n.join(" ");var a;null!=(e=fn)&&e.has(o)||(null==(a=fn)||a.add(o),console.error(o))}("Cannot pass a virtual element to the `elements.reference` option,","as it must be a real DOM element. Use `refs.setPositionReference()`","instead.")}const[s,c]=o.useState(r.reference),u=Dt(((e,t,r)=>{i.current.openEvent=e?t:void 0,E.emit("openchange",{open:e,event:t,reason:r,nested:l}),null==n||n(e,t,r)})),d=o.useMemo((()=>({setPositionReference:c})),[]),O=o.useMemo((()=>({reference:s||r.reference||null,floating:r.floating||null,domReference:r.reference})),[s,r.reference,r.floating]);return o.useMemo((()=>({dataRef:i,open:t,onOpenChange:u,elements:O,events:E,floatingId:a,refs:d})),[t,u,O,E,a,d])}
|
|
425
|
-
/**
|
|
426
|
-
* Provides data to position a floating element and context to add interactions.
|
|
427
|
-
* @see https://floating-ui.com/docs/useFloating
|
|
428
|
-
*/function xn(e){void 0===e&&(e={});const{nodeId:t}=e,n=Fn({...e,elements:{reference:null,floating:null,...e.elements}}),r=e.rootContext||n,a=r.elements,[i,E]=o.useState(null),[l,s]=o.useState(null),c=(null==a?void 0:a.domReference)||i,u=o.useRef(null),d=Tn();It((()=>{c&&(u.current=c)}),[c]);const O=function(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:a,elements:{reference:i,floating:E}={},transform:l=!0,whileElementsMounted:s,open:c}=e,[u,d]=o.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[O,R]=o.useState(r);nn(O,r)||R(r);const[p,S]=o.useState(null),[f,A]=o.useState(null),C=o.useCallback((e=>{e!==h.current&&(h.current=e,S(e))}),[]),T=o.useCallback((e=>{e!==m.current&&(m.current=e,A(e))}),[]),N=i||p,I=E||f,h=o.useRef(null),m=o.useRef(null),D=o.useRef(u),b=null!=s,g=an(s),_=an(a),y=an(c),L=o.useCallback((()=>{if(!h.current||!m.current)return;const e={placement:t,strategy:n,middleware:O};_.current&&(e.platform=_.current),en(h.current,m.current,e).then((e=>{const t={...e,
|
|
429
|
-
// The floating element's position may be recomputed while it's closed
|
|
430
|
-
// but still mounted (such as when transitioning out). To ensure
|
|
431
|
-
// `isPositioned` will be `false` initially on the next open, avoid
|
|
432
|
-
// setting it to `true` when `open === false` (must be specified).
|
|
433
|
-
isPositioned:!1!==y.current};P.current&&!nn(D.current,t)&&(D.current=t,M.flushSync((()=>{d(t)})))}))}),[O,t,n,_,y]);tn((()=>{!1===c&&D.current.isPositioned&&(D.current.isPositioned=!1,d((e=>({...e,isPositioned:!1}))))}),[c]);const P=o.useRef(!1);tn((()=>(P.current=!0,()=>{P.current=!1})),[]),tn((()=>{if(N&&(h.current=N),I&&(m.current=I),N&&I){if(g.current)return g.current(N,I,L);L()}}),[N,I,L,g,b]);const v=o.useMemo((()=>({reference:h,floating:m,setReference:C,setFloating:T})),[C,T]),F=o.useMemo((()=>({reference:N,floating:I})),[N,I]),x=o.useMemo((()=>{const e={position:n,left:0,top:0};if(!F.floating)return e;const t=on(F.floating,u.x),r=on(F.floating,u.y);return l?{...e,transform:"translate("+t+"px, "+r+"px)",...rn(F.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}}),[n,l,F.floating,u.x,u.y]);return o.useMemo((()=>({...u,update:L,refs:v,elements:F,floatingStyles:x})),[u,L,v,F,x])}({...e,elements:{...a,...l&&{reference:l}}}),R=o.useCallback((e=>{const t=Ie(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),getClientRects:()=>e.getClientRects(),contextElement:e}:e;
|
|
434
|
-
// Store the positionReference in state if the DOM reference is specified externally via the
|
|
435
|
-
// `elements.reference` option. This ensures that it won't be overridden on future renders.
|
|
436
|
-
s(t),O.refs.setReference(t)}),[O.refs]),p=o.useCallback((e=>{(Ie(e)||null===e)&&(u.current=e,E(e)),
|
|
437
|
-
// Backwards-compatibility for passing a virtual element to `reference`
|
|
438
|
-
// after it has set the DOM reference.
|
|
439
|
-
(Ie(O.refs.reference.current)||null===O.refs.reference.current||
|
|
440
|
-
// Don't allow setting virtual elements using the old technique back to
|
|
441
|
-
// `null` to support `positionReference` + an unstable `reference`
|
|
442
|
-
// callback ref.
|
|
443
|
-
null!==e&&!Ie(e))&&O.refs.setReference(e)}),[O.refs]),S=o.useMemo((()=>({...O.refs,setReference:p,setPositionReference:R,domReference:u})),[O.refs,p,R]),f=o.useMemo((()=>({...O.elements,domReference:c})),[O.elements,c]),A=o.useMemo((()=>({...O,...r,refs:S,elements:f,nodeId:t})),[O,S,f,t,r]);return It((()=>{r.dataRef.current.floatingContext=A;const e=null==d?void 0:d.nodesRef.current.find((e=>e.id===t));e&&(e.context=A)})),o.useMemo((()=>({...O,context:A,refs:S,elements:f})),[O,S,f,A])}function Yn(e,t,n){const r=new Map,o="item"===n;let a=e;if(o&&e){const{[cn]:t,[un]:n,...r}=e;a=r}return{..."floating"===n&&{tabIndex:-1,[sn]:""},...a,...t.map((t=>{const r=t?t[n]:null;return"function"==typeof r?e?r(e):null:r})).concat(e).reduce(((e,t)=>t?(Object.entries(t).forEach((t=>{let[n,a]=t;var i;o&&[cn,un].includes(n)||(0===n.indexOf("on")?(r.has(n)||r.set(n,[]),"function"==typeof a&&(null==(i=r.get(n))||i.push(a),e[n]=function(){for(var e,t=arguments.length,o=new Array(t),a=0;a<t;a++)o[a]=arguments[a];return null==(e=r.get(n))?void 0:e.map((e=>e(...o))).find((e=>void 0!==e))})):e[n]=a)})),e):e),{})}}
|
|
444
|
-
/**
|
|
445
|
-
* Merges an array of interaction hooks' props into prop getters, allowing
|
|
446
|
-
* event handler functions to be composed together without overwriting one
|
|
447
|
-
* another.
|
|
448
|
-
* @see https://floating-ui.com/docs/useInteractions
|
|
449
|
-
*/function wn(e,t){const[n,r]=e;let o=!1;const a=t.length;for(let e=0,i=a-1;e<a;i=e++){const[a,E]=t[e]||[0,0],[l,s]=t[i]||[0,0];E>=r!=s>=r&&n<=(l-a)*(r-E)/(s-E)+a&&(o=!o)}return o}
|
|
450
|
-
/**
|
|
451
|
-
* Generates a safe polygon area that the user can traverse without closing the
|
|
452
|
-
* floating element once leaving the reference element.
|
|
453
|
-
* @see https://floating-ui.com/docs/useHover#safepolygon
|
|
454
|
-
*/
|
|
455
|
-
function Bn(e){void 0===e&&(e={});const{buffer:t=.5,blockPointerEvents:n=!1,requireIntent:r=!0}=e;let o,a=!1,i=null,E=null,l=performance.now();const s=e=>{let{x:n,y:s,placement:c,elements:u,onClose:d,nodeId:O,tree:R}=e;return function(e){function p(){clearTimeout(o),d()}if(clearTimeout(o),!u.domReference||!u.floating||null==c||null==n||null==s)return;const{clientX:S,clientY:f}=e,A=[S,f],C=function(e){return"composedPath"in e?e.composedPath()[0]:e.target;
|
|
456
|
-
// TS thinks `event` is of type never as it assumes all browsers support
|
|
457
|
-
// `composedPath()`, but browsers without shadow DOM don't.
|
|
458
|
-
}(e),M="mouseleave"===e.type,T=bn(u.floating,C),N=bn(u.domReference,C),I=u.domReference.getBoundingClientRect(),h=u.floating.getBoundingClientRect(),m=c.split("-")[0],D=n>h.right-h.width/2,b=s>h.bottom-h.height/2,g=function(e,t){return e[0]>=t.x&&e[0]<=t.x+t.width&&e[1]>=t.y&&e[1]<=t.y+t.height}(A,I),_=h.width>I.width,y=h.height>I.height,L=(_?I:h).left,P=(_?I:h).right,v=(y?I:h).top,F=(y?I:h).bottom;if(T&&(a=!0,!M))return;if(N&&(a=!1),N&&!M)return void(a=!0);
|
|
459
|
-
// Prevent overlapping floating element from being stuck in an open-close
|
|
460
|
-
// loop: https://github.com/floating-ui/floating-ui/issues/1910
|
|
461
|
-
if(M&&Ie(e.relatedTarget)&&bn(u.floating,e.relatedTarget))return;
|
|
462
|
-
// If any nested child is open, abort.
|
|
463
|
-
if(R&&function(e,t,n){void 0===n&&(n=!0);let r=e.filter((e=>{var n;return e.parentId===t&&(null==(n=e.context)?void 0:n.open)})),o=r;for(;o.length;)o=n?e.filter((e=>{var t;return null==(t=o)?void 0:t.some((t=>{var n;return e.parentId===t.id&&(null==(n=e.context)?void 0:n.open)}))})):e,r=r.concat(o);return r}(R.nodesRef.current,O).some((e=>{let{context:t}=e;return null==t?void 0:t.open})))return;
|
|
464
|
-
// If the pointer is leaving from the opposite side, the "buffer" logic
|
|
465
|
-
// creates a point where the floating element remains open, but should be
|
|
466
|
-
// ignored.
|
|
467
|
-
// A constant of 1 handles floating point rounding errors.
|
|
468
|
-
if("top"===m&&s>=I.bottom-1||"bottom"===m&&s<=I.top+1||"left"===m&&n>=I.right-1||"right"===m&&n<=I.left+1)return p();
|
|
469
|
-
// Ignore when the cursor is within the rectangular trough between the
|
|
470
|
-
// two elements. Since the triangle is created from the cursor point,
|
|
471
|
-
// which can start beyond the ref element's edge, traversing back and
|
|
472
|
-
// forth from the ref to the floating element can cause it to close. This
|
|
473
|
-
// ensures it always remains open in that case.
|
|
474
|
-
let x=[];switch(m){case"top":x=[[L,I.top+1],[L,h.bottom-1],[P,h.bottom-1],[P,I.top+1]];break;case"bottom":x=[[L,h.top+1],[L,I.bottom-1],[P,I.bottom-1],[P,h.top+1]];break;case"left":x=[[h.right-1,F],[h.right-1,v],[I.left+1,v],[I.left+1,F]];break;case"right":x=[[I.right-1,F],[I.right-1,v],[h.left+1,v],[h.left+1,F]]}if(!wn([S,f],x)){if(a&&!g)return p();if(!M&&r){const t=function(e,t){const n=performance.now(),r=n-l;if(null===i||null===E||0===r)return i=e,E=t,l=n,null;const o=e-i,a=t-E,s=Math.sqrt(o*o+a*a);// px / ms
|
|
475
|
-
return i=e,E=t,l=n,s/r}(e.clientX,e.clientY);if(null!==t&&t<.1)return p()}wn([S,f],function(e){let[n,r]=e;switch(m){case"top":return[[_?n+t/2:D?n+4*t:n-4*t,r+t+1],[_?n-t/2:D?n+4*t:n-4*t,r+t+1],...[[h.left,D||_?h.bottom-t:h.top],[h.right,D?_?h.bottom-t:h.top:h.bottom-t]]];case"bottom":return[[_?n+t/2:D?n+4*t:n-4*t,r-t],[_?n-t/2:D?n+4*t:n-4*t,r-t],...[[h.left,D||_?h.top+t:h.bottom],[h.right,D?_?h.top+t:h.bottom:h.top+t]]];case"left":{const e=[n+t+1,y?r+t/2:b?r+4*t:r-4*t],o=[n+t+1,y?r-t/2:b?r+4*t:r-4*t];return[...[[b||y?h.right-t:h.left,h.top],[b?y?h.right-t:h.left:h.right-t,h.bottom]],e,o]}case"right":return[[n-t,y?r+t/2:b?r+4*t:r-4*t],[n-t,y?r-t/2:b?r+4*t:r-4*t],...[[b||y?h.left+t:h.right,h.top],[b?y?h.left+t:h.right:h.left+t,h.bottom]]]}}([n,s]))?!a&&r&&(o=window.setTimeout(p,40)):p()}}};return s.__options={blockPointerEvents:n},s}const Gn={BLACK:"black",WHITE:"white",PRIMARY_01:"primary-01",PRIMARY_02:"primary-02",PRIMARY_03:"primary-03",PRIMARY_04:"primary-04",PRIMARY_05:"primary-05",PRIMARY_06:"primary-06",PRIMARY_07:"primary-07",PRIMARY_08:"primary-08",PRIMARY_09:"primary-09",PRIMARY_10:"primary-10",PRIMARY_11:"primary-11",GRAY_01:"gray-01",GRAY_02:"gray-02",GRAY_03:"gray-03",GRAY_04:"gray-04",GRAY_05:"gray-05",GRAY_06:"gray-06",GRAY_07:"gray-07",GRAY_08:"gray-08",GRAY_09:"gray-09",RED_01:"red-01",RED_02:"red-02",RED_03:"red-03",RED_04:"red-04",RED_05:"red-05",RED_06:"red-06",RED_07:"red-07",RED_08:"red-08",RED_09:"red-09",YELLOW_01:"yellow-01",YELLOW_02:"yellow-02",YELLOW_03:"yellow-03",YELLOW_04:"yellow-04",YELLOW_05:"yellow-05",YELLOW_06:"yellow-06",YELLOW_07:"yellow-07",YELLOW_08:"yellow-08",YELLOW_09:"yellow-09",GREEN_01:"green-01",GREEN_02:"green-02",GREEN_03:"green-03",GREEN_04:"green-04",GREEN_05:"green-05",GREEN_06:"green-06",GREEN_07:"green-07",GREEN_08:"green-08",GREEN_09:"green-09"},Un={TEXT:"TEXT",BACKGROUND:"BACKGROUND",BORDER:"BORDER",FILL:"FILL",PLACEHOLDER:"PLACEHOLDER"},$n={[Un.TEXT]:"text-in-",[Un.BACKGROUND]:"bg-in-",[Un.BORDER]:"border-in-",[Un.FILL]:"fill-in-",[Un.PLACEHOLDER]:"placeholder-in-"},Hn={[Un.TEXT]:{[Gn.BLACK]:`${$n.TEXT}${Gn.BLACK}`,[Gn.WHITE]:`${$n.TEXT}${Gn.WHITE}`,[Gn.PRIMARY_01]:`${$n.TEXT}${Gn.PRIMARY_01}`,[Gn.PRIMARY_02]:`${$n.TEXT}${Gn.PRIMARY_02}`,[Gn.PRIMARY_03]:`${$n.TEXT}${Gn.PRIMARY_03}`,[Gn.PRIMARY_04]:`${$n.TEXT}${Gn.PRIMARY_04}`,[Gn.PRIMARY_05]:`${$n.TEXT}${Gn.PRIMARY_05}`,[Gn.PRIMARY_06]:`${$n.TEXT}${Gn.PRIMARY_06}`,[Gn.PRIMARY_07]:`${$n.TEXT}${Gn.PRIMARY_07}`,[Gn.PRIMARY_08]:`${$n.TEXT}${Gn.PRIMARY_08}`,[Gn.PRIMARY_09]:`${$n.TEXT}${Gn.PRIMARY_09}`,[Gn.PRIMARY_10]:`${$n.TEXT}${Gn.PRIMARY_10}`,[Gn.PRIMARY_11]:`${$n.TEXT}${Gn.PRIMARY_11}`,[Gn.GRAY_01]:`${$n.TEXT}${Gn.GRAY_01}`,[Gn.GRAY_02]:`${$n.TEXT}${Gn.GRAY_02}`,[Gn.GRAY_03]:`${$n.TEXT}${Gn.GRAY_03}`,[Gn.GRAY_04]:`${$n.TEXT}${Gn.GRAY_04}`,[Gn.GRAY_05]:`${$n.TEXT}${Gn.GRAY_05}`,[Gn.GRAY_06]:`${$n.TEXT}${Gn.GRAY_06}`,[Gn.GRAY_07]:`${$n.TEXT}${Gn.GRAY_07}`,[Gn.GRAY_08]:`${$n.TEXT}${Gn.GRAY_08}`,[Gn.GRAY_09]:`${$n.TEXT}${Gn.GRAY_09}`,[Gn.RED_01]:`${$n.TEXT}${Gn.RED_01}`,[Gn.RED_02]:`${$n.TEXT}${Gn.RED_02}`,[Gn.RED_03]:`${$n.TEXT}${Gn.RED_03}`,[Gn.RED_04]:`${$n.TEXT}${Gn.RED_04}`,[Gn.RED_05]:`${$n.TEXT}${Gn.RED_05}`,[Gn.RED_06]:`${$n.TEXT}${Gn.RED_06}`,[Gn.RED_07]:`${$n.TEXT}${Gn.RED_07}`,[Gn.RED_08]:`${$n.TEXT}${Gn.RED_08}`,[Gn.RED_09]:`${$n.TEXT}${Gn.RED_09}`,[Gn.YELLOW_01]:`${$n.TEXT}${Gn.YELLOW_01}`,[Gn.YELLOW_02]:`${$n.TEXT}${Gn.YELLOW_02}`,[Gn.YELLOW_03]:`${$n.TEXT}${Gn.YELLOW_03}`,[Gn.YELLOW_04]:`${$n.TEXT}${Gn.YELLOW_04}`,[Gn.YELLOW_05]:`${$n.TEXT}${Gn.YELLOW_05}`,[Gn.YELLOW_06]:`${$n.TEXT}${Gn.YELLOW_06}`,[Gn.YELLOW_07]:`${$n.TEXT}${Gn.YELLOW_07}`,[Gn.YELLOW_08]:`${$n.TEXT}${Gn.YELLOW_08}`,[Gn.YELLOW_09]:`${$n.TEXT}${Gn.YELLOW_09}`,[Gn.GREEN_01]:`${$n.TEXT}${Gn.GREEN_01}`,[Gn.GREEN_02]:`${$n.TEXT}${Gn.GREEN_02}`,[Gn.GREEN_03]:`${$n.TEXT}${Gn.GREEN_03}`,[Gn.GREEN_04]:`${$n.TEXT}${Gn.GREEN_04}`,[Gn.GREEN_05]:`${$n.TEXT}${Gn.GREEN_05}`,[Gn.GREEN_06]:`${$n.TEXT}${Gn.GREEN_06}`,[Gn.GREEN_07]:`${$n.TEXT}${Gn.GREEN_07}`,[Gn.GREEN_08]:`${$n.TEXT}${Gn.GREEN_08}`,[Gn.GREEN_09]:`${$n.TEXT}${Gn.GREEN_09}`},[Un.BACKGROUND]:{[Gn.BLACK]:`${$n.BACKGROUND}${Gn.BLACK}`,[Gn.WHITE]:`${$n.BACKGROUND}${Gn.WHITE}`,[Gn.PRIMARY_01]:`${$n.BACKGROUND}${Gn.PRIMARY_01}`,[Gn.PRIMARY_02]:`${$n.BACKGROUND}${Gn.PRIMARY_02}`,[Gn.PRIMARY_03]:`${$n.BACKGROUND}${Gn.PRIMARY_03}`,[Gn.PRIMARY_04]:`${$n.BACKGROUND}${Gn.PRIMARY_04}`,[Gn.PRIMARY_05]:`${$n.BACKGROUND}${Gn.PRIMARY_05}`,[Gn.PRIMARY_06]:`${$n.BACKGROUND}${Gn.PRIMARY_06}`,[Gn.PRIMARY_07]:`${$n.BACKGROUND}${Gn.PRIMARY_07}`,[Gn.PRIMARY_08]:`${$n.BACKGROUND}${Gn.PRIMARY_08}`,[Gn.PRIMARY_09]:`${$n.BACKGROUND}${Gn.PRIMARY_09}`,[Gn.PRIMARY_10]:`${$n.BACKGROUND}${Gn.PRIMARY_10}`,[Gn.PRIMARY_11]:`${$n.BACKGROUND}${Gn.PRIMARY_11}`,[Gn.GRAY_01]:`${$n.BACKGROUND}${Gn.GRAY_01}`,[Gn.GRAY_02]:`${$n.BACKGROUND}${Gn.GRAY_02}`,[Gn.GRAY_03]:`${$n.BACKGROUND}${Gn.GRAY_03}`,[Gn.GRAY_04]:`${$n.BACKGROUND}${Gn.GRAY_04}`,[Gn.GRAY_05]:`${$n.BACKGROUND}${Gn.GRAY_05}`,[Gn.GRAY_06]:`${$n.BACKGROUND}${Gn.GRAY_06}`,[Gn.GRAY_07]:`${$n.BACKGROUND}${Gn.GRAY_07}`,[Gn.GRAY_08]:`${$n.BACKGROUND}${Gn.GRAY_08}`,[Gn.GRAY_09]:`${$n.BACKGROUND}${Gn.GRAY_09}`,[Gn.RED_01]:`${$n.BACKGROUND}${Gn.RED_01}`,[Gn.RED_02]:`${$n.BACKGROUND}${Gn.RED_02}`,[Gn.RED_03]:`${$n.BACKGROUND}${Gn.RED_03}`,[Gn.RED_04]:`${$n.BACKGROUND}${Gn.RED_04}`,[Gn.RED_05]:`${$n.BACKGROUND}${Gn.RED_05}`,[Gn.RED_06]:`${$n.BACKGROUND}${Gn.RED_06}`,[Gn.RED_07]:`${$n.BACKGROUND}${Gn.RED_07}`,[Gn.RED_08]:`${$n.BACKGROUND}${Gn.RED_08}`,[Gn.RED_09]:`${$n.BACKGROUND}${Gn.RED_09}`,[Gn.YELLOW_01]:`${$n.BACKGROUND}${Gn.YELLOW_01}`,[Gn.YELLOW_02]:`${$n.BACKGROUND}${Gn.YELLOW_02}`,[Gn.YELLOW_03]:`${$n.BACKGROUND}${Gn.YELLOW_03}`,[Gn.YELLOW_04]:`${$n.BACKGROUND}${Gn.YELLOW_04}`,[Gn.YELLOW_05]:`${$n.BACKGROUND}${Gn.YELLOW_05}`,[Gn.YELLOW_06]:`${$n.BACKGROUND}${Gn.YELLOW_06}`,[Gn.YELLOW_07]:`${$n.BACKGROUND}${Gn.YELLOW_07}`,[Gn.YELLOW_08]:`${$n.BACKGROUND}${Gn.YELLOW_08}`,[Gn.YELLOW_09]:`${$n.BACKGROUND}${Gn.YELLOW_09}`,[Gn.GREEN_01]:`${$n.BACKGROUND}${Gn.GREEN_01}`,[Gn.GREEN_02]:`${$n.BACKGROUND}${Gn.GREEN_02}`,[Gn.GREEN_03]:`${$n.BACKGROUND}${Gn.GREEN_03}`,[Gn.GREEN_04]:`${$n.BACKGROUND}${Gn.GREEN_04}`,[Gn.GREEN_05]:`${$n.BACKGROUND}${Gn.GREEN_05}`,[Gn.GREEN_06]:`${$n.BACKGROUND}${Gn.GREEN_06}`,[Gn.GREEN_07]:`${$n.BACKGROUND}${Gn.GREEN_07}`,[Gn.GREEN_08]:`${$n.BACKGROUND}${Gn.GREEN_08}`,[Gn.GREEN_09]:`${$n.BACKGROUND}${Gn.GREEN_09}`},[Un.BORDER]:{[Gn.BLACK]:`${$n.BORDER}${Gn.BLACK}`,[Gn.WHITE]:`${$n.BORDER}${Gn.WHITE}`,[Gn.PRIMARY_01]:`${$n.BORDER}${Gn.PRIMARY_01}`,[Gn.PRIMARY_02]:`${$n.BORDER}${Gn.PRIMARY_02}`,[Gn.PRIMARY_03]:`${$n.BORDER}${Gn.PRIMARY_03}`,[Gn.PRIMARY_04]:`${$n.BORDER}${Gn.PRIMARY_04}`,[Gn.PRIMARY_05]:`${$n.BORDER}${Gn.PRIMARY_05}`,[Gn.PRIMARY_06]:`${$n.BORDER}${Gn.PRIMARY_06}`,[Gn.PRIMARY_07]:`${$n.BORDER}${Gn.PRIMARY_07}`,[Gn.PRIMARY_08]:`${$n.BORDER}${Gn.PRIMARY_08}`,[Gn.PRIMARY_09]:`${$n.BORDER}${Gn.PRIMARY_09}`,[Gn.PRIMARY_10]:`${$n.BORDER}${Gn.PRIMARY_10}`,[Gn.PRIMARY_11]:`${$n.BORDER}${Gn.PRIMARY_11}`,[Gn.GRAY_01]:`${$n.BORDER}${Gn.GRAY_01}`,[Gn.GRAY_02]:`${$n.BORDER}${Gn.GRAY_02}`,[Gn.GRAY_03]:`${$n.BORDER}${Gn.GRAY_03}`,[Gn.GRAY_04]:`${$n.BORDER}${Gn.GRAY_04}`,[Gn.GRAY_05]:`${$n.BORDER}${Gn.GRAY_05}`,[Gn.GRAY_06]:`${$n.BORDER}${Gn.GRAY_06}`,[Gn.GRAY_07]:`${$n.BORDER}${Gn.GRAY_07}`,[Gn.GRAY_08]:`${$n.BORDER}${Gn.GRAY_08}`,[Gn.GRAY_09]:`${$n.BORDER}${Gn.GRAY_09}`,[Gn.RED_01]:`${$n.BORDER}${Gn.RED_01}`,[Gn.RED_02]:`${$n.BORDER}${Gn.RED_02}`,[Gn.RED_03]:`${$n.BORDER}${Gn.RED_03}`,[Gn.RED_04]:`${$n.BORDER}${Gn.RED_04}`,[Gn.RED_05]:`${$n.BORDER}${Gn.RED_05}`,[Gn.RED_06]:`${$n.BORDER}${Gn.RED_06}`,[Gn.RED_07]:`${$n.BORDER}${Gn.RED_07}`,[Gn.RED_08]:`${$n.BORDER}${Gn.RED_08}`,[Gn.RED_09]:`${$n.BORDER}${Gn.RED_09}`,[Gn.YELLOW_01]:`${$n.BORDER}${Gn.YELLOW_01}`,[Gn.YELLOW_02]:`${$n.BORDER}${Gn.YELLOW_02}`,[Gn.YELLOW_03]:`${$n.BORDER}${Gn.YELLOW_03}`,[Gn.YELLOW_04]:`${$n.BORDER}${Gn.YELLOW_04}`,[Gn.YELLOW_05]:`${$n.BORDER}${Gn.YELLOW_05}`,[Gn.YELLOW_06]:`${$n.BORDER}${Gn.YELLOW_06}`,[Gn.YELLOW_07]:`${$n.BORDER}${Gn.YELLOW_07}`,[Gn.YELLOW_08]:`${$n.BORDER}${Gn.YELLOW_08}`,[Gn.YELLOW_09]:`${$n.BORDER}${Gn.YELLOW_09}`,[Gn.GREEN_01]:`${$n.BORDER}${Gn.GREEN_01}`,[Gn.GREEN_02]:`${$n.BORDER}${Gn.GREEN_02}`,[Gn.GREEN_03]:`${$n.BORDER}${Gn.GREEN_03}`,[Gn.GREEN_04]:`${$n.BORDER}${Gn.GREEN_04}`,[Gn.GREEN_05]:`${$n.BORDER}${Gn.GREEN_05}`,[Gn.GREEN_06]:`${$n.BORDER}${Gn.GREEN_06}`,[Gn.GREEN_07]:`${$n.BORDER}${Gn.GREEN_07}`,[Gn.GREEN_08]:`${$n.BORDER}${Gn.GREEN_08}`,[Gn.GREEN_09]:`${$n.BORDER}${Gn.GREEN_09}`},[Un.FILL]:{[Gn.BLACK]:`${$n.FILL}${Gn.BLACK}`,[Gn.WHITE]:`${$n.FILL}${Gn.WHITE}`,[Gn.PRIMARY_01]:`${$n.FILL}${Gn.PRIMARY_01}`,[Gn.PRIMARY_02]:`${$n.FILL}${Gn.PRIMARY_02}`,[Gn.PRIMARY_03]:`${$n.FILL}${Gn.PRIMARY_03}`,[Gn.PRIMARY_04]:`${$n.FILL}${Gn.PRIMARY_04}`,[Gn.PRIMARY_05]:`${$n.FILL}${Gn.PRIMARY_05}`,[Gn.PRIMARY_06]:`${$n.FILL}${Gn.PRIMARY_06}`,[Gn.PRIMARY_07]:`${$n.FILL}${Gn.PRIMARY_07}`,[Gn.PRIMARY_08]:`${$n.FILL}${Gn.PRIMARY_08}`,[Gn.PRIMARY_09]:`${$n.FILL}${Gn.PRIMARY_09}`,[Gn.PRIMARY_10]:`${$n.FILL}${Gn.PRIMARY_10}`,[Gn.PRIMARY_11]:`${$n.FILL}${Gn.PRIMARY_11}`,[Gn.GRAY_01]:`${$n.FILL}${Gn.GRAY_01}`,[Gn.GRAY_02]:`${$n.FILL}${Gn.GRAY_02}`,[Gn.GRAY_03]:`${$n.FILL}${Gn.GRAY_03}`,[Gn.GRAY_04]:`${$n.FILL}${Gn.GRAY_04}`,[Gn.GRAY_05]:`${$n.FILL}${Gn.GRAY_05}`,[Gn.GRAY_06]:`${$n.FILL}${Gn.GRAY_06}`,[Gn.GRAY_07]:`${$n.FILL}${Gn.GRAY_07}`,[Gn.GRAY_08]:`${$n.FILL}${Gn.GRAY_08}`,[Gn.GRAY_09]:`${$n.FILL}${Gn.GRAY_09}`,[Gn.RED_01]:`${$n.FILL}${Gn.RED_01}`,[Gn.RED_02]:`${$n.FILL}${Gn.RED_02}`,[Gn.RED_03]:`${$n.FILL}${Gn.RED_03}`,[Gn.RED_04]:`${$n.FILL}${Gn.RED_04}`,[Gn.RED_05]:`${$n.FILL}${Gn.RED_05}`,[Gn.RED_06]:`${$n.FILL}${Gn.RED_06}`,[Gn.RED_07]:`${$n.FILL}${Gn.RED_07}`,[Gn.RED_08]:`${$n.FILL}${Gn.RED_08}`,[Gn.RED_09]:`${$n.FILL}${Gn.RED_09}`,[Gn.YELLOW_01]:`${$n.FILL}${Gn.YELLOW_01}`,[Gn.YELLOW_02]:`${$n.FILL}${Gn.YELLOW_02}`,[Gn.YELLOW_03]:`${$n.FILL}${Gn.YELLOW_03}`,[Gn.YELLOW_04]:`${$n.FILL}${Gn.YELLOW_04}`,[Gn.YELLOW_05]:`${$n.FILL}${Gn.YELLOW_05}`,[Gn.YELLOW_06]:`${$n.FILL}${Gn.YELLOW_06}`,[Gn.YELLOW_07]:`${$n.FILL}${Gn.YELLOW_07}`,[Gn.YELLOW_08]:`${$n.FILL}${Gn.YELLOW_08}`,[Gn.YELLOW_09]:`${$n.FILL}${Gn.YELLOW_09}`,[Gn.GREEN_01]:`${$n.FILL}${Gn.GREEN_01}`,[Gn.GREEN_02]:`${$n.FILL}${Gn.GREEN_02}`,[Gn.GREEN_03]:`${$n.FILL}${Gn.GREEN_03}`,[Gn.GREEN_04]:`${$n.FILL}${Gn.GREEN_04}`,[Gn.GREEN_05]:`${$n.FILL}${Gn.GREEN_05}`,[Gn.GREEN_06]:`${$n.FILL}${Gn.GREEN_06}`,[Gn.GREEN_07]:`${$n.FILL}${Gn.GREEN_07}`,[Gn.GREEN_08]:`${$n.FILL}${Gn.GREEN_08}`,[Gn.GREEN_09]:`${$n.FILL}${Gn.GREEN_09}`},[Un.PLACEHOLDER]:{[Gn.BLACK]:`${$n.PLACEHOLDER}${Gn.BLACK}`,[Gn.WHITE]:`${$n.PLACEHOLDER}${Gn.WHITE}`,[Gn.PRIMARY_01]:`${$n.PLACEHOLDER}${Gn.PRIMARY_01}`,[Gn.PRIMARY_02]:`${$n.PLACEHOLDER}${Gn.PRIMARY_02}`,[Gn.PRIMARY_03]:`${$n.PLACEHOLDER}${Gn.PRIMARY_03}`,[Gn.PRIMARY_04]:`${$n.PLACEHOLDER}${Gn.PRIMARY_04}`,[Gn.PRIMARY_05]:`${$n.PLACEHOLDER}${Gn.PRIMARY_05}`,[Gn.PRIMARY_06]:`${$n.PLACEHOLDER}${Gn.PRIMARY_06}`,[Gn.PRIMARY_07]:`${$n.PLACEHOLDER}${Gn.PRIMARY_07}`,[Gn.PRIMARY_08]:`${$n.PLACEHOLDER}${Gn.PRIMARY_08}`,[Gn.PRIMARY_09]:`${$n.PLACEHOLDER}${Gn.PRIMARY_09}`,[Gn.PRIMARY_10]:`${$n.PLACEHOLDER}${Gn.PRIMARY_10}`,[Gn.PRIMARY_11]:`${$n.PLACEHOLDER}${Gn.PRIMARY_11}`,[Gn.GRAY_01]:`${$n.PLACEHOLDER}${Gn.GRAY_01}`,[Gn.GRAY_02]:`${$n.PLACEHOLDER}${Gn.GRAY_02}`,[Gn.GRAY_03]:`${$n.PLACEHOLDER}${Gn.GRAY_03}`,[Gn.GRAY_04]:`${$n.PLACEHOLDER}${Gn.GRAY_04}`,[Gn.GRAY_05]:`${$n.PLACEHOLDER}${Gn.GRAY_05}`,[Gn.GRAY_06]:`${$n.PLACEHOLDER}${Gn.GRAY_06}`,[Gn.GRAY_07]:`${$n.PLACEHOLDER}${Gn.GRAY_07}`,[Gn.GRAY_08]:`${$n.PLACEHOLDER}${Gn.GRAY_08}`,[Gn.GRAY_09]:`${$n.PLACEHOLDER}${Gn.GRAY_09}`,[Gn.RED_01]:`${$n.PLACEHOLDER}${Gn.RED_01}`,[Gn.RED_02]:`${$n.PLACEHOLDER}${Gn.RED_02}`,[Gn.RED_03]:`${$n.PLACEHOLDER}${Gn.RED_03}`,[Gn.RED_04]:`${$n.PLACEHOLDER}${Gn.RED_04}`,[Gn.RED_05]:`${$n.PLACEHOLDER}${Gn.RED_05}`,[Gn.RED_06]:`${$n.PLACEHOLDER}${Gn.RED_06}`,[Gn.RED_07]:`${$n.PLACEHOLDER}${Gn.RED_07}`,[Gn.RED_08]:`${$n.PLACEHOLDER}${Gn.RED_08}`,[Gn.RED_09]:`${$n.PLACEHOLDER}${Gn.RED_09}`,[Gn.YELLOW_01]:`${$n.PLACEHOLDER}${Gn.YELLOW_01}`,[Gn.YELLOW_02]:`${$n.PLACEHOLDER}${Gn.YELLOW_02}`,[Gn.YELLOW_03]:`${$n.PLACEHOLDER}${Gn.YELLOW_03}`,[Gn.YELLOW_04]:`${$n.PLACEHOLDER}${Gn.YELLOW_04}`,[Gn.YELLOW_05]:`${$n.PLACEHOLDER}${Gn.YELLOW_05}`,[Gn.YELLOW_06]:`${$n.PLACEHOLDER}${Gn.YELLOW_06}`,[Gn.YELLOW_07]:`${$n.PLACEHOLDER}${Gn.YELLOW_07}`,[Gn.YELLOW_08]:`${$n.PLACEHOLDER}${Gn.YELLOW_08}`,[Gn.YELLOW_09]:`${$n.PLACEHOLDER}${Gn.YELLOW_09}`,[Gn.GREEN_01]:`${$n.PLACEHOLDER}${Gn.GREEN_01}`,[Gn.GREEN_02]:`${$n.PLACEHOLDER}${Gn.GREEN_02}`,[Gn.GREEN_03]:`${$n.PLACEHOLDER}${Gn.GREEN_03}`,[Gn.GREEN_04]:`${$n.PLACEHOLDER}${Gn.GREEN_04}`,[Gn.GREEN_05]:`${$n.PLACEHOLDER}${Gn.GREEN_05}`,[Gn.GREEN_06]:`${$n.PLACEHOLDER}${Gn.GREEN_06}`,[Gn.GREEN_07]:`${$n.PLACEHOLDER}${Gn.GREEN_07}`,[Gn.GREEN_08]:`${$n.PLACEHOLDER}${Gn.GREEN_08}`,[Gn.GREEN_09]:`${$n.PLACEHOLDER}${Gn.GREEN_09}`}},Wn={RADIUS_4:"radius-4",RADIUS_6:"radius-6",RADIUS_8:"radius-8",RADIUS_12:"radius-12",RADIUS_16:"radius-16",RADIUS_24:"radius-24",RADIUS_FULL:"radius-full"},kn={[Wn.RADIUS_4]:"rounded-in-4",[Wn.RADIUS_6]:"rounded-in-6",[Wn.RADIUS_8]:"rounded-in-8",[Wn.RADIUS_12]:"rounded-in-12",[Wn.RADIUS_16]:"rounded-in-16",[Wn.RADIUS_24]:"rounded-in-24",[Wn.RADIUS_FULL]:"rounded-in-full"},Vn={SHADOW_4:"shadow-in-4",SHADOW_8:"shadow-in-8",SHADOW_12:"shadow-in-12",SHADOW_20:"shadow-in-20",SHADOW_24:"shadow-in-24",SHADOW_30:"shadow-in-30"},jn={DISPLAY_34_B:"display-34-b",DISPLAY_34_M:"display-34-m",DISPLAY_30_B:"display-30-b",DISPLAY_30_M:"display-30-m",HEADLINE_24_B:"headline-24-b",HEADLINE_24_M:"headline-24-m",HEADLINE_20_B:"headline-20-b",HEADLINE_20_M:"headline-20-m",BODY_18_B:"body-18-b",BODY_18_M:"body-18-m",BODY_18_R:"body-18-r",BODY_16_B:"body-16-b",BODY_16_M:"body-16-m",BODY_16_R:"body-16-r",BODY_14_B:"body-14-b",BODY_14_M:"body-14-m",BODY_14_R:"body-14-r",BODY_12_B:"body-12-b",BODY_12_M:"body-12-m"},Jn="text-in-",Kn={[jn.DISPLAY_34_B]:`${Jn}${jn.DISPLAY_34_B}`,[jn.DISPLAY_34_M]:`${Jn}${jn.DISPLAY_34_M}`,[jn.DISPLAY_30_B]:`${Jn}${jn.DISPLAY_30_B}`,[jn.DISPLAY_30_M]:`${Jn}${jn.DISPLAY_30_M}`,[jn.HEADLINE_24_B]:`${Jn}${jn.HEADLINE_24_B}`,[jn.HEADLINE_24_M]:`${Jn}${jn.HEADLINE_24_M}`,[jn.HEADLINE_20_B]:`${Jn}${jn.HEADLINE_20_B}`,[jn.HEADLINE_20_M]:`${Jn}${jn.HEADLINE_20_M}`,[jn.BODY_18_B]:`${Jn}${jn.BODY_18_B}`,[jn.BODY_18_M]:`${Jn}${jn.BODY_18_M}`,[jn.BODY_18_R]:`${Jn}${jn.BODY_18_R}`,[jn.BODY_16_B]:`${Jn}${jn.BODY_16_B}`,[jn.BODY_16_M]:`${Jn}${jn.BODY_16_M}`,[jn.BODY_16_R]:`${Jn}${jn.BODY_16_R}`,[jn.BODY_14_B]:`${Jn}${jn.BODY_14_B}`,[jn.BODY_14_M]:`${Jn}${jn.BODY_14_M}`,[jn.BODY_14_R]:`${Jn}${jn.BODY_14_R}`,[jn.BODY_12_B]:`${Jn}${jn.BODY_12_B}`,[jn.BODY_12_M]:`${Jn}${jn.BODY_12_M}`},Xn=({content:e,children:a,placement:i,rootClassName:E,className:s,color:u=Gn.WHITE,hidden:d=!1,isKeepFloating:O=!1,id:R,ariaLive:p,role:S,gap:f=4})=>{const[A,C]=c(!d&&O),{refs:{setFloating:M,setReference:T},floatingStyles:N,context:I}=xn({open:A,placement:i,middleware:[(h=f,{...qt(h),options:[h,m]}),ln(),En()],whileElementsMounted:zt,onOpenChange:e=>{d||O||C(e)}});var h,m;const D=function(e,t){void 0===t&&(t={});const{open:n,onOpenChange:r,dataRef:a,events:i,elements:E}=e,{enabled:l=!0,delay:s=0,handleClose:c=null,mouseOnly:u=!1,restMs:d=0,move:O=!0}=t,R=Tn(),p=Mn(),S=ht(c),f=ht(s),A=ht(n),C=ht(d),M=o.useRef(),T=o.useRef(-1),N=o.useRef(),I=o.useRef(-1),h=o.useRef(!0),m=o.useRef(!1),D=o.useRef((()=>{})),b=o.useRef(!1),g=o.useCallback((()=>{var e;const t=null==(e=a.current.openEvent)?void 0:e.type;return(null==t?void 0:t.includes("mouse"))&&"mousedown"!==t}),[a]);
|
|
476
|
-
// When closing before opening, clear the delay timeouts to cancel it
|
|
477
|
-
// from showing.
|
|
478
|
-
o.useEffect((()=>{if(l)return i.on("openchange",e),()=>{i.off("openchange",e)};function e(e){let{open:t}=e;t||(In(T),In(I),h.current=!0,b.current=!1)}}),[l,i]),o.useEffect((()=>{if(!l)return;if(!S.current)return;if(!n)return;function e(e){g()&&r(!1,e,"hover")}const t=Tt(E.floating).documentElement;return t.addEventListener("mouseleave",e),()=>{t.removeEventListener("mouseleave",e)}}),[E.floating,n,r,l,S,g]);const _=o.useCallback((function(e,t,n){void 0===t&&(t=!0),void 0===n&&(n="hover");const o=mn(f.current,"close",M.current);o&&!N.current?(In(T),T.current=window.setTimeout((()=>r(!1,e,n)),o)):t&&(In(T),r(!1,e,n))}),[f,r]),y=Dt((()=>{D.current(),N.current=void 0})),L=Dt((()=>{if(m.current){const e=Tt(E.floating).body;e.style.pointerEvents="",e.removeAttribute(hn),m.current=!1}})),P=Dt((()=>!!a.current.openEvent&&["click","mousedown"].includes(a.current.openEvent.type)));
|
|
479
|
-
// Registering the mouse events on the reference directly to bypass React's
|
|
480
|
-
// delegation system. If the cursor was on a disabled element and then entered
|
|
481
|
-
// the reference (no gap), `mouseenter` doesn't fire in the delegation system.
|
|
482
|
-
o.useEffect((()=>{if(l&&Ie(E.domReference)){const r=E.domReference,a=E.floating;return n&&r.addEventListener("mouseleave",o),O&&r.addEventListener("mousemove",e,{once:!0}),r.addEventListener("mouseenter",e),r.addEventListener("mouseleave",t),a&&(a.addEventListener("mouseleave",o),a.addEventListener("mouseenter",i),a.addEventListener("mouseleave",s)),()=>{n&&r.removeEventListener("mouseleave",o),O&&r.removeEventListener("mousemove",e),r.removeEventListener("mouseenter",e),r.removeEventListener("mouseleave",t),a&&(a.removeEventListener("mouseleave",o),a.removeEventListener("mouseenter",i),a.removeEventListener("mouseleave",s))}}function e(e){if(In(T),h.current=!1,u&&!Nt(M.current)||Dn(C.current)>0&&!mn(f.current,"open"))return;const t=mn(f.current,"open",M.current);t?T.current=window.setTimeout((()=>{A.current||r(!0,e,"hover")}),t):n||r(!0,e,"hover")}function t(e){if(P())return void L();D.current();const t=Tt(E.floating);if(In(I),b.current=!1,S.current&&a.current.floatingContext){
|
|
483
|
-
// Prevent clearing `onScrollMouseLeave` timeout.
|
|
484
|
-
n||In(T),N.current=S.current({...a.current.floatingContext,tree:R,x:e.clientX,y:e.clientY,onClose(){L(),y(),P()||_(e,!0,"safe-polygon")}});const r=N.current;return t.addEventListener("mousemove",r),void(D.current=()=>{t.removeEventListener("mousemove",r)})}
|
|
485
|
-
// Allow interactivity without `safePolygon` on touch devices. With a
|
|
486
|
-
// pointer, a short close delay is an alternative, so it should work
|
|
487
|
-
// consistently.
|
|
488
|
-
("touch"!==M.current||!Mt(E.floating,e.relatedTarget))&&_(e)}
|
|
489
|
-
// Ensure the floating element closes after scrolling even if the pointer
|
|
490
|
-
// did not move.
|
|
491
|
-
// https://github.com/floating-ui/floating-ui/discussions/1692
|
|
492
|
-
function o(e){P()||a.current.floatingContext&&(null==S.current||S.current({...a.current.floatingContext,tree:R,x:e.clientX,y:e.clientY,onClose(){L(),y(),P()||_(e)}})(e))}function i(){In(T)}function s(e){P()||_(e,!1)}}),[E,l,e,u,O,_,y,L,r,n,A,R,f,S,a,P,C]),
|
|
493
|
-
// Block pointer-events of every element other than the reference and floating
|
|
494
|
-
// while the floating element is open and has a `handleClose` handler. Also
|
|
495
|
-
// handles nested floating elements.
|
|
496
|
-
// https://github.com/floating-ui/floating-ui/issues/1722
|
|
497
|
-
It((()=>{var e;if(l&&n&&null!=(e=S.current)&&e.__options.blockPointerEvents&&g()){m.current=!0;const e=E.floating;if(Ie(E.domReference)&&e){var t;const n=Tt(E.floating).body;n.setAttribute(hn,"");const r=E.domReference,o=null==R||null==(t=R.nodesRef.current.find((e=>e.id===p)))||null==(t=t.context)?void 0:t.elements.floating;return o&&(o.style.pointerEvents=""),n.style.pointerEvents="none",r.style.pointerEvents="auto",e.style.pointerEvents="auto",()=>{n.style.pointerEvents="",r.style.pointerEvents="",e.style.pointerEvents=""}}}}),[l,n,p,E,R,S,g]),It((()=>{n||(M.current=void 0,b.current=!1,y(),L())}),[n,y,L]),o.useEffect((()=>()=>{y(),In(T),In(I),L()}),[l,E.domReference,y,L]);const v=o.useMemo((()=>{function e(e){M.current=e.pointerType}return{onPointerDown:e,onPointerEnter:e,onMouseMove(e){const{nativeEvent:t}=e;function o(){h.current||A.current||r(!0,t,"hover")}u&&!Nt(M.current)||n||0===Dn(C.current)||b.current&&e.movementX**2+e.movementY**2<2||(In(I),"touch"===M.current?o():(b.current=!0,I.current=window.setTimeout(o,Dn(C.current))))}}}),[u,r,n,A,C]);return o.useMemo((()=>l?{reference:v}:{}),[l,v])}(I,{enabled:!d&&!O,handleClose:Bn({blockPointerEvents:!0})}),{getReferenceProps:b,getFloatingProps:g}=function(e){void 0===e&&(e=[]);const t=e.map((e=>null==e?void 0:e.reference)),n=e.map((e=>null==e?void 0:e.floating)),r=e.map((e=>null==e?void 0:e.item)),a=o.useCallback((t=>Yn(t,e,"reference")
|
|
498
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
499
|
-
),t),i=o.useCallback((t=>Yn(t,e,"floating")
|
|
500
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
501
|
-
),n),E=o.useCallback((t=>Yn(t,e,"item")
|
|
502
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
503
|
-
),r);return o.useMemo((()=>({getReferenceProps:a,getFloatingProps:i,getItemProps:E})),[a,i,E])}([D]);return(({hidden:e,isKeepFloating:t,setIsOpen:n})=>{l((()=>{n(!e&&t)}),[e,t])})({hidden:d,isKeepFloating:O,setIsOpen:C}),n(r,{children:[t("div",{ref:T,...b(),className:E,children:a}),A&&t(Pn,{children:t("div",{id:R,"aria-live":p,role:S,ref:M,style:N,...g(),className:W("text-in-body-12-m rounded-in-4 bg-in-tooltip z-[10000] animate-[fade-in_.1s_ease-in-out_1] break-keep px-2.5 py-1",Hn.TEXT[u],s),children:e})})]})},zn=({ref:e,iconKey:n,type:r="button",theme:o=Se.HOVER_GRAY,arialLabel:a,tooltipOption:i,className:E,disabled:l=!1,isPending:s=!1,onClick:c})=>{const{content:u,placement:d="bottom"}=i??{},O=l||s;return t(Xn,{content:u??a,rootClassName:E,placement:d,children:t("button",{ref:e,type:r,className:W("rounded-in-6 text-in-body-16-b disabled:text-in-gray-04 in-flex-h-stack-center h-8 w-8 cursor-pointer transition-colors disabled:cursor-not-allowed",fe[o]),"aria-label":a,disabled:O,onClick:e=>{e.preventDefault(),O||c?.(e)},children:t(ue,{iconKey:s?z:n,className:W(s&&"animate-spin"),"aria-hidden":!0})})})};function qn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Qn,Zn={exports:{}},er={};function tr(){if(Qn)return er;function e(t){if("function"!=typeof WeakMap)return null;var n=new WeakMap,r=new WeakMap;return(e=function(e){return e?r:n})(t)}return Qn=1,er._=function(t,n){if(!n&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var r=e(n);if(r&&r.has(t))return r.get(t);var o={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if("default"!==i&&Object.prototype.hasOwnProperty.call(t,i)){var E=a?Object.getOwnPropertyDescriptor(t,i):null;E&&(E.get||E.set)?Object.defineProperty(o,i,E):o[i]=t[i]}return o.default=t,r&&r.set(t,o),o},er}var nr,rr={exports:{}},or={};function ar(){return nr||(nr=1,function(e){function t(e){const t={};for(const[n,r]of e.entries()){const e=t[n];void 0===e?t[n]=r:Array.isArray(e)?e.push(r):t[n]=[e,r]}return t}function n(e){return"string"==typeof e?e:"number"==typeof e&&!isNaN(e)||"boolean"==typeof e?String(e):""}function r(e){const t=new URLSearchParams;for(const[r,o]of Object.entries(e))if(Array.isArray(o))for(const e of o)t.append(r,n(e));else t.set(r,n(o));return t}function o(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(const t of n){for(const n of t.keys())e.delete(n);for(const[n,r]of t.entries())e.append(n,r)}return e}Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(e,{assign:function(){return o},searchParamsToUrlQuery:function(){return t},urlQueryToSearchParams:function(){return r}})}(or)),or}var ir,Er={};function lr(){return ir||(ir=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(e,{formatUrl:function(){return r},formatWithValidation:function(){return a},urlObjectKeys:function(){return o}});const t=tr()._(ar()),n=/https?|ftp|gopher|file/;function r(e){let{auth:r,hostname:o}=e,a=e.protocol||"",i=e.pathname||"",E=e.hash||"",l=e.query||"",s=!1;r=r?encodeURIComponent(r).replace(/%3A/i,":")+"@":"",e.host?s=r+e.host:o&&(s=r+(~o.indexOf(":")?"["+o+"]":o),e.port&&(s+=":"+e.port)),l&&"object"==typeof l&&(l=String(t.urlQueryToSearchParams(l)));let c=e.search||l&&"?"+l||"";return a&&!a.endsWith(":")&&(a+=":"),e.slashes||(!a||n.test(a))&&!1!==s?(s="//"+(s||""),i&&"/"!==i[0]&&(i="/"+i)):s||(s=""),E&&"#"!==E[0]&&(E="#"+E),c&&"?"!==c[0]&&(c="?"+c),i=i.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),""+a+s+i+c+E}const o=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function a(e){return"development"===process.env.NODE_ENV&&null!==e&&"object"==typeof e&&Object.keys(e).forEach((e=>{o.includes(e)||console.warn("Unknown key passed via urlObject into url.format: "+e)})),r(e)}}(Er)),Er}var sr,cr={};var ur,dr={};function Or(){return ur||(ur=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(e,{DecodeError:function(){return O},MiddlewareNotFoundError:function(){return f},MissingStaticPage:function(){return S},NormalizeError:function(){return R},PageNotFoundError:function(){return p},SP:function(){return u},ST:function(){return d},WEB_VITALS:function(){return t},execOnce:function(){return n},getDisplayName:function(){return E},getLocationOrigin:function(){return a},getURL:function(){return i},isAbsoluteUrl:function(){return o},isResSent:function(){return l},loadGetInitialProps:function(){return c},normalizeRepeatedSlashes:function(){return s},stringifyError:function(){return A}});const t=["CLS","FCP","FID","INP","LCP","TTFB"];function n(e){let t,n=!1;return function(){for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];return n||(n=!0,t=e(...o)),t}}
|
|
504
|
-
// Scheme: https://tools.ietf.org/html/rfc3986#section-3.1
|
|
505
|
-
// Absolute URL: https://tools.ietf.org/html/rfc3986#section-4.3
|
|
506
|
-
const r=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,o=e=>r.test(e);function a(){const{protocol:e,hostname:t,port:n}=window.location;return e+"//"+t+(n?":"+n:"")}function i(){const{href:e}=window.location,t=a();return e.substring(t.length)}function E(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function l(e){return e.finished||e.headersSent}function s(e){const t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function c(e,t){var n;if("production"!==process.env.NODE_ENV&&(null==(n=e.prototype)?void 0:n.getInitialProps)){const t='"'+E(e)+'.getInitialProps()" is defined as an instance method - visit https://nextjs.org/docs/messages/get-initial-props-as-an-instance-method for more information.';throw Object.defineProperty(new Error(t),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}
|
|
507
|
-
// when called from _app `ctx` is nested in `ctx`
|
|
508
|
-
const r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await c(t.Component,t.ctx)}:{};const o=await e.getInitialProps(t);if(r&&l(r))return o;if(!o){const t='"'+E(e)+'.getInitialProps()" should resolve to an object. But found "'+o+'" instead.';throw Object.defineProperty(new Error(t),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0})}return"production"!==process.env.NODE_ENV&&(0!==Object.keys(o).length||t.ctx||console.warn(E(e)+" returned an empty object from `getInitialProps`. This de-optimizes and prevents automatic static optimization. https://nextjs.org/docs/messages/empty-object-getInitialProps")),o}const u="undefined"!=typeof performance,d=u&&["mark","measure","getEntriesByName"].every((e=>"function"==typeof performance[e]));class O extends Error{}class R extends Error{}class p extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class S extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class f extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function A(e){return JSON.stringify({message:e.message,stack:e.stack})}}(dr)),dr}var Rr,pr={exports:{}},Sr={};function fr(){return Rr||(Rr=1,function(e){function t(e){return e.replace(/\/$/,"")||"/"}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"removeTrailingSlash",{enumerable:!0,get:function(){return t}})}(Sr)),Sr}var Ar,Cr,Mr={};
|
|
509
|
-
/**
|
|
510
|
-
* Given a path this function will find the pathname, query and hash and return
|
|
511
|
-
* them. This is useful to parse full paths on the client side.
|
|
512
|
-
* @param path A path to parse e.g. /foo/bar?id=1#hash
|
|
513
|
-
*/function Tr(){return Ar||(Ar=1,function(e){function t(e){const t=e.indexOf("#"),n=e.indexOf("?"),r=n>-1&&(t<0||n<t);return r||t>-1?{pathname:e.substring(0,r?n:t),query:r?e.substring(n,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""}:{pathname:e,query:"",hash:""}}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"parsePath",{enumerable:!0,get:function(){return t}})}(Mr)),Mr}function Nr(){return Cr||(Cr=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathTrailingSlash",{enumerable:!0,get:function(){return o}});const n=fr(),r=Tr(),o=e=>{if(!e.startsWith("/")||process.env.__NEXT_MANUAL_TRAILING_SLASH)return e;const{pathname:t,query:o,hash:a}=(0,r.parsePath)(e);return process.env.__NEXT_TRAILING_SLASH?/\.[^/]+\/?$/.test(t)?""+(0,n.removeTrailingSlash)(t)+o+a:t.endsWith("/")?""+t+o+a:t+"/"+o+a:""+(0,n.removeTrailingSlash)(t)+o+a};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(pr,pr.exports)),pr.exports}var Ir,hr,mr,Dr={},br={exports:{}},gr={};function _r(){return Ir||(Ir=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"pathHasPrefix",{enumerable:!0,get:function(){return n}});const t=Tr();function n(e,n){if("string"!=typeof e)return!1;const{pathname:r}=(0,t.parsePath)(e);return r===n||r.startsWith(n+"/")}}(gr)),gr}function yr(){return mr||(mr=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isLocalURL",{enumerable:!0,get:function(){return r}});const t=Or(),n=(hr||(hr=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hasBasePath",{enumerable:!0,get:function(){return o}});const n=_r(),r=process.env.__NEXT_ROUTER_BASEPATH||"";function o(e){return(0,n.pathHasPrefix)(e,r)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(br,br.exports)),br.exports);function r(e){
|
|
514
|
-
// prevent a hydration mismatch on href for url with anchor refs
|
|
515
|
-
if(!(0,t.isAbsoluteUrl)(e))return!0;try{
|
|
516
|
-
// absolute urls can be local if they are on the same origin
|
|
517
|
-
const r=(0,t.getLocationOrigin)(),o=new URL(e,r);return o.origin===r&&(0,n.hasBasePath)(o.pathname)}catch(e){return!1}}}(Dr)),Dr}var Lr,Pr={},vr={};var Fr,xr={},Yr={},wr={},Br={};var Gr,Ur,$r,Hr,Wr,kr={};function Vr(){return Ur||(Ur=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(e,{normalizeAppPath:function(){return r},normalizeRscURL:function(){return o}});const t=(Fr||(Fr=1,function(e){function t(e){return e.startsWith("/")?e:"/"+e}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ensureLeadingSlash",{enumerable:!0,get:function(){return t}})}(Br)),Br),n=(Gr||(Gr=1,function(e){function t(e){
|
|
518
|
-
// Use array[0] for performant purpose
|
|
519
|
-
return"("===e[0]&&e.endsWith(")")}function n(e){return e.startsWith("@")&&"@children"!==e}function r(e,t){if(e.includes(o)){const e=JSON.stringify(t);return"{}"!==e?o+"?"+e:o}return e}Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(e,{DEFAULT_SEGMENT_KEY:function(){return a},PAGE_SEGMENT_KEY:function(){return o},addSearchParamsIfPageSegment:function(){return r},isGroupSegment:function(){return t},isParallelRouteSegment:function(){return n}});const o="__PAGE__",a="__DEFAULT__"}(kr)),kr);function r(e){return(0,t.ensureLeadingSlash)(e.split("/").reduce(((e,t,r,o)=>
|
|
520
|
-
// Empty segments are ignored.
|
|
521
|
-
t?
|
|
522
|
-
// Groups are ignored.
|
|
523
|
-
(0,n.isGroupSegment)(t)||"@"===t[0]?e:
|
|
524
|
-
// The last segment (if it's a leaf) should be ignored.
|
|
525
|
-
"page"!==t&&"route"!==t||r!==o.length-1?e+"/"+t:e:e),""))}function o(e){return e.replace(/\.rsc($|\?)/,// $1 ensures `?` is preserved
|
|
526
|
-
"$1")}}(wr)),wr}function jr(){return $r||($r=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(e,{INTERCEPTION_ROUTE_MARKERS:function(){return n},extractInterceptionRouteInformation:function(){return o},isInterceptionRouteAppPath:function(){return r}});const t=Vr(),n=["(..)(..)","(.)","(..)","(...)"];function r(e){
|
|
527
|
-
// TODO-APP: add more serious validation
|
|
528
|
-
return void 0!==e.split("/").find((e=>n.find((t=>e.startsWith(t)))))}function o(e){let r,o,a;for(const t of e.split("/"))if(o=n.find((e=>t.startsWith(e))),o){[r,a]=e.split(o,2);break}if(!r||!o||!a)throw Object.defineProperty(new Error("Invalid interception route: "+e+". Must be in the format /<intercepting route>/(..|...|..)(..)/<intercepted route>"),"__NEXT_ERROR_CODE",{value:"E269",enumerable:!1,configurable:!0});switch(r=(0,t.normalizeAppPath)(r),o){case"(.)":
|
|
529
|
-
// (.) indicates that we should match with sibling routes, so we just need to append the intercepted route to the intercepting route
|
|
530
|
-
a="/"===r?"/"+a:r+"/"+a;break;case"(..)":
|
|
531
|
-
// (..) indicates that we should match at one level up, so we need to remove the last segment of the intercepting route
|
|
532
|
-
if("/"===r)throw Object.defineProperty(new Error("Invalid interception route: "+e+". Cannot use (..) marker at the root level, use (.) instead."),"__NEXT_ERROR_CODE",{value:"E207",enumerable:!1,configurable:!0});a=r.split("/").slice(0,-1).concat(a).join("/");break;case"(...)":
|
|
533
|
-
// (...) will match the route segment in the root directory, so we need to use the root directory to prepend the intercepted route
|
|
534
|
-
a="/"+a;break;case"(..)(..)":
|
|
535
|
-
// (..)(..) indicates that we should match at two levels up, so we need to remove the last two segments of the intercepting route
|
|
536
|
-
const t=r.split("/");if(t.length<=2)throw Object.defineProperty(new Error("Invalid interception route: "+e+". Cannot use (..)(..) marker at the root level or one level up."),"__NEXT_ERROR_CODE",{value:"E486",enumerable:!1,configurable:!0});a=t.slice(0,-2).concat(a).join("/");break;default:throw Object.defineProperty(new Error("Invariant: unexpected marker"),"__NEXT_ERROR_CODE",{value:"E112",enumerable:!1,configurable:!0})}return{interceptingRoute:r,interceptedRoute:a}}}(Yr)),Yr}function Jr(){return Wr||(Wr=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(e,{getSortedRouteObjects:function(){return t.getSortedRouteObjects},getSortedRoutes:function(){return t.getSortedRoutes},isDynamicRoute:function(){return n.isDynamicRoute}});const t=(Lr||(Lr=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(e,{getSortedRouteObjects:function(){return r},getSortedRoutes:function(){return n}});class t{insert(e){this._insert(e.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(e){void 0===e&&(e="/");const t=[...this.children.keys()].sort();null!==this.slugName&&t.splice(t.indexOf("[]"),1),null!==this.restSlugName&&t.splice(t.indexOf("[...]"),1),null!==this.optionalRestSlugName&&t.splice(t.indexOf("[[...]]"),1);const n=t.map((t=>this.children.get(t)._smoosh(""+e+t+"/"))).reduce(((e,t)=>[...e,...t]),[]);if(null!==this.slugName&&n.push(...this.children.get("[]")._smoosh(e+"["+this.slugName+"]/")),!this.placeholder){const t="/"===e?"/":e.slice(0,-1);if(null!=this.optionalRestSlugName)throw Object.defineProperty(new Error('You cannot define a route with the same specificity as a optional catch-all route ("'+t+'" and "'+t+"[[..."+this.optionalRestSlugName+']]").'),"__NEXT_ERROR_CODE",{value:"E458",enumerable:!1,configurable:!0});n.unshift(t)}return null!==this.restSlugName&&n.push(...this.children.get("[...]")._smoosh(e+"[..."+this.restSlugName+"]/")),null!==this.optionalRestSlugName&&n.push(...this.children.get("[[...]]")._smoosh(e+"[[..."+this.optionalRestSlugName+"]]/")),n}_insert(e,n,r){if(0===e.length)return void(this.placeholder=!1);if(r)throw Object.defineProperty(new Error("Catch-all must be the last part of the URL."),"__NEXT_ERROR_CODE",{value:"E392",enumerable:!1,configurable:!0});
|
|
537
|
-
// The next segment in the urlPaths list
|
|
538
|
-
let o=e[0];
|
|
539
|
-
// Check if the segment matches `[something]`
|
|
540
|
-
if(o.startsWith("[")&&o.endsWith("]")){
|
|
541
|
-
// Strip `[` and `]`, leaving only `something`
|
|
542
|
-
let a=o.slice(1,-1),i=!1;if(a.startsWith("[")&&a.endsWith("]")&&(
|
|
543
|
-
// Strip optional `[` and `]`, leaving only `something`
|
|
544
|
-
a=a.slice(1,-1),i=!0),a.startsWith("…"))throw Object.defineProperty(new Error("Detected a three-dot character ('…') at ('"+a+"'). Did you mean ('...')?"),"__NEXT_ERROR_CODE",{value:"E147",enumerable:!1,configurable:!0});if(a.startsWith("...")&&(
|
|
545
|
-
// Strip `...`, leaving only `something`
|
|
546
|
-
a=a.substring(3),r=!0),a.startsWith("[")||a.endsWith("]"))throw Object.defineProperty(new Error("Segment names may not start or end with extra brackets ('"+a+"')."),"__NEXT_ERROR_CODE",{value:"E421",enumerable:!1,configurable:!0});if(a.startsWith("."))throw Object.defineProperty(new Error("Segment names may not start with erroneous periods ('"+a+"')."),"__NEXT_ERROR_CODE",{value:"E288",enumerable:!1,configurable:!0});function E(e,t){if(null!==e&&e!==t)
|
|
547
|
-
// TODO: This error seems to be confusing for users, needs an error link, the description can be based on above comment.
|
|
548
|
-
throw Object.defineProperty(new Error("You cannot use different slug names for the same dynamic path ('"+e+"' !== '"+t+"')."),"__NEXT_ERROR_CODE",{value:"E337",enumerable:!1,configurable:!0});n.forEach((e=>{if(e===t)throw Object.defineProperty(new Error('You cannot have the same slug name "'+t+'" repeat within a single dynamic path'),"__NEXT_ERROR_CODE",{value:"E247",enumerable:!1,configurable:!0});if(e.replace(/\W/g,"")===o.replace(/\W/g,""))throw Object.defineProperty(new Error('You cannot have the slug names "'+e+'" and "'+t+'" differ only by non-word symbols within a single dynamic path'),"__NEXT_ERROR_CODE",{value:"E499",enumerable:!1,configurable:!0})})),n.push(t)}if(r)if(i){if(null!=this.restSlugName)throw Object.defineProperty(new Error('You cannot use both an required and optional catch-all route at the same level ("[...'+this.restSlugName+']" and "'+e[0]+'" ).'),"__NEXT_ERROR_CODE",{value:"E299",enumerable:!1,configurable:!0});E(this.optionalRestSlugName,a),
|
|
549
|
-
// slugName is kept as it can only be one particular slugName
|
|
550
|
-
this.optionalRestSlugName=a,
|
|
551
|
-
// nextSegment is overwritten to [[...]] so that it can later be sorted specifically
|
|
552
|
-
o="[[...]]"}else{if(null!=this.optionalRestSlugName)throw Object.defineProperty(new Error('You cannot use both an optional and required catch-all route at the same level ("[[...'+this.optionalRestSlugName+']]" and "'+e[0]+'").'),"__NEXT_ERROR_CODE",{value:"E300",enumerable:!1,configurable:!0});E(this.restSlugName,a),
|
|
553
|
-
// slugName is kept as it can only be one particular slugName
|
|
554
|
-
this.restSlugName=a,
|
|
555
|
-
// nextSegment is overwritten to [...] so that it can later be sorted specifically
|
|
556
|
-
o="[...]"}else{if(i)throw Object.defineProperty(new Error('Optional route parameters are not yet supported ("'+e[0]+'").'),"__NEXT_ERROR_CODE",{value:"E435",enumerable:!1,configurable:!0});E(this.slugName,a),
|
|
557
|
-
// slugName is kept as it can only be one particular slugName
|
|
558
|
-
this.slugName=a,
|
|
559
|
-
// nextSegment is overwritten to [] so that it can later be sorted specifically
|
|
560
|
-
o="[]"}}
|
|
561
|
-
// If this UrlNode doesn't have the nextSegment yet we create a new child UrlNode
|
|
562
|
-
this.children.has(o)||this.children.set(o,new t),this.children.get(o)._insert(e.slice(1),n,r)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function n(e){
|
|
563
|
-
// First the UrlNode is created, and every UrlNode can have only 1 dynamic segment
|
|
564
|
-
// Eg you can't have pages/[post]/abc.js and pages/[hello]/something-else.js
|
|
565
|
-
// Only 1 dynamic segment per nesting level
|
|
566
|
-
// So in the case that is test/integration/dynamic-routing it'll be this:
|
|
567
|
-
// pages/[post]/comments.js
|
|
568
|
-
// pages/blog/[post]/comment/[id].js
|
|
569
|
-
// Both are fine because `pages/[post]` and `pages/blog` are on the same level
|
|
570
|
-
// So in this case `UrlNode` created here has `this.slugName === 'post'`
|
|
571
|
-
// And since your PR passed through `slugName` as an array basically it'd including it in too many possibilities
|
|
572
|
-
// Instead what has to be passed through is the upwards path's dynamic names
|
|
573
|
-
const n=new t;
|
|
574
|
-
// Here the `root` gets injected multiple paths, and insert will break them up into sublevels
|
|
575
|
-
// Smoosh will then sort those sublevels up to the point where you get the correct route definition priority
|
|
576
|
-
return e.forEach((e=>n.insert(e))),n.smoosh()}function r(e,t){
|
|
577
|
-
// We're assuming here that all the pathnames are unique, that way we can
|
|
578
|
-
// sort the list and use the index as the key.
|
|
579
|
-
const r={},o=[];for(let n=0;n<e.length;n++){const a=t(e[n]);r[a]=n,o[n]=a}
|
|
580
|
-
// Sort the pathnames.
|
|
581
|
-
// Map the sorted pathnames back to the original objects using the new sorted
|
|
582
|
-
// index.
|
|
583
|
-
return n(o).map((t=>e[r[t]]))}}(vr)),vr),n=(Hr||(Hr=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isDynamicRoute",{enumerable:!0,get:function(){return o}});const t=jr(),n=/\/[^/]*\[[^/]+\][^/]*(?=\/|$)/,r=/\/\[[^/]+\](?=\/|$)/;
|
|
584
|
-
// Identify /.*[param].*/ in route string
|
|
585
|
-
function o(e,o){return void 0===o&&(o=!0),(0,t.isInterceptionRouteAppPath)(e)&&(e=(0,t.extractInterceptionRouteInformation)(e).interceptedRoute),o?r.test(e):n.test(e)}}(xr)),xr)}(Pr)),Pr}var Kr,Xr={},zr={};var qr,Qr={},Zr={};var eo,to,no,ro,oo={};function ao(){return to||(to=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(e,{getNamedMiddlewareRegex:function(){return O},getNamedRouteRegex:function(){return d},getRouteRegex:function(){return s},parseParameter:function(){return i}});const t=(qr||(qr=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(e,{ACTION_SUFFIX:function(){return c},APP_DIR_ALIAS:function(){return y},CACHE_ONE_YEAR:function(){return N},DOT_NEXT_ALIAS:function(){return g},ESLINT_DEFAULT_DIRS:function(){return X},GSP_NO_RETURNED_VALUE:function(){return W},GSSP_COMPONENT_MEMBER_ERROR:function(){return j},GSSP_NO_RETURNED_VALUE:function(){return k},INFINITE_CACHE:function(){return I},INSTRUMENTATION_HOOK_FILENAME:function(){return D},MATCHED_PATH_HEADER:function(){return r},MIDDLEWARE_FILENAME:function(){return h},MIDDLEWARE_LOCATION_REGEXP:function(){return m},NEXT_BODY_SUFFIX:function(){return O},NEXT_CACHE_IMPLICIT_TAG_ID:function(){return T},NEXT_CACHE_REVALIDATED_TAGS_HEADER:function(){return p},NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER:function(){return S},NEXT_CACHE_SOFT_TAG_MAX_LENGTH:function(){return M},NEXT_CACHE_TAGS_HEADER:function(){return R},NEXT_CACHE_TAG_MAX_ITEMS:function(){return A},NEXT_CACHE_TAG_MAX_LENGTH:function(){return C},NEXT_DATA_SUFFIX:function(){return u},NEXT_INTERCEPTION_MARKER_PREFIX:function(){return n},NEXT_META_SUFFIX:function(){return d},NEXT_QUERY_PARAM_PREFIX:function(){return t},NEXT_RESUME_HEADER:function(){return f},NON_STANDARD_NODE_ENV:function(){return J},PAGES_DIR_ALIAS:function(){return b},PRERENDER_REVALIDATE_HEADER:function(){return o},PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER:function(){return a},PUBLIC_DIR_MIDDLEWARE_CONFLICT:function(){return w},ROOT_DIR_ALIAS:function(){return _},RSC_ACTION_CLIENT_WRAPPER_ALIAS:function(){return Y},RSC_ACTION_ENCRYPTION_ALIAS:function(){return x},RSC_ACTION_PROXY_ALIAS:function(){return v},RSC_ACTION_VALIDATE_ALIAS:function(){return P},RSC_CACHE_WRAPPER_ALIAS:function(){return F},RSC_MOD_REF_PROXY_ALIAS:function(){return L},RSC_PREFETCH_SUFFIX:function(){return i},RSC_SEGMENTS_DIR_SUFFIX:function(){return E},RSC_SEGMENT_SUFFIX:function(){return l},RSC_SUFFIX:function(){return s},SERVER_PROPS_EXPORT_ERROR:function(){return H},SERVER_PROPS_GET_INIT_PROPS_CONFLICT:function(){return G},SERVER_PROPS_SSG_CONFLICT:function(){return U},SERVER_RUNTIME:function(){return z},SSG_FALLBACK_EXPORT_ERROR:function(){return K},SSG_GET_INITIAL_PROPS_CONFLICT:function(){return B},STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR:function(){return $},UNSTABLE_REVALIDATE_RENAME_ERROR:function(){return V},WEBPACK_LAYERS:function(){return Q},WEBPACK_RESOURCE_QUERIES:function(){return Z}});const t="nxtP",n="nxtI",r="x-matched-path",o="x-prerender-revalidate",a="x-prerender-revalidate-if-generated",i=".prefetch.rsc",E=".segments",l=".segment.rsc",s=".rsc",c=".action",u=".json",d=".meta",O=".body",R="x-next-cache-tags",p="x-next-revalidated-tags",S="x-next-revalidate-tag-token",f="next-resume",A=128,C=256,M=1024,T="_N_T_",N=31536e3,I=4294967294,h="middleware",m=`(?:src/)?${h}`,D="instrumentation",b="private-next-pages",g="private-dot-next",_="private-next-root-dir",y="private-next-app-dir",L="private-next-rsc-mod-ref-proxy",P="private-next-rsc-action-validate",v="private-next-rsc-server-reference",F="private-next-rsc-cache-wrapper",x="private-next-rsc-action-encryption",Y="private-next-rsc-action-client-wrapper",w="You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict",B="You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps",G="You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.",U="You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps",$="can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props",H="pages with `getServerSideProps` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export",W="Your `getStaticProps` function did not return an object. Did you forget to add a `return`?",k="Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?",V="The `unstable_revalidate` property is available for general use.\nPlease use `revalidate` instead.",j="can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member",J='You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env',K="Pages with `fallback` enabled in `getStaticPaths` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export",X=["app","pages","components","lib","src"],z={edge:"edge",experimentalEdge:"experimental-edge",nodejs:"nodejs"},q={
|
|
586
|
-
/**
|
|
587
|
-
* The layer for the shared code between the client and server bundles.
|
|
588
|
-
*/
|
|
589
|
-
shared:"shared",
|
|
590
|
-
/**
|
|
591
|
-
* The layer for server-only runtime and picking up `react-server` export conditions.
|
|
592
|
-
* Including app router RSC pages and app router custom routes and metadata routes.
|
|
593
|
-
*/
|
|
594
|
-
reactServerComponents:"rsc",
|
|
595
|
-
/**
|
|
596
|
-
* Server Side Rendering layer for app (ssr).
|
|
597
|
-
*/
|
|
598
|
-
serverSideRendering:"ssr",
|
|
599
|
-
/**
|
|
600
|
-
* The browser client bundle layer for actions.
|
|
601
|
-
*/
|
|
602
|
-
actionBrowser:"action-browser",
|
|
603
|
-
/**
|
|
604
|
-
* The Node.js bundle layer for the API routes.
|
|
605
|
-
*/
|
|
606
|
-
apiNode:"api-node",
|
|
607
|
-
/**
|
|
608
|
-
* The Edge Lite bundle layer for the API routes.
|
|
609
|
-
*/
|
|
610
|
-
apiEdge:"api-edge",
|
|
611
|
-
/**
|
|
612
|
-
* The layer for the middleware code.
|
|
613
|
-
*/
|
|
614
|
-
middleware:"middleware",
|
|
615
|
-
/**
|
|
616
|
-
* The layer for the instrumentation hooks.
|
|
617
|
-
*/
|
|
618
|
-
instrument:"instrument",
|
|
619
|
-
/**
|
|
620
|
-
* The layer for assets on the edge.
|
|
621
|
-
*/
|
|
622
|
-
edgeAsset:"edge-asset",
|
|
623
|
-
/**
|
|
624
|
-
* The browser client bundle layer for App directory.
|
|
625
|
-
*/
|
|
626
|
-
appPagesBrowser:"app-pages-browser",
|
|
627
|
-
/**
|
|
628
|
-
* The browser client bundle layer for Pages directory.
|
|
629
|
-
*/
|
|
630
|
-
pagesDirBrowser:"pages-dir-browser",
|
|
631
|
-
/**
|
|
632
|
-
* The Edge Lite bundle layer for Pages directory.
|
|
633
|
-
*/
|
|
634
|
-
pagesDirEdge:"pages-dir-edge",
|
|
635
|
-
/**
|
|
636
|
-
* The Node.js bundle layer for Pages directory.
|
|
637
|
-
*/
|
|
638
|
-
pagesDirNode:"pages-dir-node"},Q={...q,GROUP:{builtinReact:[q.reactServerComponents,q.actionBrowser],serverOnly:[q.reactServerComponents,q.actionBrowser,q.instrument,q.middleware],neutralTarget:[
|
|
639
|
-
// pages api
|
|
640
|
-
q.apiNode,q.apiEdge],clientOnly:[q.serverSideRendering,q.appPagesBrowser],bundled:[q.reactServerComponents,q.actionBrowser,q.serverSideRendering,q.appPagesBrowser,q.shared,q.instrument,q.middleware],appPages:[
|
|
641
|
-
// app router pages and layouts
|
|
642
|
-
q.reactServerComponents,q.serverSideRendering,q.appPagesBrowser,q.actionBrowser]}},Z={edgeSSREntry:"__next_edge_ssr_entry__",metadata:"__next_metadata__",metadataRoute:"__next_metadata_route__",metadataImageMeta:"__next_metadata_image_meta__"}}(Zr)),Zr),n=jr(),r=(eo||(eo=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"escapeStringRegexp",{enumerable:!0,get:function(){return r}});const t=/[|\\{}()[\]^$+*?.-]/,n=/[|\\{}()[\]^$+*?.-]/g;function r(e){
|
|
643
|
-
// see also: https://github.com/lodash/lodash/blob/2da024c3b4f9947a48517639de7560457cd4ec6c/escapeRegExp.js#L23
|
|
644
|
-
return t.test(e)?e.replace(n,"\\$&"):e}}(oo)),oo),o=fr(),a=/^([^[]*)\[((?:\[[^\]]*\])|[^\]]+)\](.*)$/;function i(e){const t=e.match(a);return E(t?t[2]:e)}
|
|
645
|
-
/**
|
|
646
|
-
* Parses a matched parameter from the PARAMETER_PATTERN regex to a data structure that can be used
|
|
647
|
-
* to generate the parametrized route.
|
|
648
|
-
* Examples:
|
|
649
|
-
* - `[...slug]` -> `{ key: 'slug', repeat: true, optional: true }`
|
|
650
|
-
* - `...slug` -> `{ key: 'slug', repeat: true, optional: false }`
|
|
651
|
-
* - `[foo]` -> `{ key: 'foo', repeat: false, optional: true }`
|
|
652
|
-
* - `bar` -> `{ key: 'bar', repeat: false, optional: false }`
|
|
653
|
-
* @param param - The matched parameter to parse.
|
|
654
|
-
* @returns The parsed parameter as a data structure.
|
|
655
|
-
*/function E(e){const t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));const n=e.startsWith("...");return n&&(e=e.slice(3)),{key:e,repeat:n,optional:t}}function l(e,t,i){const l={};let s=1;const c=[];for(const u of(0,o.removeTrailingSlash)(e).slice(1).split("/")){const e=n.INTERCEPTION_ROUTE_MARKERS.find((e=>u.startsWith(e))),o=u.match(a);if(e&&o&&o[2]){const{key:t,optional:n,repeat:a}=E(o[2]);l[t]={pos:s++,repeat:a,optional:n},c.push("/"+(0,r.escapeStringRegexp)(e)+"([^/]+?)")}else if(o&&o[2]){const{key:e,repeat:t,optional:n}=E(o[2]);l[e]={pos:s++,repeat:t,optional:n},i&&o[1]&&c.push("/"+(0,r.escapeStringRegexp)(o[1]));let a=t?n?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)";
|
|
656
|
-
// Remove the leading slash if includePrefix already added it.
|
|
657
|
-
i&&o[1]&&(a=a.substring(1)),c.push(a)}else c.push("/"+(0,r.escapeStringRegexp)(u));
|
|
658
|
-
// If there's a suffix, add it to the segments if it's enabled.
|
|
659
|
-
t&&o&&o[3]&&c.push((0,r.escapeStringRegexp)(o[3]))}return{parameterizedRoute:c.join(""),groups:l}}function s(e,t){let{includeSuffix:n=!1,includePrefix:r=!1,excludeOptionalTrailingSlash:o=!1}=void 0===t?{}:t;const{parameterizedRoute:a,groups:i}=l(e,n,r);let E=a;return o||(E+="(?:/)?"),{re:new RegExp("^"+E+"$"),groups:i}}
|
|
660
|
-
/**
|
|
661
|
-
* Builds a function to generate a minimal routeKey using only a-z and minimal
|
|
662
|
-
* number of characters.
|
|
663
|
-
*/function c(e){let{interceptionMarker:t,getSafeRouteKey:n,segment:o,routeKeys:a,keyPrefix:i,backreferenceDuplicateKeys:l}=e;const{key:s,optional:c,repeat:u}=E(o);
|
|
664
|
-
// replace any non-word characters since they can break
|
|
665
|
-
// the named regex
|
|
666
|
-
let d=s.replace(/\W/g,"");i&&(d=""+i+d);let O=!1;
|
|
667
|
-
// check if the key is still invalid and fallback to using a known
|
|
668
|
-
// safe key
|
|
669
|
-
(0===d.length||d.length>30)&&(O=!0),isNaN(parseInt(d.slice(0,1)))||(O=!0),O&&(d=n());const R=d in a;a[d]=i?""+i+s:s;
|
|
670
|
-
// if the segment has an interception marker, make sure that's part of the regex pattern
|
|
671
|
-
// this is to ensure that the route with the interception marker doesn't incorrectly match
|
|
672
|
-
// the non-intercepted route (ie /app/(.)[username] should not match /app/[username])
|
|
673
|
-
const p=t?(0,r.escapeStringRegexp)(t):"";let S;
|
|
674
|
-
// Use a backreference to the key to ensure that the key is the same value
|
|
675
|
-
// in each of the placeholders.
|
|
676
|
-
return S=R&&l?"\\k<"+d+">":u?"(?<"+d+">.+?)":"(?<"+d+">[^/]+?)",c?"(?:/"+p+S+")?":"/"+p+S}function u(e,i,E,l,s){const u=function(){let e=0;return()=>{let t="",n=++e;for(;n>0;)t+=String.fromCharCode(97+(n-1)%26),n=Math.floor((n-1)/26);return t}}(),d={},O=[];for(const R of(0,o.removeTrailingSlash)(e).slice(1).split("/")){const e=n.INTERCEPTION_ROUTE_MARKERS.some((e=>R.startsWith(e))),o=R.match(a);if(e&&o&&o[2])
|
|
677
|
-
// If there's an interception marker, add it to the segments.
|
|
678
|
-
O.push(c({getSafeRouteKey:u,interceptionMarker:o[1],segment:o[2],routeKeys:d,keyPrefix:i?t.NEXT_INTERCEPTION_MARKER_PREFIX:void 0,backreferenceDuplicateKeys:s}));else if(o&&o[2]){
|
|
679
|
-
// If there's a prefix, add it to the segments if it's enabled.
|
|
680
|
-
l&&o[1]&&O.push("/"+(0,r.escapeStringRegexp)(o[1]));let e=c({getSafeRouteKey:u,segment:o[2],routeKeys:d,keyPrefix:i?t.NEXT_QUERY_PARAM_PREFIX:void 0,backreferenceDuplicateKeys:s});
|
|
681
|
-
// Remove the leading slash if includePrefix already added it.
|
|
682
|
-
l&&o[1]&&(e=e.substring(1)),O.push(e)}else O.push("/"+(0,r.escapeStringRegexp)(R));
|
|
683
|
-
// If there's a suffix, add it to the segments if it's enabled.
|
|
684
|
-
E&&o&&o[3]&&O.push((0,r.escapeStringRegexp)(o[3]))}return{namedParameterizedRoute:O.join(""),routeKeys:d}}function d(e,t){var n,r,o;const a=u(e,t.prefixRouteKeys,null!=(n=t.includeSuffix)&&n,null!=(r=t.includePrefix)&&r,null!=(o=t.backreferenceDuplicateKeys)&&o);let i=a.namedParameterizedRoute;return t.excludeOptionalTrailingSlash||(i+="(?:/)?"),{...s(e,t),namedRegex:"^"+i+"$",routeKeys:a.routeKeys}}function O(e,t){const{parameterizedRoute:n}=l(e,!1,!1),{catchAll:r=!0}=t;if("/"===n){return{namedRegex:"^/"+(r?".*":"")+"$"}}const{namedParameterizedRoute:o}=u(e,!1,!1,!1,!1);return{namedRegex:"^"+o+(r?"(?:(/.*)?)":"")+"$"}}}(Qr)),Qr}function io(){return no||(no=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"interpolateAs",{enumerable:!0,get:function(){return r}});const t=(Kr||(Kr=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getRouteMatcher",{enumerable:!0,get:function(){return n}});const t=Or();function n(e){let{re:n,groups:r}=e;return e=>{const o=n.exec(e);if(!o)return!1;const a=e=>{try{return decodeURIComponent(e)}catch(e){throw Object.defineProperty(new t.DecodeError("failed to decode param"),"__NEXT_ERROR_CODE",{value:"E528",enumerable:!1,configurable:!0})}},i={};for(const[e,t]of Object.entries(r)){const n=o[t.pos];void 0!==n&&(t.repeat?i[e]=n.split("/").map((e=>a(e))):i[e]=a(n))}return i}}}(zr)),zr),n=ao();function r(e,r,o){let a="";const i=(0,n.getRouteRegex)(e),E=i.groups,l=// Try to match the dynamic route against the asPath
|
|
685
|
-
(r!==e?(0,t.getRouteMatcher)(i)(r):"")||// Fall back to reading the values from the href
|
|
686
|
-
// TODO: should this take priority; also need to change in the router.
|
|
687
|
-
o;a=e;const s=Object.keys(E);return s.every((e=>{let t=l[e]||"";const{repeat:n,optional:r}=E[e];
|
|
688
|
-
// support single-level catch-all
|
|
689
|
-
// TODO: more robust handling for user-error (passing `/`)
|
|
690
|
-
let o="["+(n?"...":"")+e+"]";return r&&(o=(t?"":"/")+"["+o+"]"),n&&!Array.isArray(t)&&(t=[t]),(r||e in l)&&(// Interpolate group into data URL if present
|
|
691
|
-
a=a.replace(o,n?t.map((// these values should be fully encoded instead of just
|
|
692
|
-
// path delimiter escaped since they are being inserted
|
|
693
|
-
// into the URL and we expect URL encoded segments
|
|
694
|
-
// when parsing dynamic route params
|
|
695
|
-
e=>encodeURIComponent(e))).join("/"):encodeURIComponent(t))||"/")}))||(a=""),{params:s,result:a}}}(Xr)),Xr}function Eo(){return ro||(ro=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"resolveHref",{enumerable:!0,get:function(){return c}});const n=ar(),r=lr(),o=(sr||(sr=1,function(e){function t(e,t){const n={};return Object.keys(e).forEach((r=>{t.includes(r)||(n[r]=e[r])})),n}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"omit",{enumerable:!0,get:function(){return t}})}(cr)),cr),a=Or(),i=Nr(),E=yr(),l=Jr(),s=io();function c(e,t,c){
|
|
696
|
-
// we use a dummy base url for relative urls
|
|
697
|
-
let u,d="string"==typeof t?t:(0,r.formatWithValidation)(t);
|
|
698
|
-
// repeated slashes and backslashes in the URL are considered
|
|
699
|
-
// invalid and will never match a Next.js page/file
|
|
700
|
-
const O=d.match(/^[a-zA-Z]{1,}:\/\//),R=O?d.slice(O[0].length):d;if((R.split("?",1)[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href '"+d+"' passed to next/router in page: '"+e.pathname+"'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");const t=(0,a.normalizeRepeatedSlashes)(R);d=(O?O[0]:"")+t}
|
|
701
|
-
// Return because it cannot be routed by the Next.js router
|
|
702
|
-
if(!(0,E.isLocalURL)(d))return c?[d]:d;try{u=new URL(d.startsWith("#")?e.asPath:e.pathname,"http://n")}catch(e){
|
|
703
|
-
// fallback to / for invalid asPath values e.g. //
|
|
704
|
-
u=new URL("/","http://n")}try{const e=new URL(d,u);e.pathname=(0,i.normalizePathTrailingSlash)(e.pathname);let t="";if((0,l.isDynamicRoute)(e.pathname)&&e.searchParams&&c){const a=(0,n.searchParamsToUrlQuery)(e.searchParams),{result:i,params:E}=(0,s.interpolateAs)(e.pathname,e.pathname,a);i&&(t=(0,r.formatWithValidation)({pathname:i,hash:e.hash,query:(0,o.omit)(a,E)}))}
|
|
705
|
-
// if the origin didn't change, it means we received a relative href
|
|
706
|
-
const a=e.origin===u.origin?e.href.slice(e.origin.length):e.href;return c?[a,t||a]:a}catch(e){return c?[d]:d}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(rr,rr.exports)),rr.exports}var lo,so,co,uo={exports:{}},Oo={},Ro={};function po(){return lo||(lo=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"addPathPrefix",{enumerable:!0,get:function(){return n}});const t=Tr();function n(e,n){if(!e.startsWith("/")||!n)return e;const{pathname:r,query:o,hash:a}=(0,t.parsePath)(e);return""+n+r+o+a}}(Ro)),Ro}function So(){return so||(so=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"addLocale",{enumerable:!0,get:function(){return r}});const t=po(),n=_r();function r(e,r,o,a){
|
|
707
|
-
// If no locale was given or the locale is the default locale, we don't need
|
|
708
|
-
// to prefix the path.
|
|
709
|
-
if(!r||r===o)return e;const i=e.toLowerCase();
|
|
710
|
-
// If the path is an API path or the path already has the locale prefix, we
|
|
711
|
-
// don't need to prefix the path.
|
|
712
|
-
if(!a){if((0,n.pathHasPrefix)(i,"/api"))return e;if((0,n.pathHasPrefix)(i,"/"+r.toLowerCase()))return e}
|
|
713
|
-
// Add the locale prefix to the path.
|
|
714
|
-
return(0,t.addPathPrefix)(e,"/"+r)}}(Oo)),Oo}var fo,Ao,Co={},Mo={};function To(){if(fo)return Mo;return fo=1,Mo._=function(e){return e&&e.__esModule?e:{default:e}},Mo}function No(){return Ao||(Ao=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"RouterContext",{enumerable:!0,get:function(){return t}});const t=To()._(a).default.createContext(null);"production"!==process.env.NODE_ENV&&(t.displayName="RouterContext")}(Co)),Co}var Io,ho,mo={exports:{}},Do={exports:{}};function bo(){return ho||(ho=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return s}});const n=a,r=(Io||(Io=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{cancelIdleCallback:function(){return r},requestIdleCallback:function(){return n}});const n="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout((function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})}),1)},r="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(Do,Do.exports)),Do.exports),o="function"==typeof IntersectionObserver,i=new Map,E=[];function l(e,t,n){const{id:r,observer:o,elements:a}=function(e){const t={root:e.root||null,margin:e.rootMargin||""},n=E.find((e=>e.root===t.root&&e.margin===t.margin));let r;if(n&&(r=i.get(n),r))return r;const o=new Map,a=new IntersectionObserver((e=>{e.forEach((e=>{const t=o.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)}))}),e);return r={id:t,observer:a,elements:o},E.push(t),i.set(t,r),r}(n);return a.set(e,t),o.observe(e),function(){
|
|
715
|
-
// Destroy observer when there's nothing left to watch:
|
|
716
|
-
if(a.delete(e),o.unobserve(e),0===a.size){o.disconnect(),i.delete(r);const e=E.findIndex((e=>e.root===r.root&&e.margin===r.margin));e>-1&&E.splice(e,1)}}}function s(e){let{rootRef:t,rootMargin:a,disabled:i}=e;const E=i||!o,[s,c]=(0,n.useState)(!1),u=(0,n.useRef)(null),d=(0,n.useCallback)((e=>{u.current=e}),[]);(0,n.useEffect)((()=>{if(o){if(E||s)return;const e=u.current;if(e&&e.tagName){return l(e,(e=>e&&c(e)),{root:null==t?void 0:t.current,rootMargin:a})}}else if(!s){const e=(0,r.requestIdleCallback)((()=>c(!0)));return()=>(0,r.cancelIdleCallback)(e)}
|
|
717
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
718
|
-
}),[E,a,t,s,u.current]);const O=(0,n.useCallback)((()=>{c(!1)}),[]);return[d,s,O]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(mo,mo.exports)),mo.exports}var go,_o,yo={exports:{}},Lo={exports:{}},Po={};function vo(){return go||(go=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"normalizeLocalePath",{enumerable:!0,get:function(){return n}});
|
|
719
|
-
/**
|
|
720
|
-
* A cache of lowercased locales for each list of locales. This is stored as a
|
|
721
|
-
* WeakMap so if the locales are garbage collected, the cache entry will be
|
|
722
|
-
* removed as well.
|
|
723
|
-
*/
|
|
724
|
-
const t=new WeakMap;function n(e,n){
|
|
725
|
-
// If locales is undefined, return the pathname as is.
|
|
726
|
-
if(!n)return{pathname:e};
|
|
727
|
-
// Get the cached lowercased locales or create a new cache entry.
|
|
728
|
-
let r,o=t.get(n);o||(o=n.map((e=>e.toLowerCase())),t.set(n,o));
|
|
729
|
-
// The first segment will be empty, because it has a leading `/`. If
|
|
730
|
-
// there is no further segment, there is no locale (or it's the default).
|
|
731
|
-
const a=e.split("/",2);
|
|
732
|
-
// If there's no second segment (ie, the pathname is just `/`), there's no
|
|
733
|
-
// locale.
|
|
734
|
-
if(!a[1])return{pathname:e};
|
|
735
|
-
// The second segment will contain the locale part if any.
|
|
736
|
-
const i=a[1].toLowerCase(),E=o.indexOf(i);
|
|
737
|
-
// See if the segment matches one of the locales. If it doesn't, there is
|
|
738
|
-
// no locale (or it's the default).
|
|
739
|
-
return E<0?{pathname:e}:(
|
|
740
|
-
// Return the case-sensitive locale.
|
|
741
|
-
r=n[E],{pathname:
|
|
742
|
-
// Remove the `/${locale}` part of the pathname.
|
|
743
|
-
e=e.slice(r.length+1)||"/",detectedLocale:r})}}(Po)),Po}var Fo,xo,Yo,wo={exports:{}},Bo={};function Go(){return Fo||(Fo=1,function(e){function t(e,t,n){if(e){n&&(n=n.toLowerCase());for(const a of e){var r,o;
|
|
744
|
-
// remove port if present
|
|
745
|
-
if(t===(null==(r=a.domain)?void 0:r.split(":",1)[0].toLowerCase())||n===a.defaultLocale.toLowerCase()||(null==(o=a.locales)?void 0:o.some((e=>e.toLowerCase()===n))))return a}}}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"detectDomainLocale",{enumerable:!0,get:function(){return t}})}(Bo)),Bo}function Uo(){return Yo||(Yo=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return o}});const n=Nr(),r=process.env.__NEXT_ROUTER_BASEPATH||"";function o(e,t,o,a){if(process.env.__NEXT_I18N_SUPPORT){const i=(_o||(_o=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return n}});const n=(e,t)=>process.env.__NEXT_I18N_SUPPORT?vo().normalizeLocalePath(e,t):{pathname:e,detectedLocale:void 0};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(Lo,Lo.exports)),Lo.exports).normalizeLocalePath,E=(xo||(xo=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"detectDomainLocale",{enumerable:!0,get:function(){return n}});const n=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(process.env.__NEXT_I18N_SUPPORT)return Go().detectDomainLocale(...t)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(wo,wo.exports)),wo.exports).detectDomainLocale,l=t||i(e,o).detectedLocale,s=E(a,void 0,l);if(s){const t="http"+(s.http?"":"s")+"://",o=l===s.defaultLocale?"":"/"+l;return""+t+s.domain+(0,n.normalizePathTrailingSlash)(""+r+o+e)}return!1}return!1}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(yo,yo.exports)),yo.exports}var $o,Ho={exports:{}};var Wo,ko={exports:{}};function Vo(){return Wo||(Wo=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return r}});const n=a;function r(e,t){const r=(0,n.useRef)(null),a=(0,n.useRef)(null);
|
|
746
|
-
// NOTE: In theory, we could skip the wrapping if only one of the refs is non-null.
|
|
747
|
-
// (this happens often if the user doesn't pass a ref to Link/Form/Image)
|
|
748
|
-
// But this can cause us to leak a cleanup-ref into user code (e.g. via `<Link legacyBehavior>`),
|
|
749
|
-
// and the user might pass that ref into ref-merging library that doesn't support cleanup refs
|
|
750
|
-
// (because it hasn't been updated for React 19)
|
|
751
|
-
// which can then cause things to blow up, because a cleanup-returning ref gets called with `null`.
|
|
752
|
-
// So in practice, it's safer to be defensive and always wrap the ref, even on React 19.
|
|
753
|
-
return(0,n.useCallback)((n=>{if(null===n){const e=r.current;e&&(r.current=null,e());const t=a.current;t&&(a.current=null,t())}else e&&(r.current=o(e,n)),t&&(a.current=o(t,n))}),[e,t])}function o(e,t){if("function"==typeof e){const n=e(t);return"function"==typeof n?n:()=>e(null)}return e.current=t,()=>{e.current=null}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(ko,ko.exports)),ko.exports}var jo,Jo,Ko,Xo,zo={};function qo(){return Jo||(Jo=1,function(t,n){Object.defineProperty(n,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(n,{default:function(){return I},useLinkStatus:function(){return N}});const r=e,o=tr()._(a),i=Eo(),E=yr(),l=lr(),s=Or(),c=(co||(co=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return r}});const n=Nr(),r=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];return process.env.__NEXT_I18N_SUPPORT?(0,n.normalizePathTrailingSlash)(So().addLocale(e,...r)):e};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(uo,uo.exports)),uo.exports),u=No(),d=bo(),O=Uo(),R=($o||($o=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addBasePath",{enumerable:!0,get:function(){return a}});const n=po(),r=Nr(),o=process.env.__NEXT_ROUTER_BASEPATH||"";function a(e,t){return(0,r.normalizePathTrailingSlash)(process.env.__NEXT_MANUAL_CLIENT_BASE_PATH&&!t?e:(0,n.addPathPrefix)(e,o))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(Ho,Ho.exports)),Ho.exports),p=Vo(),S=(jo||(jo=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"errorOnce",{enumerable:!0,get:function(){return t}});let t=e=>{};if("production"!==process.env.NODE_ENV){const e=new Set;t=t=>{e.has(t)||console.error(t),e.add(t)}}}(zo)),zo),f=new Set;function A(e,t,n,r){if("undefined"!=typeof window&&(0,E.isLocalURL)(t)){
|
|
754
|
-
// We should only dedupe requests when experimental.optimisticClientCache is
|
|
755
|
-
// disabled.
|
|
756
|
-
if(!r.bypassPrefetchedCheck){const o=t+"%"+n+"%"+(// Let the link's locale prop override the default router locale.
|
|
757
|
-
void 0!==r.locale?r.locale:"locale"in e?e.locale:void 0);
|
|
758
|
-
// If we've already fetched the key, then don't prefetch it again!
|
|
759
|
-
if(f.has(o))return;
|
|
760
|
-
// Mark this URL as prefetched.
|
|
761
|
-
f.add(o)}
|
|
762
|
-
// Prefetch the JSON page if asked (only in the client)
|
|
763
|
-
// We need to handle a prefetch error here since we may be
|
|
764
|
-
// loading with priority which can reject but we don't
|
|
765
|
-
// want to force navigation since this is only a prefetch
|
|
766
|
-
e.prefetch(t,n,r).catch((e=>{if("production"!==process.env.NODE_ENV)
|
|
767
|
-
// rethrow to show invalid URL errors
|
|
768
|
-
throw e}))}}function C(e){return"string"==typeof e?e:(0,l.formatUrl)(e)}
|
|
769
|
-
/**
|
|
770
|
-
* A React component that extends the HTML `<a>` element to provide [prefetching](https://nextjs.org/docs/app/building-your-application/routing/linking-and-navigating#2-prefetching)
|
|
771
|
-
* and client-side navigation between routes.
|
|
772
|
-
*
|
|
773
|
-
* It is the primary way to navigate between routes in Next.js.
|
|
774
|
-
*
|
|
775
|
-
* Read more: [Next.js docs: `<Link>`](https://nextjs.org/docs/app/api-reference/components/link)
|
|
776
|
-
*/const M=o.default.forwardRef((function(e,t){let n;const{href:a,as:l,children:f,prefetch:M=null,passHref:T,replace:N,shallow:I,scroll:h,locale:m,onClick:D,onNavigate:b,onMouseEnter:g,onTouchStart:_,legacyBehavior:y=!1,...L}=e;n=f,!y||"string"!=typeof n&&"number"!=typeof n||(n=(0,r.jsx)("a",{children:n}));const P=o.default.useContext(u.RouterContext),v=!1!==M;if("production"!==process.env.NODE_ENV){function j(e){return Object.defineProperty(new Error("Failed prop type: The prop `"+e.key+"` expects a "+e.expected+" in `<Link>`, but got `"+e.actual+"` instead."+("undefined"!=typeof window?"\nOpen your browser's console to view the Component stack trace.":"")),"__NEXT_ERROR_CODE",{value:"E319",enumerable:!1,configurable:!0})}
|
|
777
|
-
// TypeScript trick for type-guarding:
|
|
778
|
-
const J={href:!0};Object.keys(J).forEach((t=>{if("href"===t&&(null==e[t]||"string"!=typeof e[t]&&"object"!=typeof e[t]))throw j({key:t,expected:"`string` or `object`",actual:null===e[t]?"null":typeof e[t]})}));
|
|
779
|
-
// TypeScript trick for type-guarding:
|
|
780
|
-
const K={as:!0,replace:!0,scroll:!0,shallow:!0,passHref:!0,prefetch:!0,locale:!0,onClick:!0,onMouseEnter:!0,onTouchStart:!0,legacyBehavior:!0,onNavigate:!0};Object.keys(K).forEach((t=>{const n=typeof e[t];if("as"===t){if(e[t]&&"string"!==n&&"object"!==n)throw j({key:t,expected:"`string` or `object`",actual:n})}else if("locale"===t){if(e[t]&&"string"!==n)throw j({key:t,expected:"`string`",actual:n})}else if("onClick"===t||"onMouseEnter"===t||"onTouchStart"===t||"onNavigate"===t){if(e[t]&&"function"!==n)throw j({key:t,expected:"`function`",actual:n})}else if(("replace"===t||"scroll"===t||"shallow"===t||"passHref"===t||"prefetch"===t||"legacyBehavior"===t)&&null!=e[t]&&"boolean"!==n)throw j({key:t,expected:"`boolean`",actual:n})}))}const{href:F,as:x}=o.default.useMemo((()=>{if(!P){const e=C(a);return{href:e,as:l?C(l):e}}const[e,t]=(0,i.resolveHref)(P,a,!0);return{href:e,as:l?(0,i.resolveHref)(P,l):t||e}}),[P,a,l]),Y=o.default.useRef(F),w=o.default.useRef(x);
|
|
781
|
-
// This will return the first child, if multiple are provided it will throw an error
|
|
782
|
-
let B;if(y)if("development"===process.env.NODE_ENV){D&&console.warn('"onClick" was passed to <Link> with `href` of `'+a+'` but "legacyBehavior" was set. The legacy behavior requires onClick be set on the child of next/link'),g&&console.warn('"onMouseEnter" was passed to <Link> with `href` of `'+a+'` but "legacyBehavior" was set. The legacy behavior requires onMouseEnter be set on the child of next/link');try{B=o.default.Children.only(n)}catch(X){if(!n)throw Object.defineProperty(new Error("No children were passed to <Link> with `href` of `"+a+"` but one child is required https://nextjs.org/docs/messages/link-no-children"),"__NEXT_ERROR_CODE",{value:"E320",enumerable:!1,configurable:!0});throw Object.defineProperty(new Error("Multiple children were passed to <Link> with `href` of `"+a+"` but only one child is supported https://nextjs.org/docs/messages/link-multiple-children"+("undefined"!=typeof window?" \nOpen your browser's console to view the Component stack trace.":"")),"__NEXT_ERROR_CODE",{value:"E266",enumerable:!1,configurable:!0})}}else B=o.default.Children.only(n);else if("development"===process.env.NODE_ENV&&"a"===(null==n?void 0:n.type))throw Object.defineProperty(new Error("Invalid <Link> with <a> child. Please remove <a> or use <Link legacyBehavior>.\nLearn more: https://nextjs.org/docs/messages/invalid-new-link-with-extra-anchor"),"__NEXT_ERROR_CODE",{value:"E209",enumerable:!1,configurable:!0});const G=y?B&&"object"==typeof B&&B.ref:t,[U,$,H]=(0,d.useIntersection)({rootMargin:"200px"}),W=o.default.useCallback((e=>{
|
|
783
|
-
// Before the link getting observed, check if visible state need to be reset
|
|
784
|
-
w.current===x&&Y.current===F||(H(),w.current=x,Y.current=F),U(e)}),[x,F,H,U]),k=(0,p.useMergedRef)(W,G);
|
|
785
|
-
// Prefetch the URL if we haven't already and it's visible.
|
|
786
|
-
o.default.useEffect((()=>{
|
|
787
|
-
// in dev, we only prefetch on hover to avoid wasting resources as the prefetch will trigger compiling the page.
|
|
788
|
-
"production"===process.env.NODE_ENV&&P&&$&&v&&
|
|
789
|
-
// Prefetch the URL.
|
|
790
|
-
A(P,F,x,{locale:m})}),[x,F,$,m,v,null==P?void 0:P.locale,P]);const V={ref:k,onClick(e){if("production"!==process.env.NODE_ENV&&!e)throw Object.defineProperty(new Error('Component rendered inside next/link has to pass click event to "onClick" prop.'),"__NEXT_ERROR_CODE",{value:"E312",enumerable:!1,configurable:!0});y||"function"!=typeof D||D(e),y&&B.props&&"function"==typeof B.props.onClick&&B.props.onClick(e),P&&(e.defaultPrevented||function(e,t,n,r,o,a,i,l,s){const{nodeName:c}=e.currentTarget;
|
|
791
|
-
// anchors inside an svg have a lowercase nodeName
|
|
792
|
-
if("A"===c.toUpperCase()&&function(e){const t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||// triggers resource download
|
|
793
|
-
e.nativeEvent&&2===e.nativeEvent.which}(e)||e.currentTarget.hasAttribute("download"))
|
|
794
|
-
// ignore click for browser’s default behavior
|
|
795
|
-
return;if(!(0,E.isLocalURL)(n))
|
|
796
|
-
// ignore click for browser’s default behavior
|
|
797
|
-
return void(o&&(
|
|
798
|
-
// browser default behavior does not replace the history state
|
|
799
|
-
// so we need to do it manually
|
|
800
|
-
e.preventDefault(),location.replace(n)));e.preventDefault(),(()=>{if(s){let e=!1;if(s({preventDefault:()=>{e=!0}}),e)return}
|
|
801
|
-
// If the router is an NextRouter instance it will have `beforePopState`
|
|
802
|
-
const e=null==i||i;"beforePopState"in t?t[o?"replace":"push"](n,r,{shallow:a,locale:l,scroll:e}):t[o?"replace":"push"](r||n,{scroll:e})})()}(e,P,F,x,N,I,h,m,b))},onMouseEnter(e){y||"function"!=typeof g||g(e),y&&B.props&&"function"==typeof B.props.onMouseEnter&&B.props.onMouseEnter(e),P&&A(P,F,x,{locale:m,priority:!0,
|
|
803
|
-
// @see {https://github.com/vercel/next.js/discussions/40268?sort=top#discussioncomment-3572642}
|
|
804
|
-
bypassPrefetchedCheck:!0})},onTouchStart:process.env.__NEXT_LINK_NO_TOUCH_START?void 0:function(e){y||"function"!=typeof _||_(e),y&&B.props&&"function"==typeof B.props.onTouchStart&&B.props.onTouchStart(e),P&&A(P,F,x,{locale:m,priority:!0,
|
|
805
|
-
// @see {https://github.com/vercel/next.js/discussions/40268?sort=top#discussioncomment-3572642}
|
|
806
|
-
bypassPrefetchedCheck:!0})}};
|
|
807
|
-
// If child is an <a> tag and doesn't have a href attribute, or if the 'passHref' property is
|
|
808
|
-
// defined, we specify the current 'href', so that repetition is not needed by the user.
|
|
809
|
-
// If the url is absolute, we can bypass the logic to prepend the domain and locale.
|
|
810
|
-
if((0,s.isAbsoluteUrl)(x))V.href=x;else if(!y||T||"a"===B.type&&!("href"in B.props)){const z=void 0!==m?m:null==P?void 0:P.locale,q=(null==P?void 0:P.isLocaleDomain)&&(0,O.getDomainLocale)(x,z,null==P?void 0:P.locales,null==P?void 0:P.domainLocales);
|
|
811
|
-
// we only render domain locales if we are currently on a domain locale
|
|
812
|
-
// so that locale links are still visitable in development/preview envs
|
|
813
|
-
V.href=q||(0,R.addBasePath)((0,c.addLocale)(x,z,null==P?void 0:P.defaultLocale))}return y?("development"===process.env.NODE_ENV&&(0,S.errorOnce)("`legacyBehavior` is deprecated and will be removed in a future release. A codemod is available to upgrade your components:\n\nnpx @next/codemod@latest new-link .\n\nLearn more: https://nextjs.org/docs/app/building-your-application/upgrading/codemods#remove-a-tags-from-link-components"),o.default.cloneElement(B,V)):(0,r.jsx)("a",{...L,...V,children:n})})),T=(0,o.createContext)({
|
|
814
|
-
// We do not support link status in the Pages Router, so we always return false
|
|
815
|
-
pending:!1}),N=()=>(0,o.useContext)(T),I=M;("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)}(Zn,Zn.exports)),Zn.exports}var Qo=qn(Xo?Ko:(Xo=1,Ko=qo()));const Zo=({href:e,label:r,className:o,ref:a,onClick:i,variant:E,theme:l,size:s,disabled:c,iconOption:u,iconPosition:d,responsive:O,...R})=>{const{iconKey:p}=u??{};Oe({variant:E,theme:l,size:s});return n(Qo,{"aria-disabled":c,className:W(o,Re({variant:E,theme:l,size:s,disabled:c,iconOption:u,iconPosition:d,responsive:O})),href:e,ref:a,onClick:e=>{c?e.preventDefault():i?.(e)},tabIndex:c?-1:0,...R,children:[p&&t(de,{iconKey:p,size:s,responsive:O}),r]})},ea="button",ta="link",na=({as:e,buttonOption:t,linkOption:n})=>{l((()=>{if(e===ta&&!n)throw new Error('linkOption is required when as prop is set to "link"');if(e===ta&&t)throw new Error('buttonOption cannot be used when as prop is set to "link"');if(e===ea&&n)throw new Error('linkOption cannot be used when as prop is set to "button"')}),[e,n,t])},ra=({as:e=ta,buttonOption:n,linkOption:r,...o})=>(na({as:e,linkOption:r,buttonOption:n}),e===ea&&n?t(pe,{...o,...n}):e===ta&&r?t(Zo,{...o,...r}):void 0),oa=({className:e})=>{const{theme:n,actionOption:r}=j();if(!r)return null;const{label:o,...a}=r;return t(ra,{...a,variant:"text",size:"sm",theme:n,label:o??"확인하기",iconOption:{iconKey:"caret-right"},iconPosition:"right",className:e})},aa={GRAY:"gray",PRIMARY:"primary",GREEN:"green",YELLOW:"yellow",RED:"red"},ia={[aa.GRAY]:"gray-07",[aa.PRIMARY]:"primary-08",[aa.GREEN]:"green-06",[aa.YELLOW]:"yellow-07",[aa.RED]:"red-07"},Ea={[aa.GRAY]:{root:"bg-in-gray-02",icon:"text-in-gray-05"},[aa.PRIMARY]:{root:"bg-in-primary-02",icon:"text-in-primary-04"},[aa.GREEN]:{root:"bg-in-green-02",icon:"text-in-green-03"},[aa.YELLOW]:{root:"bg-in-yellow-02",icon:"text-in-yellow-04"},[aa.RED]:{root:"bg-in-red-02",icon:"text-in-red-03"}},la=({children:e,className:n})=>{const{theme:r,hasTitle:o,collapsible:a,collapsed:i}=j(),E=o&&a;return t("div",{role:"alert",className:W(n,"in-flex-v-stack rounded-in-8 items-start break-keep px-4",o?"py-[0.875rem]":"h-10 justify-center",Ea[r].root,E&&["transition-[max-height] duration-150 ease-out",i?"max-h-[3.375rem]":"max-h-[100svh]"]),"aria-expanded":E?!i:void 0,children:e})},sa={SPAN:"span",P:"p",H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",B:"b",EM:"em",I:"i",PRE:"pre",STRONG:"strong",ABBR:"abbr",SUB:"sub",Q:"q",ADDRESS:"address",CODE:"code",DFN:"dfn",MARK:"mark",SMALL:"small",SUP:"sup",TIME:"time",FIGCAPTION:"figcaption"},ca=({as:e,variant:n,color:r,className:o,children:a,title:i,id:E,hidden:l,"aria-live":s,role:c})=>t(e||sa.SPAN,{className:W(o,n&&Kn[n],r?Hn.TEXT[r]:"text-inherit",l&&"sr-only"),id:E,title:i,role:c,"aria-live":s,children:a}),ua=({description:e})=>{const{theme:n}=j();return t(ca,{as:"p",variant:"body-14-r",color:ia[n],children:e})},da=()=>{const{setVisible:e}=j();return t(zn,{iconKey:"x",arialLabel:"닫기",theme:"hover-white",onClick:()=>e(!1)})},Oa=()=>{const{theme:e,collapsible:n,collapsed:r,setCollapsed:o}=j();return n?t(pe,{label:r?"펼치기":"접기",variant:"text",size:"xs",theme:e,iconOption:{iconKey:r?"caret-down":"caret-up"},iconPosition:"right",onClick:()=>o((e=>!e))}):null},Ra=({iconOption:e})=>{const{theme:n,hasTitle:r}=j();return t(ue,{className:W(Ea[n].icon,r?"text-[1.25rem]":"text-[1.125rem]"),iconKey:e?.iconKey??"info",weight:"fill"})},pa=({heading:e,iconOption:r})=>{const{theme:o,hasTitle:a,collapsible:i,useClose:E,actionOption:l}=j(),s=i||E||l,c=n("div",{className:"in-flex-h-stack w-full items-center gap-x-1.5 overflow-hidden",children:[t(Ra,{iconOption:r}),t(ca,{as:a?"strong":"p",variant:a?"body-14-b":"body-14-m",color:ia[o],className:"truncate",children:e})]});return s?n("div",{className:"in-flex-h-stack w-full items-center justify-between",children:[c,!a&&t(oa,{}),a&&t(Oa,{}),E&&t(da,{})]}):c},Sa=({title:e,content:r,theme:o=aa.PRIMARY,collapsible:a=!1,useClose:i=!1,actionOption:E,iconOption:l,className:s})=>{const[u,d]=c(!1),[O,R]=c(!0),p=!!e;return O?t(V,{hasTitle:p,theme:o,collapsible:a,actionOption:E,useClose:i,collapsed:u,setCollapsed:d,setVisible:R,children:n(la,{className:s,children:[t(pa,{heading:e??r,iconOption:l}),p&&n("div",{className:W("pl-[1.625rem] transition-opacity",u?"opacity-0":"opacity-100"),"aria-hidden":u,children:[t(ua,{description:r}),t(oa,{className:"mt-1 w-fit"})]})]})}):null},fa={SINGLE:"single",GROUP:"group"},Aa={SM:"sm",MD:"md"},Ca={PRIMARY:"primary",GRAY:"gray"},Ma={[Aa.SM]:"w-8 h-8 rounded-in-12 border-2 border-in-white",[Aa.MD]:"w-10 h-10 rounded-in-16"},Ta={[Aa.SM]:{width:32,height:32},[Aa.MD]:{width:40,height:40}},Na={[fa.SINGLE]:"user",[fa.GROUP]:"users-three"},Ia={[fa.SINGLE]:{[Aa.SM]:"text-[0.875rem]",[Aa.MD]:"text-[1.125rem]"},[fa.GROUP]:{[Aa.SM]:"text-[1rem]",[Aa.MD]:"text-[1.25rem]"}},ha={[Ca.PRIMARY]:"text-in-primary-04 bg-in-primary-02",[Ca.GRAY]:"bg-in-gray-02 text-in-gray-06"},ma={DIV:"div",SECTION:"section",ARTICLE:"article",NAV:"nav",ASIDE:"aside",MAIN:"main",HEADER:"header",FOOTER:"footer",FORM:"form",FIELDSET:"fieldset",ADDRESS:"address",FIGURE:"figure",DETAILS:"details",DIALOG:"dialog"},Da={ROW:"row",COLUMN:"column",ROW_REVERSE:"row-reverse",COLUMN_REVERSE:"column-reverse"},ba={[Da.ROW]:"flex-row",[Da.COLUMN]:"flex-col",[Da.ROW_REVERSE]:"flex-row-reverse",[Da.COLUMN_REVERSE]:"flex-col-reverse"},ga={START:"start",END:"end",END_SAFE:"end-safe",CENTER:"center",CENTER_SAFE:"center-safe",BASELINE:"baseline",BASELINE_LAST:"baseline-last",STRETCH:"stretch"},_a={[ga.START]:"items-start",[ga.END]:"items-end",[ga.END_SAFE]:"items-end-safe",[ga.CENTER]:"items-center",[ga.CENTER_SAFE]:"items-center-safe",[ga.BASELINE]:"items-baseline",[ga.BASELINE_LAST]:"items-baseline-last",[ga.STRETCH]:"items-stretch"},ya={NORMAL:"normal",CENTER:"center",START:"start",END:"end",BETWEEN:"between",AROUND:"around",EVENLY:"evenly",BASELINE:"baseline",STRETCH:"stretch"},La={[ya.NORMAL]:"content-normal",[ya.CENTER]:"content-center",[ya.START]:"content-start",[ya.END]:"content-end",[ya.BETWEEN]:"content-between",[ya.AROUND]:"content-around",[ya.EVENLY]:"content-evenly",[ya.BASELINE]:"content-baseline",[ya.STRETCH]:"content-stretch"},Pa={AUTO:"auto",START:"start",END:"end",END_SAFE:"end-safe",CENTER:"center",CENTER_SAFE:"center-safe",STRETCH:"stretch",BASELINE:"baseline",BASELINE_LAST:"baseline-last"},va={[Pa.AUTO]:"self-auto",[Pa.START]:"self-start",[Pa.END]:"self-end",[Pa.END_SAFE]:"self-end-safe",[Pa.CENTER]:"self-center",[Pa.CENTER_SAFE]:"self-center-safe",[Pa.STRETCH]:"self-stretch",[Pa.BASELINE]:"self-baseline",[Pa.BASELINE_LAST]:"self-baseline-last"},Fa={CONTENT:"content",SELF:"self",ITEMS:"items"},xa={[Fa.CONTENT]:La,[Fa.SELF]:va,[Fa.ITEMS]:_a},Ya={START:"start",END:"end",END_SAFE:"end-safe",CENTER:"center",CENTER_SAFE:"center-safe",BETWEEN:"between",AROUND:"around",EVENLY:"evenly",STRETCH:"stretch",BASELINE:"baseline",NORMAL:"normal"},wa={[Ya.START]:"justify-start",[Ya.END]:"justify-end",[Ya.END_SAFE]:"justify-end-safe",[Ya.CENTER]:"justify-center",[Ya.CENTER_SAFE]:"justify-center-safe",[Ya.BETWEEN]:"justify-between",[Ya.AROUND]:"justify-around",[Ya.EVENLY]:"justify-evenly",[Ya.STRETCH]:"justify-stretch",[Ya.BASELINE]:"justify-baseline",[Ya.NORMAL]:"justify-normal"},Ba={START:"start",END:"end",END_SAFE:"end-safe",CENTER:"center",CENTER_SAFE:"center-safe",STRETCH:"stretch",NORMAL:"normal"},Ga={[Ba.START]:"justify-items-start",[Ba.END]:"justify-items-end",[Ba.END_SAFE]:"justify-items-end-safe",[Ba.CENTER]:"justify-items-center",[Ba.CENTER_SAFE]:"justify-items-center-safe",[Ba.STRETCH]:"justify-items-stretch",[Ba.NORMAL]:"justify-items-normal"},Ua={AUTO:"auto",START:"start",CENTER:"center",CENTER_SAFE:"center-safe",END:"end",END_SAFE:"end-safe",STRETCH:"stretch"},$a={[Ua.AUTO]:"justify-self-auto",[Ua.START]:"justify-self-start",[Ua.CENTER]:"justify-self-center",[Ua.CENTER_SAFE]:"justify-self-center-safe",[Ua.END]:"justify-self-end",[Ua.END_SAFE]:"justify-self-end-safe",[Ua.STRETCH]:"justify-self-stretch"},Ha={CONTENT:"content",ITEMS:"items",SELF:"self"},Wa={[Ha.CONTENT]:wa,[Ha.ITEMS]:Ga,[Ha.SELF]:$a},ka={NONE:"0",ONE:"1",TWO:"2",THREE:"3",FOUR:"4",FIVE:"5",SIX:"6",SEVEN:"7",EIGHT:"8",NINE:"9",TEN:"10",ELEVEN:"11",TWELVE:"12",THIRTEEN:"13",FOURTEEN:"14",FIFTEEN:"15"},Va={[ka.NONE]:"gap-0",[ka.ONE]:"gap-1",[ka.TWO]:"gap-2",[ka.THREE]:"gap-3",[ka.FOUR]:"gap-4",[ka.FIVE]:"gap-5",[ka.SIX]:"gap-6",[ka.SEVEN]:"gap-7",[ka.EIGHT]:"gap-8",[ka.NINE]:"gap-9",[ka.TEN]:"gap-10",[ka.ELEVEN]:"gap-11",[ka.TWELVE]:"gap-12",[ka.THIRTEEN]:"gap-13",[ka.FOURTEEN]:"gap-14",[ka.FIFTEEN]:"gap-15"},ja={[ka.NONE]:"gap-y-0",[ka.ONE]:"gap-y-1",[ka.TWO]:"gap-y-2",[ka.THREE]:"gap-y-3",[ka.FOUR]:"gap-y-4",[ka.FIVE]:"gap-y-5",[ka.SIX]:"gap-y-6",[ka.SEVEN]:"gap-y-7",[ka.EIGHT]:"gap-y-8",[ka.NINE]:"gap-y-9",[ka.TEN]:"gap-y-10",[ka.ELEVEN]:"gap-y-11",[ka.TWELVE]:"gap-y-12",[ka.THIRTEEN]:"gap-y-13",[ka.FOURTEEN]:"gap-y-14",[ka.FIFTEEN]:"gap-y-15"},Ja={[ka.NONE]:"gap-x-0",[ka.ONE]:"gap-x-1",[ka.TWO]:"gap-x-2",[ka.THREE]:"gap-x-3",[ka.FOUR]:"gap-x-4",[ka.FIVE]:"gap-x-5",[ka.SIX]:"gap-x-6",[ka.SEVEN]:"gap-x-7",[ka.EIGHT]:"gap-x-8",[ka.NINE]:"gap-x-9",[ka.TEN]:"gap-x-10",[ka.ELEVEN]:"gap-x-11",[ka.TWELVE]:"gap-x-12",[ka.THIRTEEN]:"gap-x-13",[ka.FOURTEEN]:"gap-x-14",[ka.FIFTEEN]:"gap-x-15"},Ka={column:ja,row:Ja},Xa={NOWRAP:"nowrap",WRAP:"wrap",WRAP_REVERSE:"wrap-reverse"},za={[Xa.NOWRAP]:"flex-nowrap",[Xa.WRAP]:"flex-wrap",[Xa.WRAP_REVERSE]:"flex-wrap-reverse"},qa={NONE:"0",ONE:"1",TWO:"2",THREE:"3",FOUR:"4",FIVE:"5"},Qa={[qa.NONE]:"shrink-0",[qa.ONE]:"shrink-1",[qa.TWO]:"shrink-2",[qa.THREE]:"shrink-3",[qa.FOUR]:"shrink-4",[qa.FIVE]:"shrink-5"},Za={NONE:"0",ONE:"1",TWO:"2",THREE:"3",FOUR:"4",FIVE:"5"},ei={[Za.NONE]:"grow-0",[Za.ONE]:"grow-1",[Za.TWO]:"grow-2",[Za.THREE]:"grow-3",[Za.FOUR]:"grow-4",[Za.FIVE]:"grow-5"},ti={FIRST:"1",SECOND:"2",THIRD:"3",FOURTH:"4",FIFTH:"5"},ni={[ti.FIRST]:"order-1",[ti.SECOND]:"order-2",[ti.THIRD]:"order-3",[ti.FOURTH]:"order-4",[ti.FIFTH]:"order-5"},ri={FIRST:"1",SECOND:"2",THIRD:"3",FOURTH:"4",FIFTH:"5"},oi={[ri.FIRST]:"basis-1",[ri.SECOND]:"basis-2",[ri.THIRD]:"basis-3",[ri.FOURTH]:"basis-4",[ri.FIFTH]:"basis-5"},ai={NONE:"0",ONE:"1",TWO:"2",THREE:"3",FOUR:"4",FIVE:"5"},ii={[ai.NONE]:"flex-none",[ai.ONE]:"flex-1",[ai.TWO]:"flex-2",[ai.THREE]:"flex-3",[ai.FOUR]:"flex-4",[ai.FIVE]:"flex-5"},Ei=({as:e,children:n,className:r,...o})=>t(e||ma.DIV,{className:W(r,"flex",...(({options:e})=>{const{direction:t=Da.ROW,align:n,justify:r,gap:o,wrap:a,basis:i,shrink:E,grow:l,flex:s,order:c}=e,u=[ba[t],a&&za[a],i&&oi[i],E&&Qa[E],l&&ei[l],s&&ii[s],c&&ni[c]].filter(Boolean);if(o&&("number"==typeof o&&u.push(Va[o]),o instanceof Object)){const{column:e,row:t}=o;e&&u.push(Ka.column[e]),t&&u.push(Ka.row[t])}return n&&Object.entries(n).forEach((([e,t])=>{e&&t&&u.push(xa[e][t])})),r&&Object.entries(r).forEach((([e,t])=>{e&&t&&u.push(Wa[e][t])})),u})({options:o})),children:n}),li=({size:e,theme:n,children:r,className:o})=>t(Ei,{className:W(o,Ma[e],ha[n],"overflow-hidden"),align:{items:"center"},justify:{content:"center"},children:r});var si,ci={},ui={},di={};function Oi(){return si||(si=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"warnOnce",{enumerable:!0,get:function(){return t}});let t=e=>{};if("production"!==process.env.NODE_ENV){const e=new Set;t=t=>{e.has(t)||console.warn(t),e.add(t)}}}(di)),di}var Ri,pi={};
|
|
816
|
-
/**
|
|
817
|
-
* A shared function, used on both client and server, to generate a SVG blur placeholder.
|
|
818
|
-
*/var Si,fi,Ai={};function Ci(){return Si||(Si=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(e,{VALID_LOADERS:function(){return t},imageConfigDefault:function(){return n}});const t=["default","imgix","cloudinary","akamai","custom"],n={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:void 0,unoptimized:!1}}(Ai)),Ai}function Mi(){return fi||(fi=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getImgProps",{enumerable:!0,get:function(){return u}});const t=Oi(),n=(Ri||(Ri=1,function(e){function t(e){let{widthInt:t,heightInt:n,blurWidth:r,blurHeight:o,blurDataURL:a,objectFit:i}=e;const E=r?40*r:t,l=o?40*o:n,s=E&&l?"viewBox='0 0 "+E+" "+l+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+s+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(s?"none":"contain"===i?"xMidYMid":"cover"===i?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+a+"'/%3E%3C/svg%3E"}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getImageBlurSvg",{enumerable:!0,get:function(){return t}})}(pi)),pi),r=Ci(),o=["lazy","eager",void 0],a=["-moz-initial","fill","none","scale-down",void 0];function i(e){return void 0!==e.default}const E=new Map;let l;function s(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function c(e){let{config:t,src:n,unoptimized:r,width:o,quality:a,sizes:i,loader:E}=e;if(r)return{src:n,srcSet:void 0,sizes:void 0};const{widths:l,kind:s}=function(e,t,n){let{deviceSizes:r,allSizes:o}=e;if(n){
|
|
819
|
-
// Find all the "vw" percent sizes used in the sizes prop
|
|
820
|
-
const e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let r;r=e.exec(n);r)t.push(parseInt(r[2]));if(t.length){const e=.01*Math.min(...t);return{widths:o.filter((t=>t>=r[0]*e)),kind:"w"}}return{widths:o,kind:"w"}}return"number"!=typeof t?{widths:r,kind:"w"}:{widths:[...new Set(// > This means that most OLED screens that say they are 3x resolution,
|
|
821
|
-
// > are actually 3x in the green color, but only 1.5x in the red and
|
|
822
|
-
// > blue colors. Showing a 3x resolution image in the app vs a 2x
|
|
823
|
-
// > resolution image will be visually the same, though the 3x image
|
|
824
|
-
// > takes significantly more data. Even true 3x resolution screens are
|
|
825
|
-
// > wasteful as the human eye cannot see that level of detail without
|
|
826
|
-
// > something like a magnifying glass.
|
|
827
|
-
// https://blog.twitter.com/engineering/en_us/topics/infrastructure/2019/capping-image-fidelity-on-ultra-high-resolution-devices.html
|
|
828
|
-
[t,2/*, width * 3*/*t].map((e=>o.find((t=>t>=e))||o[o.length-1])))],kind:"x"}}(t,o,i),c=l.length-1;return{sizes:i||"w"!==s?i:"100vw",srcSet:l.map(((e,r)=>E({config:t,src:n,quality:a,width:e})+" "+("w"===s?e:r+1)+s)).join(", "),
|
|
829
|
-
// It's intended to keep `src` the last attribute because React updates
|
|
830
|
-
// attributes in order. If we keep `src` the first one, Safari will
|
|
831
|
-
// immediately start to fetch `src`, before `sizes` and `srcSet` are even
|
|
832
|
-
// updated by React. That causes multiple unnecessary requests if `srcSet`
|
|
833
|
-
// and `sizes` are defined.
|
|
834
|
-
// This bug cannot be reproduced in Chrome or Firefox.
|
|
835
|
-
src:E({config:t,src:n,quality:a,width:l[c]})}}function u(e,u){let{src:d,sizes:O,unoptimized:R=!1,priority:p=!1,loading:S,className:f,quality:A,width:C,height:M,fill:T=!1,style:N,overrideSrc:I,onLoad:h,onLoadingComplete:m,placeholder:D="empty",blurDataURL:b,fetchPriority:g,decoding:_="async",layout:y,objectFit:L,objectPosition:P,lazyBoundary:v,lazyRoot:F,...x}=e;const{imgConf:Y,showAltText:w,blurComplete:B,defaultLoader:G}=u;let U,$=Y||r.imageConfigDefault;if("allSizes"in $)U=$;else{var H;const e=[...$.deviceSizes,...$.imageSizes].sort(((e,t)=>e-t)),t=$.deviceSizes.sort(((e,t)=>e-t)),n=null==(H=$.qualities)?void 0:H.sort(((e,t)=>e-t));U={...$,allSizes:e,deviceSizes:t,qualities:n}}if(void 0===G)throw Object.defineProperty(new Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let W=x.loader||G;
|
|
836
|
-
// Remove property so it's not spread on <img> element
|
|
837
|
-
delete x.loader,delete x.srcSet;
|
|
838
|
-
// This special value indicates that the user
|
|
839
|
-
// didn't define a "loader" prop or "loader" config.
|
|
840
|
-
const k="__next_img_default"in W;if(k){if("custom"===U.loader)throw Object.defineProperty(new Error('Image with src "'+d+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader'),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{
|
|
841
|
-
// The user defined a "loader" prop or config.
|
|
842
|
-
// Since the config object is internal only, we
|
|
843
|
-
// must not pass it to the user-defined "loader".
|
|
844
|
-
const e=W;W=t=>{const{config:n,...r}=t;return e(r)}}if(y){"fill"===y&&(T=!0);const e={responsive:"100vw",fill:"100vw"},t={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[y];t&&(N={...N,...t});const n=e[y];n&&!O&&(O=n)}let V,j,J="",K=s(C),X=s(M);if(function(e){return!!e&&"object"==typeof e&&(i(e)||function(e){return void 0!==e.src}(e))}(d)){const e=i(d)?d.default:d;if(!e.src)throw Object.defineProperty(new Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e)),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!e.height||!e.width)throw Object.defineProperty(new Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e)),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(V=e.blurWidth,j=e.blurHeight,b=b||e.blurDataURL,J=e.src,!T)if(K||X){if(K&&!X){const t=K/e.width;X=Math.round(e.height*t)}else if(!K&&X){const t=X/e.height;K=Math.round(e.width*t)}}else K=e.width,X=e.height}d="string"==typeof d?d:J;let z=!p&&("lazy"===S||void 0===S);(!d||d.startsWith("data:")||d.startsWith("blob:"))&&(
|
|
845
|
-
// https://developer.mozilla.org/docs/Web/HTTP/Basics_of_HTTP/Data_URIs
|
|
846
|
-
R=!0,z=!1),U.unoptimized&&(R=!0),k&&!U.dangerouslyAllowSVG&&d.split("?",1)[0].endsWith(".svg")&&(
|
|
847
|
-
// Special case to make svg serve as-is to avoid proxying
|
|
848
|
-
// through the built-in Image Optimization API.
|
|
849
|
-
R=!0);const q=s(A);if("production"!==process.env.NODE_ENV){if("export"===U.output&&k&&!R)throw Object.defineProperty(new Error("Image Optimization using the default loader is not compatible with `{ output: 'export' }`.\n Possible solutions:\n - Remove `{ output: 'export' }` and run \"next start\" to run server mode including the Image Optimization API.\n - Configure `{ images: { unoptimized: true } }` in `next.config.js` to disable the Image Optimization API.\n Read more: https://nextjs.org/docs/messages/export-image-api"),"__NEXT_ERROR_CODE",{value:"E500",enumerable:!1,configurable:!0});if(d)if(T){if(C)throw Object.defineProperty(new Error('Image with src "'+d+'" has both "width" and "fill" properties. Only one should be used.'),"__NEXT_ERROR_CODE",{value:"E96",enumerable:!1,configurable:!0});if(M)throw Object.defineProperty(new Error('Image with src "'+d+'" has both "height" and "fill" properties. Only one should be used.'),"__NEXT_ERROR_CODE",{value:"E115",enumerable:!1,configurable:!0});if((null==N?void 0:N.position)&&"absolute"!==N.position)throw Object.defineProperty(new Error('Image with src "'+d+'" has both "fill" and "style.position" properties. Images with "fill" always use position absolute - it cannot be modified.'),"__NEXT_ERROR_CODE",{value:"E216",enumerable:!1,configurable:!0});if((null==N?void 0:N.width)&&"100%"!==N.width)throw Object.defineProperty(new Error('Image with src "'+d+'" has both "fill" and "style.width" properties. Images with "fill" always use width 100% - it cannot be modified.'),"__NEXT_ERROR_CODE",{value:"E73",enumerable:!1,configurable:!0});if((null==N?void 0:N.height)&&"100%"!==N.height)throw Object.defineProperty(new Error('Image with src "'+d+'" has both "fill" and "style.height" properties. Images with "fill" always use height 100% - it cannot be modified.'),"__NEXT_ERROR_CODE",{value:"E404",enumerable:!1,configurable:!0})}else{if(void 0===K)throw Object.defineProperty(new Error('Image with src "'+d+'" is missing required "width" property.'),"__NEXT_ERROR_CODE",{value:"E451",enumerable:!1,configurable:!0});if(isNaN(K))throw Object.defineProperty(new Error('Image with src "'+d+'" has invalid "width" property. Expected a numeric value in pixels but received "'+C+'".'),"__NEXT_ERROR_CODE",{value:"E66",enumerable:!1,configurable:!0});if(void 0===X)throw Object.defineProperty(new Error('Image with src "'+d+'" is missing required "height" property.'),"__NEXT_ERROR_CODE",{value:"E397",enumerable:!1,configurable:!0});
|
|
850
|
-
// eslint-disable-next-line no-control-regex
|
|
851
|
-
if(isNaN(X))throw Object.defineProperty(new Error('Image with src "'+d+'" has invalid "height" property. Expected a numeric value in pixels but received "'+M+'".'),"__NEXT_ERROR_CODE",{value:"E444",enumerable:!1,configurable:!0});if(/^[\x00-\x20]/.test(d))throw Object.defineProperty(new Error('Image with src "'+d+'" cannot start with a space or control character. Use src.trimStart() to remove it or encodeURIComponent(src) to keep it.'),"__NEXT_ERROR_CODE",{value:"E176",enumerable:!1,configurable:!0});
|
|
852
|
-
// eslint-disable-next-line no-control-regex
|
|
853
|
-
if(/[\x00-\x20]$/.test(d))throw Object.defineProperty(new Error('Image with src "'+d+'" cannot end with a space or control character. Use src.trimEnd() to remove it or encodeURIComponent(src) to keep it.'),"__NEXT_ERROR_CODE",{value:"E21",enumerable:!1,configurable:!0})}else
|
|
854
|
-
// React doesn't show the stack trace and there's
|
|
855
|
-
// no `src` to help identify which image, so we
|
|
856
|
-
// instead console.error(ref) during mount.
|
|
857
|
-
R=!0;if(!o.includes(S))throw Object.defineProperty(new Error('Image with src "'+d+'" has invalid "loading" property. Provided "'+S+'" should be one of '+o.map(String).join(",")+"."),"__NEXT_ERROR_CODE",{value:"E357",enumerable:!1,configurable:!0});if(p&&"lazy"===S)throw Object.defineProperty(new Error('Image with src "'+d+'" has both "priority" and "loading=\'lazy\'" properties. Only one should be used.'),"__NEXT_ERROR_CODE",{value:"E218",enumerable:!1,configurable:!0});if("empty"!==D&&"blur"!==D&&!D.startsWith("data:image/"))throw Object.defineProperty(new Error('Image with src "'+d+'" has invalid "placeholder" property "'+D+'".'),"__NEXT_ERROR_CODE",{value:"E431",enumerable:!1,configurable:!0});if("empty"!==D&&K&&X&&K*X<1600&&(0,t.warnOnce)('Image with src "'+d+'" is smaller than 40x40. Consider removing the "placeholder" property to improve performance.'),"blur"===D&&!b){const e=["jpeg","png","webp","avif"];throw Object.defineProperty(new Error('Image with src "'+d+'" has "placeholder=\'blur\'" property but is missing the "blurDataURL" property.\n Possible solutions:\n - Add a "blurDataURL" property, the contents should be a small Data URL to represent the image\n - Change the "src" property to a static import with one of the supported file types: '+e.join(",")+' (animated images not supported)\n - Remove the "placeholder" property, effectively no blur effect\n Read more: https://nextjs.org/docs/messages/placeholder-blur-data-url'),"__NEXT_ERROR_CODE",{value:"E371",enumerable:!1,configurable:!0})}if("ref"in x&&(0,t.warnOnce)('Image with src "'+d+'" is using unsupported "ref" property. Consider using the "onLoad" property instead.'),!R&&!k){const e=W({config:U,src:d,width:K||400,quality:q||75});let n;try{n=new URL(e)}catch(e){}(e===d||n&&n.pathname===d&&!n.search)&&(0,t.warnOnce)('Image with src "'+d+'" has a "loader" property that does not implement width. Please implement it or use the "unoptimized" property instead.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader-width')}m&&(0,t.warnOnce)('Image with src "'+d+'" is using deprecated "onLoadingComplete" property. Please use the "onLoad" property instead.');for(const[e,n]of Object.entries({layout:y,objectFit:L,objectPosition:P,lazyBoundary:v,lazyRoot:F}))n&&(0,t.warnOnce)('Image with src "'+d+'" has legacy prop "'+e+'". Did you forget to run the codemod?\nRead more: https://nextjs.org/docs/messages/next-image-upgrade-to-13');if("undefined"!=typeof window&&!l&&window.PerformanceObserver){l=new PerformanceObserver((e=>{for(const r of e.getEntries()){var n;
|
|
858
|
-
// @ts-ignore - missing "LargestContentfulPaint" class with "element" prop
|
|
859
|
-
const e=(null==r||null==(n=r.element)?void 0:n.src)||"",o=E.get(e);!o||o.priority||"empty"!==o.placeholder||o.src.startsWith("data:")||o.src.startsWith("blob:")||
|
|
860
|
-
// https://web.dev/lcp/#measure-lcp-in-javascript
|
|
861
|
-
// https://web.dev/lcp/#measure-lcp-in-javascript
|
|
862
|
-
(0,t.warnOnce)('Image with src "'+o.src+'" was detected as the Largest Contentful Paint (LCP). Please add the "priority" property if this image is above the fold.\nRead more: https://nextjs.org/docs/api-reference/next/image#priority')}}));try{l.observe({type:"largest-contentful-paint",buffered:!0})}catch(e){
|
|
863
|
-
// Log error but don't crash the app
|
|
864
|
-
console.error(e)}}}const Q=Object.assign(T?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:L,objectPosition:P}:{},w?{}:{color:"transparent"},N),Z=B||"empty"===D?null:"blur"===D?'url("data:image/svg+xml;charset=utf-8,'+(0,n.getImageBlurSvg)({widthInt:K,heightInt:X,blurWidth:V,blurHeight:j,blurDataURL:b||"",objectFit:Q.objectFit})+'")':'url("'+D+'")',ee=a.includes(Q.objectFit)?"fill"===Q.objectFit?"100% 100%":"cover":Q.objectFit;let te=Z?{backgroundSize:ee,backgroundPosition:Q.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:Z}:{};"development"===process.env.NODE_ENV&&te.backgroundImage&&"blur"===D&&(null==b?void 0:b.startsWith("/"))&&(
|
|
865
|
-
// During `next dev`, we don't want to generate blur placeholders with webpack
|
|
866
|
-
// because it can delay starting the dev server. Instead, `next-image-loader.js`
|
|
867
|
-
// will inline a special url to lazily generate the blur placeholder at request time.
|
|
868
|
-
te.backgroundImage='url("'+b+'")');const ne=c({config:U,src:d,unoptimized:R,width:K,quality:q,sizes:O,loader:W});if("production"!==process.env.NODE_ENV&&"undefined"!=typeof window){let e;try{e=new URL(ne.src)}catch(t){e=new URL(ne.src,window.location.href)}E.set(e.href,{src:d,priority:p,placeholder:D})}return{props:{...x,loading:z?"lazy":S,fetchPriority:g,width:K,height:X,decoding:_,className:f,style:{...Q,...te},sizes:ne.sizes,srcSet:ne.srcSet,src:I||ne.src},meta:{unoptimized:R,priority:p,placeholder:D,fill:T}}}}(ui)),ui}var Ti,Ni={exports:{}},Ii={exports:{}},hi={};var mi,Di={};var bi,gi={};var _i,yi,Li={};function Pi(){return yi||(yi=1,function(t,n){Object.defineProperty(n,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(n,{default:function(){return S},defaultHead:function(){return d}});const r=To(),o=e,i=tr()._(a),E=r._((Ti||(Ti=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return i}});const t=a,n="undefined"==typeof window,r=n?()=>{}:t.useLayoutEffect,o=n?()=>{}:t.useEffect;function i(e){const{headManager:a,reduceComponentsToState:i}=e;function E(){if(a&&a.mountedInstances){const n=t.Children.toArray(Array.from(a.mountedInstances).filter(Boolean));a.updateHead(i(n,e))}}var l;return n&&(null==a||null==(l=a.mountedInstances)||l.add(e.children),E()),r((()=>{var t;return null==a||null==(t=a.mountedInstances)||t.add(e.children),()=>{var t;null==a||null==(t=a.mountedInstances)||t.delete(e.children)}})),
|
|
869
|
-
// We need to call `updateHead` method whenever the `SideEffect` is trigger in all
|
|
870
|
-
// life-cycles: mount, update, unmount. However, if there are multiple `SideEffect`s
|
|
871
|
-
// being rendered, we only trigger the method from the last one.
|
|
872
|
-
// This is ensured by keeping the last unflushed `updateHead` in the `_pendingUpdate`
|
|
873
|
-
// singleton in the layout effect pass, and actually trigger it in the effect pass.
|
|
874
|
-
r((()=>(a&&(a._pendingUpdate=E),()=>{a&&(a._pendingUpdate=E)}))),o((()=>(a&&a._pendingUpdate&&(a._pendingUpdate(),a._pendingUpdate=null),()=>{a&&a._pendingUpdate&&(a._pendingUpdate(),a._pendingUpdate=null)}))),null}}(hi)),hi)),l=(mi||(mi=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"AmpStateContext",{enumerable:!0,get:function(){return t}});const t=To()._(a).default.createContext({});"production"!==process.env.NODE_ENV&&(t.displayName="AmpStateContext")}(Di)),Di),s=(bi||(bi=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"HeadManagerContext",{enumerable:!0,get:function(){return t}});const t=To()._(a).default.createContext({});"production"!==process.env.NODE_ENV&&(t.displayName="HeadManagerContext")}(gi)),gi),c=(_i||(_i=1,function(e){function t(e){let{ampFirst:t=!1,hybrid:n=!1,hasQuery:r=!1}=void 0===e?{}:e;return t||n&&r}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isInAmpMode",{enumerable:!0,get:function(){return t}})}(Li)),Li),u=Oi();function d(e){void 0===e&&(e=!1);const t=[
|
|
875
|
-
|
|
876
|
-
(0,o.jsx)("meta",{charSet:"utf-8"},"charset")];return e||t.push((0,o.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")),t}function O(e,t){
|
|
877
|
-
// React children can be "string" or "number" in this case we ignore them for backwards compat
|
|
878
|
-
return"string"==typeof t||"number"==typeof t?e:
|
|
879
|
-
// Adds support for React.Fragment
|
|
880
|
-
t.type===i.default.Fragment?e.concat(// @ts-expect-error @types/react does not remove fragments but this could also return ReactPortal[]
|
|
881
|
-
i.default.Children.toArray(t.props.children).reduce((// @ts-expect-error @types/react does not remove fragments but this could also return ReactPortal[]
|
|
882
|
-
(e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t)),[])):e.concat(t)}const R=["name","httpEquiv","charSet","itemProp"];
|
|
883
|
-
/*
|
|
884
|
-
returns a function for filtering head child elements
|
|
885
|
-
which shouldn't be duplicated, like <title/>
|
|
886
|
-
Also adds support for deduplicated `key` properties
|
|
887
|
-
*/
|
|
888
|
-
/**
|
|
889
|
-
*
|
|
890
|
-
* @param headChildrenElements List of children of <Head>
|
|
891
|
-
*/
|
|
892
|
-
function p(e,t){const{inAmpMode:n}=t;return e.reduce(O,[]).reverse().concat(d(n).reverse()).filter(function(){const e=new Set,t=new Set,n=new Set,r={};return o=>{let a=!0,i=!1;if(o.key&&"number"!=typeof o.key&&o.key.indexOf("$")>0){i=!0;const t=o.key.slice(o.key.indexOf("$")+1);e.has(t)?a=!1:e.add(t)}
|
|
893
|
-
// eslint-disable-next-line default-case
|
|
894
|
-
switch(o.type){case"title":case"base":t.has(o.type)?a=!1:t.add(o.type);break;case"meta":for(let e=0,t=R.length;e<t;e++){const t=R[e];if(o.props.hasOwnProperty(t))if("charSet"===t)n.has(t)?a=!1:n.add(t);else{const e=o.props[t],n=r[t]||new Set;"name"===t&&i||!n.has(e)?(n.add(e),r[t]=n):a=!1}}}return a}}()).reverse().map(((e,t)=>{const r=e.key||t;if("development"!==process.env.NODE_ENV&&process.env.__NEXT_OPTIMIZE_FONTS&&!n&&"link"===e.type&&e.props.href&&// TODO(prateekbh@): Replace this with const from `constants` when the tree shaking works.
|
|
895
|
-
["https://fonts.googleapis.com/css","https://use.typekit.net/"].some((t=>e.props.href.startsWith(t)))){const t={...e.props||{}};return t["data-href"]=t.href,t.href=void 0,
|
|
896
|
-
// Add this attribute to make it easy to identify optimized tags
|
|
897
|
-
t["data-optimized-fonts"]=!0,i.default.cloneElement(e,t)}if("development"===process.env.NODE_ENV)
|
|
898
|
-
// omit JSON-LD structured data snippets from the warning
|
|
899
|
-
if("script"===e.type&&"application/ld+json"!==e.props.type){const t=e.props.src?'<script> tag with src="'+e.props.src+'"':"inline <script>";(0,u.warnOnce)("Do not add <script> tags using next/head (see "+t+"). Use next/script instead. \nSee more info here: https://nextjs.org/docs/messages/no-script-tags-in-head-component")}else"link"===e.type&&"stylesheet"===e.props.rel&&(0,u.warnOnce)('Do not add stylesheets using next/head (see <link rel="stylesheet"> tag with href="'+e.props.href+'"). Use Document instead. \nSee more info here: https://nextjs.org/docs/messages/no-stylesheets-in-head-component');
|
|
900
|
-
return i.default.cloneElement(e,{key:r})}))}
|
|
901
|
-
/**
|
|
902
|
-
* This component injects elements to `<head>` of your page.
|
|
903
|
-
* To avoid duplicated `tags` in `<head>` you can use the `key` property, which will make sure every tag is only rendered once.
|
|
904
|
-
*/const S=function(e){let{children:t}=e;const n=(0,i.useContext)(l.AmpStateContext),r=(0,i.useContext)(s.HeadManagerContext);
|
|
905
|
-
return(0,o.jsx)(E.default,{reduceComponentsToState:p,headManager:r,inAmpMode:(0,c.isInAmpMode)(n),children:t})};("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)}(Ii,Ii.exports)),Ii.exports}var vi,Fi={};var xi,Yi,wi={},Bi={},Gi={exports:{}};function Ui(){return xi||(xi=1,(()=>{var e={170:(e,t,n)=>{const r=n(510),o=()=>{if("undefined"!=typeof navigator&&navigator.platform){const e=navigator.platform.toLowerCase();return"win32"===e||"windows"===e}return!("undefined"==typeof process||!process.platform)&&"win32"===process.platform};function a(e,t,n=!1){return!t||null!==t.windows&&void 0!==t.windows||(t={...t,windows:o()}),r(e,t,n)}Object.assign(a,r),e.exports=a},154:e=>{const t="\\\\/",n=`[^${t}]`,r="\\.",o="\\/",a="[^/]",i=`(?:${o}|$)`,E=`(?:^|${o})`,l=`${r}{1,2}${i}`,s={DOT_LITERAL:r,PLUS_LITERAL:"\\+",QMARK_LITERAL:"\\?",SLASH_LITERAL:o,ONE_CHAR:"(?=.)",QMARK:a,END_ANCHOR:i,DOTS_SLASH:l,NO_DOT:`(?!${r})`,NO_DOTS:`(?!${E}${l})`,NO_DOT_SLASH:`(?!${r}{0,1}${i})`,NO_DOTS_SLASH:`(?!${l})`,QMARK_NO_DOT:`[^.${o}]`,STAR:`${a}*?`,START_ANCHOR:E,SEP:"/"},c={...s,SLASH_LITERAL:`[${t}]`,QMARK:n,STAR:`${n}*?`,DOTS_SLASH:`${r}{1,2}(?:[${t}]|$)`,NO_DOT:`(?!${r})`,NO_DOTS:`(?!(?:^|[${t}])${r}{1,2}(?:[${t}]|$))`,NO_DOT_SLASH:`(?!${r}{0,1}(?:[${t}]|$))`,NO_DOTS_SLASH:`(?!${r}{1,2}(?:[${t}]|$))`,QMARK_NO_DOT:`[^.${t}]`,START_ANCHOR:`(?:^|[${t}])`,END_ANCHOR:`(?:[${t}]|$)`,SEP:"\\"};e.exports={MAX_LENGTH:65536,POSIX_REGEX_SOURCE:{alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"},REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,extglobChars:e=>({"!":{type:"negate",open:"(?:(?!(?:",close:`))${e.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}),globChars:e=>!0===e?c:s}},697:(e,t,n)=>{const r=n(154),o=n(96),{MAX_LENGTH:a,POSIX_REGEX_SOURCE:i,REGEX_NON_SPECIAL_CHARS:E,REGEX_SPECIAL_CHARS_BACKREF:l,REPLACEMENTS:s}=r,c=(e,t)=>{if("function"==typeof t.expandRange)return t.expandRange(...e,t);e.sort();const n=`[${e.join("-")}]`;try{new RegExp(n)}catch(t){return e.map((e=>o.escapeRegex(e))).join("..")}return n},u=(e,t)=>`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`,d=(e,t)=>{if("string"!=typeof e)throw new TypeError("Expected a string");e=s[e]||e;const n={...t},O="number"==typeof n.maxLength?Math.min(a,n.maxLength):a;let R=e.length;if(R>O)throw new SyntaxError(`Input length: ${R}, exceeds maximum allowed length: ${O}`);const p={type:"bos",value:"",output:n.prepend||""},S=[p],f=n.capture?"":"?:",A=r.globChars(n.windows),C=r.extglobChars(A),{DOT_LITERAL:M,PLUS_LITERAL:T,SLASH_LITERAL:N,ONE_CHAR:I,DOTS_SLASH:h,NO_DOT:m,NO_DOT_SLASH:D,NO_DOTS_SLASH:b,QMARK:g,QMARK_NO_DOT:_,STAR:y,START_ANCHOR:L}=A,P=e=>`(${f}(?:(?!${L}${e.dot?h:M}).)*?)`,v=n.dot?"":m,F=n.dot?g:_;let x=!0===n.bash?P(n):y;n.capture&&(x=`(${x})`),"boolean"==typeof n.noext&&(n.noextglob=n.noext);const Y={input:e,index:-1,start:0,dot:!0===n.dot,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:S};e=o.removePrefix(e,Y),R=e.length;const w=[],B=[],G=[];let U,$=p;const H=()=>Y.index===R-1,W=Y.peek=(t=1)=>e[Y.index+t],k=Y.advance=()=>e[++Y.index]||"",V=()=>e.slice(Y.index+1),j=(e="",t=0)=>{Y.consumed+=e,Y.index+=t},J=e=>{Y.output+=null!=e.output?e.output:e.value,j(e.value)},K=()=>{let e=1;for(;"!"===W()&&("("!==W(2)||"?"===W(3));)k(),Y.start++,e++;return e%2!=0&&(Y.negated=!0,Y.start++,!0)},X=e=>{Y[e]++,G.push(e)},z=e=>{Y[e]--,G.pop()},q=e=>{if("globstar"===$.type){const t=Y.braces>0&&("comma"===e.type||"brace"===e.type),n=!0===e.extglob||w.length&&("pipe"===e.type||"paren"===e.type);"slash"===e.type||"paren"===e.type||t||n||(Y.output=Y.output.slice(0,-$.output.length),$.type="star",$.value="*",$.output=x,Y.output+=$.output)}if(w.length&&"paren"!==e.type&&(w[w.length-1].inner+=e.value),(e.value||e.output)&&J(e),$&&"text"===$.type&&"text"===e.type)return $.output=($.output||$.value)+e.value,void($.value+=e.value);e.prev=$,S.push(e),$=e},Q=(e,t)=>{const r={...C[t],conditions:1,inner:""};r.prev=$,r.parens=Y.parens,r.output=Y.output;const o=(n.capture?"(":"")+r.open;X("parens"),q({type:e,value:t,output:Y.output?"":I}),q({type:"paren",extglob:!0,value:k(),output:o}),w.push(r)},Z=e=>{let r,o=e.close+(n.capture?")":"");if("negate"===e.type){let a=x;if(e.inner&&e.inner.length>1&&e.inner.includes("/")&&(a=P(n)),(a!==x||H()||/^\)+$/.test(V()))&&(o=e.close=`)$))${a}`),e.inner.includes("*")&&(r=V())&&/^\.[^\\/.]+$/.test(r)){const n=d(r,{...t,fastpaths:!1}).output;o=e.close=`)${n})${a})`}"bos"===e.prev.type&&(Y.negatedExtglob=!0)}q({type:"paren",extglob:!0,value:U,output:o}),z("parens")};if(!1!==n.fastpaths&&!/(^[*!]|[/()[\]{}"])/.test(e)){let r=!1,a=e.replace(l,((e,t,n,o,a,i)=>"\\"===o?(r=!0,e):"?"===o?t?t+o+(a?g.repeat(a.length):""):0===i?F+(a?g.repeat(a.length):""):g.repeat(n.length):"."===o?M.repeat(n.length):"*"===o?t?t+o+(a?x:""):x:t?e:`\\${e}`));return!0===r&&(a=!0===n.unescape?a.replace(/\\/g,""):a.replace(/\\+/g,(e=>e.length%2==0?"\\\\":e?"\\":""))),a===e&&!0===n.contains?(Y.output=e,Y):(Y.output=o.wrapOutput(a,Y,t),Y)}for(;!H();){if(U=k(),"\0"===U)continue;if("\\"===U){const e=W();if("/"===e&&!0!==n.bash)continue;if("."===e||";"===e)continue;if(!e){U+="\\",q({type:"text",value:U});continue}const t=/^\\+/.exec(V());let r=0;if(t&&t[0].length>2&&(r=t[0].length,Y.index+=r,r%2!=0&&(U+="\\")),!0===n.unescape?U=k():U+=k(),0===Y.brackets){q({type:"text",value:U});continue}}if(Y.brackets>0&&("]"!==U||"["===$.value||"[^"===$.value)){if(!1!==n.posix&&":"===U){const e=$.value.slice(1);if(e.includes("[")&&($.posix=!0,e.includes(":"))){const e=$.value.lastIndexOf("["),t=$.value.slice(0,e),n=$.value.slice(e+2),r=i[n];if(r){$.value=t+r,Y.backtrack=!0,k(),p.output||1!==S.indexOf($)||(p.output=I);continue}}}("["===U&&":"!==W()||"-"===U&&"]"===W())&&(U=`\\${U}`),"]"!==U||"["!==$.value&&"[^"!==$.value||(U=`\\${U}`),!0===n.posix&&"!"===U&&"["===$.value&&(U="^"),$.value+=U,J({value:U});continue}if(1===Y.quotes&&'"'!==U){U=o.escapeRegex(U),$.value+=U,J({value:U});continue}if('"'===U){Y.quotes=1===Y.quotes?0:1,!0===n.keepQuotes&&q({type:"text",value:U});continue}if("("===U){X("parens"),q({type:"paren",value:U});continue}if(")"===U){if(0===Y.parens&&!0===n.strictBrackets)throw new SyntaxError(u("opening","("));const e=w[w.length-1];if(e&&Y.parens===e.parens+1){Z(w.pop());continue}q({type:"paren",value:U,output:Y.parens?")":"\\)"}),z("parens");continue}if("["===U){if(!0!==n.nobracket&&V().includes("]"))X("brackets");else{if(!0!==n.nobracket&&!0===n.strictBrackets)throw new SyntaxError(u("closing","]"));U=`\\${U}`}q({type:"bracket",value:U});continue}if("]"===U){if(!0===n.nobracket||$&&"bracket"===$.type&&1===$.value.length){q({type:"text",value:U,output:`\\${U}`});continue}if(0===Y.brackets){if(!0===n.strictBrackets)throw new SyntaxError(u("opening","["));q({type:"text",value:U,output:`\\${U}`});continue}z("brackets");const e=$.value.slice(1);if(!0===$.posix||"^"!==e[0]||e.includes("/")||(U=`/${U}`),$.value+=U,J({value:U}),!1===n.literalBrackets||o.hasRegexChars(e))continue;const t=o.escapeRegex($.value);if(Y.output=Y.output.slice(0,-$.value.length),!0===n.literalBrackets){Y.output+=t,$.value=t;continue}$.value=`(${f}${t}|${$.value})`,Y.output+=$.value;continue}if("{"===U&&!0!==n.nobrace){X("braces");const e={type:"brace",value:U,output:"(",outputIndex:Y.output.length,tokensIndex:Y.tokens.length};B.push(e),q(e);continue}if("}"===U){const e=B[B.length-1];if(!0===n.nobrace||!e){q({type:"text",value:U,output:U});continue}let t=")";if(!0===e.dots){const e=S.slice(),r=[];for(let t=e.length-1;t>=0&&(S.pop(),"brace"!==e[t].type);t--)"dots"!==e[t].type&&r.unshift(e[t].value);t=c(r,n),Y.backtrack=!0}if(!0!==e.comma&&!0!==e.dots){const n=Y.output.slice(0,e.outputIndex),r=Y.tokens.slice(e.tokensIndex);e.value=e.output="\\{",U=t="\\}",Y.output=n;for(const e of r)Y.output+=e.output||e.value}q({type:"brace",value:U,output:t}),z("braces"),B.pop();continue}if("|"===U){w.length>0&&w[w.length-1].conditions++,q({type:"text",value:U});continue}if(","===U){let e=U;const t=B[B.length-1];t&&"braces"===G[G.length-1]&&(t.comma=!0,e="|"),q({type:"comma",value:U,output:e});continue}if("/"===U){if("dot"===$.type&&Y.index===Y.start+1){Y.start=Y.index+1,Y.consumed="",Y.output="",S.pop(),$=p;continue}q({type:"slash",value:U,output:N});continue}if("."===U){if(Y.braces>0&&"dot"===$.type){"."===$.value&&($.output=M);const e=B[B.length-1];$.type="dots",$.output+=U,$.value+=U,e.dots=!0;continue}if(Y.braces+Y.parens===0&&"bos"!==$.type&&"slash"!==$.type){q({type:"text",value:U,output:M});continue}q({type:"dot",value:U,output:M});continue}if("?"===U){if(!($&&"("===$.value)&&!0!==n.noextglob&&"("===W()&&"?"!==W(2)){Q("qmark",U);continue}if($&&"paren"===$.type){const e=W();let t=U;("("===$.value&&!/[!=<:]/.test(e)||"<"===e&&!/<([!=]|\w+>)/.test(V()))&&(t=`\\${U}`),q({type:"text",value:U,output:t});continue}if(!0!==n.dot&&("slash"===$.type||"bos"===$.type)){q({type:"qmark",value:U,output:_});continue}q({type:"qmark",value:U,output:g});continue}if("!"===U){if(!0!==n.noextglob&&"("===W()&&("?"!==W(2)||!/[!=<:]/.test(W(3)))){Q("negate",U);continue}if(!0!==n.nonegate&&0===Y.index){K();continue}}if("+"===U){if(!0!==n.noextglob&&"("===W()&&"?"!==W(2)){Q("plus",U);continue}if($&&"("===$.value||!1===n.regex){q({type:"plus",value:U,output:T});continue}if($&&("bracket"===$.type||"paren"===$.type||"brace"===$.type)||Y.parens>0){q({type:"plus",value:U});continue}q({type:"plus",value:T});continue}if("@"===U){if(!0!==n.noextglob&&"("===W()&&"?"!==W(2)){q({type:"at",extglob:!0,value:U,output:""});continue}q({type:"text",value:U});continue}if("*"!==U){"$"!==U&&"^"!==U||(U=`\\${U}`);const e=E.exec(V());e&&(U+=e[0],Y.index+=e[0].length),q({type:"text",value:U});continue}if($&&("globstar"===$.type||!0===$.star)){$.type="star",$.star=!0,$.value+=U,$.output=x,Y.backtrack=!0,Y.globstar=!0,j(U);continue}let t=V();if(!0!==n.noextglob&&/^\([^?]/.test(t)){Q("star",U);continue}if("star"===$.type){if(!0===n.noglobstar){j(U);continue}const r=$.prev,o=r.prev,a="slash"===r.type||"bos"===r.type,i=o&&("star"===o.type||"globstar"===o.type);if(!0===n.bash&&(!a||t[0]&&"/"!==t[0])){q({type:"star",value:U,output:""});continue}const E=Y.braces>0&&("comma"===r.type||"brace"===r.type),l=w.length&&("pipe"===r.type||"paren"===r.type);if(!a&&"paren"!==r.type&&!E&&!l){q({type:"star",value:U,output:""});continue}for(;"/**"===t.slice(0,3);){const n=e[Y.index+4];if(n&&"/"!==n)break;t=t.slice(3),j("/**",3)}if("bos"===r.type&&H()){$.type="globstar",$.value+=U,$.output=P(n),Y.output=$.output,Y.globstar=!0,j(U);continue}if("slash"===r.type&&"bos"!==r.prev.type&&!i&&H()){Y.output=Y.output.slice(0,-(r.output+$.output).length),r.output=`(?:${r.output}`,$.type="globstar",$.output=P(n)+(n.strictSlashes?")":"|$)"),$.value+=U,Y.globstar=!0,Y.output+=r.output+$.output,j(U);continue}if("slash"===r.type&&"bos"!==r.prev.type&&"/"===t[0]){const e=void 0!==t[1]?"|$":"";Y.output=Y.output.slice(0,-(r.output+$.output).length),r.output=`(?:${r.output}`,$.type="globstar",$.output=`${P(n)}${N}|${N}${e})`,$.value+=U,Y.output+=r.output+$.output,Y.globstar=!0,j(U+k()),q({type:"slash",value:"/",output:""});continue}if("bos"===r.type&&"/"===t[0]){$.type="globstar",$.value+=U,$.output=`(?:^|${N}|${P(n)}${N})`,Y.output=$.output,Y.globstar=!0,j(U+k()),q({type:"slash",value:"/",output:""});continue}Y.output=Y.output.slice(0,-$.output.length),$.type="globstar",$.output=P(n),$.value+=U,Y.output+=$.output,Y.globstar=!0,j(U);continue}const r={type:"star",value:U,output:x};!0!==n.bash?!$||"bracket"!==$.type&&"paren"!==$.type||!0!==n.regex?(Y.index!==Y.start&&"slash"!==$.type&&"dot"!==$.type||("dot"===$.type?(Y.output+=D,$.output+=D):!0===n.dot?(Y.output+=b,$.output+=b):(Y.output+=v,$.output+=v),"*"!==W()&&(Y.output+=I,$.output+=I)),q(r)):(r.output=U,q(r)):(r.output=".*?","bos"!==$.type&&"slash"!==$.type||(r.output=v+r.output),q(r))}for(;Y.brackets>0;){if(!0===n.strictBrackets)throw new SyntaxError(u("closing","]"));Y.output=o.escapeLast(Y.output,"["),z("brackets")}for(;Y.parens>0;){if(!0===n.strictBrackets)throw new SyntaxError(u("closing",")"));Y.output=o.escapeLast(Y.output,"("),z("parens")}for(;Y.braces>0;){if(!0===n.strictBrackets)throw new SyntaxError(u("closing","}"));Y.output=o.escapeLast(Y.output,"{"),z("braces")}if(!0===n.strictSlashes||"star"!==$.type&&"bracket"!==$.type||q({type:"maybe_slash",value:"",output:`${N}?`}),!0===Y.backtrack){Y.output="";for(const e of Y.tokens)Y.output+=null!=e.output?e.output:e.value,e.suffix&&(Y.output+=e.suffix)}return Y};d.fastpaths=(e,t)=>{const n={...t},i="number"==typeof n.maxLength?Math.min(a,n.maxLength):a,E=e.length;if(E>i)throw new SyntaxError(`Input length: ${E}, exceeds maximum allowed length: ${i}`);e=s[e]||e;const{DOT_LITERAL:l,SLASH_LITERAL:c,ONE_CHAR:u,DOTS_SLASH:d,NO_DOT:O,NO_DOTS:R,NO_DOTS_SLASH:p,STAR:S,START_ANCHOR:f}=r.globChars(n.windows),A=n.dot?R:O,C=n.dot?p:O,M=n.capture?"":"?:";let T=!0===n.bash?".*?":S;n.capture&&(T=`(${T})`);const N=e=>!0===e.noglobstar?T:`(${M}(?:(?!${f}${e.dot?d:l}).)*?)`,I=e=>{switch(e){case"*":return`${A}${u}${T}`;case".*":return`${l}${u}${T}`;case"*.*":return`${A}${T}${l}${u}${T}`;case"*/*":return`${A}${T}${c}${u}${C}${T}`;case"**":return A+N(n);case"**/*":return`(?:${A}${N(n)}${c})?${C}${u}${T}`;case"**/*.*":return`(?:${A}${N(n)}${c})?${C}${T}${l}${u}${T}`;case"**/.*":return`(?:${A}${N(n)}${c})?${l}${u}${T}`;default:{const t=/^(.*?)\.(\w+)$/.exec(e);if(!t)return;const n=I(t[1]);if(!n)return;return n+l+t[2]}}},h=o.removePrefix(e,{negated:!1,prefix:""});let m=I(h);return m&&!0!==n.strictSlashes&&(m+=`${c}?`),m},e.exports=d},510:(e,t,n)=>{const r=n(716),o=n(697),a=n(96),i=n(154),E=(e,t,n=!1)=>{if(Array.isArray(e)){const r=e.map((e=>E(e,t,n))),o=e=>{for(const t of r){const n=t(e);if(n)return n}return!1};return o}const r=(e=>e&&"object"==typeof e&&!Array.isArray(e))(e)&&e.tokens&&e.input;if(""===e||"string"!=typeof e&&!r)throw new TypeError("Expected pattern to be a non-empty string");const o=t||{},a=o.windows,i=r?E.compileRe(e,t):E.makeRe(e,t,!1,!0),l=i.state;delete i.state;let s=()=>!1;if(o.ignore){const e={...t,ignore:null,onMatch:null,onResult:null};s=E(o.ignore,e,n)}const c=(n,r=!1)=>{const{isMatch:c,match:u,output:d}=E.test(n,i,t,{glob:e,posix:a}),O={glob:e,state:l,regex:i,posix:a,input:n,output:d,match:u,isMatch:c};return"function"==typeof o.onResult&&o.onResult(O),!1===c?(O.isMatch=!1,!!r&&O):s(n)?("function"==typeof o.onIgnore&&o.onIgnore(O),O.isMatch=!1,!!r&&O):("function"==typeof o.onMatch&&o.onMatch(O),!r||O)};return n&&(c.state=l),c};E.test=(e,t,n,{glob:r,posix:o}={})=>{if("string"!=typeof e)throw new TypeError("Expected input to be a string");if(""===e)return{isMatch:!1,output:""};const i=n||{},l=i.format||(o?a.toPosixSlashes:null);let s=e===r,c=s&&l?l(e):e;return!1===s&&(c=l?l(e):e,s=c===r),!1!==s&&!0!==i.capture||(s=!0===i.matchBase||!0===i.basename?E.matchBase(e,t,n,o):t.exec(c)),{isMatch:Boolean(s),match:s,output:c}},E.matchBase=(e,t,n)=>(t instanceof RegExp?t:E.makeRe(t,n)).test(a.basename(e)),E.isMatch=(e,t,n)=>E(t,n)(e),E.parse=(e,t)=>Array.isArray(e)?e.map((e=>E.parse(e,t))):o(e,{...t,fastpaths:!1}),E.scan=(e,t)=>r(e,t),E.compileRe=(e,t,n=!1,r=!1)=>{if(!0===n)return e.output;const o=t||{},a=o.contains?"":"^",i=o.contains?"":"$";let l=`${a}(?:${e.output})${i}`;e&&!0===e.negated&&(l=`^(?!${l}).*$`);const s=E.toRegex(l,t);return!0===r&&(s.state=e),s},E.makeRe=(e,t={},n=!1,r=!1)=>{if(!e||"string"!=typeof e)throw new TypeError("Expected a non-empty string");let a={negated:!1,fastpaths:!0};return!1===t.fastpaths||"."!==e[0]&&"*"!==e[0]||(a.output=o.fastpaths(e,t)),a.output||(a=o(e,t)),E.compileRe(a,t,n,r)},E.toRegex=(e,t)=>{try{const n=t||{};return new RegExp(e,n.flags||(n.nocase?"i":""))}catch(e){if(t&&!0===t.debug)throw e;return/$^/}},E.constants=i,e.exports=E},716:(e,t,n)=>{const r=n(96),{CHAR_ASTERISK:o,CHAR_AT:a,CHAR_BACKWARD_SLASH:i,CHAR_COMMA:E,CHAR_DOT:l,CHAR_EXCLAMATION_MARK:s,CHAR_FORWARD_SLASH:c,CHAR_LEFT_CURLY_BRACE:u,CHAR_LEFT_PARENTHESES:d,CHAR_LEFT_SQUARE_BRACKET:O,CHAR_PLUS:R,CHAR_QUESTION_MARK:p,CHAR_RIGHT_CURLY_BRACE:S,CHAR_RIGHT_PARENTHESES:f,CHAR_RIGHT_SQUARE_BRACKET:A}=n(154),C=e=>e===c||e===i,M=e=>{!0!==e.isPrefix&&(e.depth=e.isGlobstar?1/0:1)};e.exports=(e,t)=>{const n=t||{},T=e.length-1,N=!0===n.parts||!0===n.scanToEnd,I=[],h=[],m=[];let D,b,g=e,_=-1,y=0,L=0,P=!1,v=!1,F=!1,x=!1,Y=!1,w=!1,B=!1,G=!1,U=!1,$=!1,H=0,W={value:"",depth:0,isGlob:!1};const k=()=>_>=T,V=()=>(D=b,g.charCodeAt(++_));for(;_<T;){let e;if(b=V(),b!==i){if(!0===w||b===u){for(H++;!0!==k()&&(b=V());)if(b!==i)if(b!==u){if(!0!==w&&b===l&&(b=V())===l){if(P=W.isBrace=!0,F=W.isGlob=!0,$=!0,!0===N)continue;break}if(!0!==w&&b===E){if(P=W.isBrace=!0,F=W.isGlob=!0,$=!0,!0===N)continue;break}if(b===S&&(H--,0===H)){w=!1,P=W.isBrace=!0,$=!0;break}}else H++;else B=W.backslashes=!0,V();if(!0===N)continue;break}if(b!==c){if(!0!==n.noext){if(!0===(b===R||b===a||b===o||b===p||b===s)&&g.charCodeAt(_+1)===d){if(F=W.isGlob=!0,x=W.isExtglob=!0,$=!0,b===s&&_===y&&(U=!0),!0===N){for(;!0!==k()&&(b=V());)if(b!==i){if(b===f){F=W.isGlob=!0,$=!0;break}}else B=W.backslashes=!0,b=V();continue}break}}if(b===o){if(D===o&&(Y=W.isGlobstar=!0),F=W.isGlob=!0,$=!0,!0===N)continue;break}if(b===p){if(F=W.isGlob=!0,$=!0,!0===N)continue;break}if(b===O){for(;!0!==k()&&(e=V());)if(e!==i){if(e===A){v=W.isBracket=!0,F=W.isGlob=!0,$=!0;break}}else B=W.backslashes=!0,V();if(!0===N)continue;break}if(!0===n.nonegate||b!==s||_!==y){if(!0!==n.noparen&&b===d){if(F=W.isGlob=!0,!0===N){for(;!0!==k()&&(b=V());)if(b!==d){if(b===f){$=!0;break}}else B=W.backslashes=!0,b=V();continue}break}if(!0===F){if($=!0,!0===N)continue;break}}else G=W.negated=!0,y++}else{if(I.push(_),h.push(W),W={value:"",depth:0,isGlob:!1},!0===$)continue;if(D===l&&_===y+1){y+=2;continue}L=_+1}}else B=W.backslashes=!0,b=V(),b===u&&(w=!0)}!0===n.noext&&(x=!1,F=!1);let j=g,J="",K="";y>0&&(J=g.slice(0,y),g=g.slice(y),L-=y),j&&!0===F&&L>0?(j=g.slice(0,L),K=g.slice(L)):!0===F?(j="",K=g):j=g,j&&""!==j&&"/"!==j&&j!==g&&C(j.charCodeAt(j.length-1))&&(j=j.slice(0,-1)),!0===n.unescape&&(K&&(K=r.removeBackslashes(K)),j&&!0===B&&(j=r.removeBackslashes(j)));const X={prefix:J,input:e,start:y,base:j,glob:K,isBrace:P,isBracket:v,isGlob:F,isExtglob:x,isGlobstar:Y,negated:G,negatedExtglob:U};if(!0===n.tokens&&(X.maxDepth=0,C(b)||h.push(W),X.tokens=h),!0===n.parts||!0===n.tokens){let t;for(let r=0;r<I.length;r++){const o=t?t+1:y,a=I[r],i=e.slice(o,a);n.tokens&&(0===r&&0!==y?(h[r].isPrefix=!0,h[r].value=J):h[r].value=i,M(h[r]),X.maxDepth+=h[r].depth),0===r&&""===i||m.push(i),t=a}if(t&&t+1<e.length){const r=e.slice(t+1);m.push(r),n.tokens&&(h[h.length-1].value=r,M(h[h.length-1]),X.maxDepth+=h[h.length-1].depth)}X.slashes=I,X.parts=m}return X}},96:(e,t,n)=>{const{REGEX_BACKSLASH:r,REGEX_REMOVE_BACKSLASH:o,REGEX_SPECIAL_CHARS:a,REGEX_SPECIAL_CHARS_GLOBAL:i}=n(154);t.isObject=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),t.hasRegexChars=e=>a.test(e),t.isRegexChar=e=>1===e.length&&t.hasRegexChars(e),t.escapeRegex=e=>e.replace(i,"\\$1"),t.toPosixSlashes=e=>e.replace(r,"/"),t.removeBackslashes=e=>e.replace(o,(e=>"\\"===e?"":e)),t.escapeLast=(e,n,r)=>{const o=e.lastIndexOf(n,r);return-1===o?e:"\\"===e[o-1]?t.escapeLast(e,n,o-1):`${e.slice(0,o)}\\${e.slice(o)}`},t.removePrefix=(e,t={})=>{let n=e;return n.startsWith("./")&&(n=n.slice(2),t.prefix="./"),n},t.wrapOutput=(e,t={},n={})=>{let r=`${n.contains?"":"^"}(?:${e})${n.contains?"":"$"}`;return!0===t.negated&&(r=`(?:^(?!${r}).*$)`),r},t.basename=(e,{windows:t}={})=>{const n=e.split(t?/[\\/]/:"/"),r=n[n.length-1];return""===r?n[n.length-2]:r}}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var a=t[r]={exports:{}},i=!0;try{e[r](a,a.exports,n),i=!1}finally{i&&delete t[r]}return a.exports}void 0!==n&&(n.ab=__dirname+"/");var r=n(170);Gi.exports=r})()),Gi.exports}var $i,Hi,Wi,ki,Vi,ji,Ji={};function Ki(){return Hi||(Hi=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return n}});function t(e){let{config:t,src:n,width:r,quality:o}=e;var a;if("production"!==process.env.NODE_ENV){const e=[];
|
|
906
|
-
// these should always be provided but make sure they are
|
|
907
|
-
if(n||e.push("src"),r||e.push("width"),e.length>0)throw Object.defineProperty(new Error("Next Image Optimization requires "+e.join(", ")+" to be provided. Make sure you pass them as props to the `next/image` component. Received: "+JSON.stringify({src:n,width:r,quality:o})),"__NEXT_ERROR_CODE",{value:"E188",enumerable:!1,configurable:!0});if(n.startsWith("//"))throw Object.defineProperty(new Error('Failed to parse src "'+n+'" on `next/image`, protocol-relative URL (//) must be changed to an absolute URL (http:// or https://)'),"__NEXT_ERROR_CODE",{value:"E360",enumerable:!1,configurable:!0});if(n.startsWith("/")&&t.localPatterns&&"test"!==process.env.NODE_ENV&&// micromatch isn't compatible with edge runtime
|
|
908
|
-
"edge"!==process.env.NEXT_RUNTIME){
|
|
909
|
-
// We use dynamic require because this should only error in development
|
|
910
|
-
const{hasLocalMatch:e}=(Yi||(Yi=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(e,{hasLocalMatch:function(){return r},matchLocalPattern:function(){return n}});const t=Ui();function n(e,n){return(void 0===e.search||e.search===n.search)&&!!(0,t.makeRe)(null!=(r=e.pathname)?r:"**",{dot:!0}).test(n.pathname);var r}function r(e,t){if(!e)
|
|
911
|
-
// if the user didn't define "localPatterns", we allow all local images
|
|
912
|
-
return!0;const r=new URL(t,"http://n");return e.some((e=>n(e,r)))}}(Bi)),Bi);if(!e(t.localPatterns,n))throw Object.defineProperty(new Error("Invalid src prop ("+n+") on `next/image` does not match `images.localPatterns` configured in your `next.config.js`\nSee more info: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns"),"__NEXT_ERROR_CODE",{value:"E426",enumerable:!1,configurable:!0})}if(!n.startsWith("/")&&(t.domains||t.remotePatterns)){let e;try{e=new URL(n)}catch(e){throw console.error(e),Object.defineProperty(new Error('Failed to parse src "'+n+'" on `next/image`, if using relative image it must start with a leading slash "/" or be an absolute URL (http:// or https://)'),"__NEXT_ERROR_CODE",{value:"E63",enumerable:!1,configurable:!0})}if("test"!==process.env.NODE_ENV&&// micromatch isn't compatible with edge runtime
|
|
913
|
-
"edge"!==process.env.NEXT_RUNTIME){
|
|
914
|
-
// We use dynamic require because this should only error in development
|
|
915
|
-
const{hasRemoteMatch:r}=($i||($i=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(e,{hasRemoteMatch:function(){return r},matchRemotePattern:function(){return n}});const t=Ui();function n(e,n){if(void 0!==e.protocol&&e.protocol.replace(/:$/,"")!==n.protocol.replace(/:$/,""))return!1;if(void 0!==e.port&&e.port!==n.port)return!1;if(void 0===e.hostname)throw Object.defineProperty(new Error("Pattern should define hostname but found\n"+JSON.stringify(e)),"__NEXT_ERROR_CODE",{value:"E410",enumerable:!1,configurable:!0});return!(!(0,t.makeRe)(e.hostname).test(n.hostname)||void 0!==e.search&&e.search!==n.search||!(0,t.makeRe)(null!=(r=e.pathname)?r:"**",{dot:!0}).test(n.pathname));var r;
|
|
916
|
-
// Should be the same as writeImagesManifest()
|
|
917
|
-
}function r(e,t,r){return e.some((e=>r.hostname===e))||t.some((e=>n(e,r)))}}(Ji)),Ji);if(!r(t.domains,t.remotePatterns,e))throw Object.defineProperty(new Error("Invalid src prop ("+n+') on `next/image`, hostname "'+e.hostname+'" is not configured under images in your `next.config.js`\nSee more info: https://nextjs.org/docs/messages/next-image-unconfigured-host'),"__NEXT_ERROR_CODE",{value:"E231",enumerable:!1,configurable:!0})}}if(o&&t.qualities&&!t.qualities.includes(o))throw Object.defineProperty(new Error("Invalid quality prop ("+o+") on `next/image` does not match `images.qualities` configured in your `next.config.js`\nSee more info: https://nextjs.org/docs/messages/next-image-unconfigured-qualities"),"__NEXT_ERROR_CODE",{value:"E623",enumerable:!1,configurable:!0})}const i=o||(null==(a=t.qualities)?void 0:a.reduce(((e,t)=>Math.abs(t-75)<Math.abs(e-75)?t:e)))||75;return t.path+"?url="+encodeURIComponent(n)+"&w="+r+"&q="+i+(n.startsWith("/_next/static/media/")&&process.env.NEXT_DEPLOYMENT_ID?"&dpl="+process.env.NEXT_DEPLOYMENT_ID:"")}
|
|
918
|
-
// We use this to determine if the import is the default loader
|
|
919
|
-
// or a custom loader defined by the user in next.config.js
|
|
920
|
-
t.__next_img_default=!0;const n=t}(wi)),wi}function Xi(){return Wi||(Wi=1,function(t,n){Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"Image",{enumerable:!0,get:function(){return N}});const r=To(),o=e,i=tr()._(a),E=r._(T),l=r._(Pi()),s=Mi(),c=Ci(),u=(vi||(vi=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ImageConfigContext",{enumerable:!0,get:function(){return r}});const t=To()._(a),n=Ci(),r=t.default.createContext(n.imageConfigDefault);"production"!==process.env.NODE_ENV&&(r.displayName="ImageConfigContext")}(Fi)),Fi),d=Oi(),O=No(),R=r._(Ki()),p=Vo(),S=process.env.__NEXT_IMAGE_OPTS;
|
|
921
|
-
// See https://stackoverflow.com/q/39777833/266535 for why we use this ref
|
|
922
|
-
// handler instead of the img's onLoad attribute.
|
|
923
|
-
function f(e,t,n,r,o,a,i){const E=null==e?void 0:e.src;if(!e||e["data-loaded-src"]===E)return;e["data-loaded-src"]=E;("decode"in e?e.decode():Promise.resolve()).catch((()=>{})).then((()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&o(!0),null==n?void 0:n.current){
|
|
924
|
-
// Since we don't have the SyntheticEvent here,
|
|
925
|
-
// we must create one with the same shape.
|
|
926
|
-
// See https://reactjs.org/docs/events.html
|
|
927
|
-
const t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let r=!1,o=!1;n.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>r,isPropagationStopped:()=>o,persist:()=>{},preventDefault:()=>{r=!0,t.preventDefault()},stopPropagation:()=>{o=!0,t.stopPropagation()}})}if((null==r?void 0:r.current)&&r.current(e),"production"!==process.env.NODE_ENV){const t=new URL(E,"http://n").searchParams.get("url")||E;if("fill"===e.getAttribute("data-nimg")){if(!(a||i&&"100vw"!==i)){e.getBoundingClientRect().width/window.innerWidth<.6&&("100vw"===i?(0,d.warnOnce)('Image with src "'+t+'" has "fill" prop and "sizes" prop of "100vw", but image is not rendered at full viewport width. Please adjust "sizes" to improve page performance. Read more: https://nextjs.org/docs/api-reference/next/image#sizes'):(0,d.warnOnce)('Image with src "'+t+'" has "fill" but is missing "sizes" prop. Please add it to improve page performance. Read more: https://nextjs.org/docs/api-reference/next/image#sizes'))}if(e.parentElement){const{position:n}=window.getComputedStyle(e.parentElement),r=["absolute","fixed","relative"];r.includes(n)||(0,d.warnOnce)('Image with src "'+t+'" has "fill" and parent element with invalid "position". Provided "'+n+'" should be one of '+r.map(String).join(",")+".")}0===e.height&&(0,d.warnOnce)('Image with src "'+t+'" has "fill" and a height value of 0. This is likely because the parent element of the image has not been styled to have a set height.')}const n=e.height.toString()!==e.getAttribute("height"),r=e.width.toString()!==e.getAttribute("width");(n&&!r||!n&&r)&&(0,d.warnOnce)('Image with src "'+t+'" has either width or height modified, but not the other. If you use CSS to change the size of your image, also include the styles \'width: "auto"\' or \'height: "auto"\' to maintain the aspect ratio.')}}}))}function A(e){return Boolean(i.use)?{fetchPriority:e}:{fetchpriority:e};
|
|
928
|
-
// In React 18.2.0 or older, we must use lowercase prop
|
|
929
|
-
// to avoid "Warning: Invalid DOM property".
|
|
930
|
-
}"undefined"==typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);const C=(0,i.forwardRef)(((e,t)=>{let{src:n,srcSet:r,sizes:a,height:E,width:l,decoding:s,className:c,style:u,fetchPriority:d,placeholder:O,loading:R,unoptimized:S,fill:C,onLoadRef:M,onLoadingCompleteRef:T,setBlurComplete:N,setShowAltText:I,sizesInput:h,onLoad:m,onError:D,...b}=e;const g=(0,i.useCallback)((e=>{e&&(D&&(
|
|
931
|
-
// If the image has an error before react hydrates, then the error is lost.
|
|
932
|
-
// The workaround is to wait until the image is mounted which is after hydration,
|
|
933
|
-
// then we set the src again to trigger the error handler (if there was an error).
|
|
934
|
-
// eslint-disable-next-line no-self-assign
|
|
935
|
-
e.src=e.src),"production"!==process.env.NODE_ENV&&(n||console.error('Image is missing required "src" property:',e),null===e.getAttribute("alt")&&console.error('Image is missing required "alt" property. Please add Alternative Text to describe the image for screen readers and search engines.')),e.complete&&f(e,O,M,T,N,S,h))}),[n,O,M,T,N,D,S,h]),_=(0,p.useMergedRef)(t,g);
|
|
936
|
-
return(0,o.jsx)("img",{...b,...A(d),
|
|
937
|
-
// It's intended to keep `loading` before `src` because React updates
|
|
938
|
-
// props in order which causes Safari/Firefox to not lazy load properly.
|
|
939
|
-
// See https://github.com/facebook/react/issues/25883
|
|
940
|
-
loading:R,width:l,height:E,decoding:s,"data-nimg":C?"fill":"1",className:c,style:u,
|
|
941
|
-
// It's intended to keep `src` the last attribute because React updates
|
|
942
|
-
// attributes in order. If we keep `src` the first one, Safari will
|
|
943
|
-
// immediately start to fetch `src`, before `sizes` and `srcSet` are even
|
|
944
|
-
// updated by React. That causes multiple unnecessary requests if `srcSet`
|
|
945
|
-
// and `sizes` are defined.
|
|
946
|
-
// This bug cannot be reproduced in Chrome or Firefox.
|
|
947
|
-
sizes:a,srcSet:r,src:n,ref:_,onLoad:e=>{f(e.currentTarget,O,M,T,N,S,h)},onError:e=>{
|
|
948
|
-
// if the real image fails to load, this will ensure "alt" is visible
|
|
949
|
-
I(!0),"empty"!==O&&
|
|
950
|
-
// If the real image fails to load, this will still remove the placeholder.
|
|
951
|
-
N(!0),D&&D(e)}})}));function M(e){let{isAppRouter:t,imgAttributes:n}=e;const r={as:"image",imageSrcSet:n.srcSet,imageSizes:n.sizes,crossOrigin:n.crossOrigin,referrerPolicy:n.referrerPolicy,...A(n.fetchPriority)};return t&&E.default.preload?(
|
|
952
|
-
// See https://github.com/facebook/react/pull/26940
|
|
953
|
-
E.default.preload(n.src,// @ts-expect-error TODO: upgrade to `@types/react-dom@18.3.x`
|
|
954
|
-
r),null):(0,o.jsx)(l.default,{children:(0,o.jsx)("link",{rel:"preload",
|
|
955
|
-
// Note how we omit the `href` attribute, as it would only be relevant
|
|
956
|
-
// for browsers that do not support `imagesrcset`, and in those cases
|
|
957
|
-
// it would cause the incorrect image to be preloaded.
|
|
958
|
-
// https://html.spec.whatwg.org/multipage/semantics.html#attr-link-imagesrcset
|
|
959
|
-
href:n.srcSet?void 0:n.src,...r},"__nimg-"+n.src+n.srcSet+n.sizes)})}const N=(0,i.forwardRef)(((e,t)=>{const n=!(0,i.useContext)(O.RouterContext),r=(0,i.useContext)(u.ImageConfigContext),a=(0,i.useMemo)((()=>{var e;const t=S||r||c.imageConfigDefault,n=[...t.deviceSizes,...t.imageSizes].sort(((e,t)=>e-t)),o=t.deviceSizes.sort(((e,t)=>e-t)),a=null==(e=t.qualities)?void 0:e.sort(((e,t)=>e-t));return{...t,allSizes:n,deviceSizes:o,qualities:a}}),[r]),{onLoad:E,onLoadingComplete:l}=e,d=(0,i.useRef)(E);
|
|
960
|
-
// We're in the app directory if there is no pages router.
|
|
961
|
-
(0,i.useEffect)((()=>{d.current=E}),[E]);const p=(0,i.useRef)(l);(0,i.useEffect)((()=>{p.current=l}),[l]);const[f,A]=(0,i.useState)(!1),[T,N]=(0,i.useState)(!1),{props:I,meta:h}=(0,s.getImgProps)(e,{defaultLoader:R.default,imgConf:a,blurComplete:f,showAltText:T});
|
|
962
|
-
return(0,o.jsxs)(o.Fragment,{children:[
|
|
963
|
-
|
|
964
|
-
(0,o.jsx)(C,{...I,unoptimized:h.unoptimized,placeholder:h.placeholder,fill:h.fill,onLoadRef:d,onLoadingCompleteRef:p,setBlurComplete:A,setShowAltText:N,sizesInput:e.sizes,ref:t}),h.priority?(0,o.jsx)(M,{isAppRouter:n,imgAttributes:I}):null]})}));("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)}(Ni,Ni.exports)),Ni.exports}var zi=ji?Vi:(ji=1,ki||(ki=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(e,{default:function(){return i},getImageProps:function(){return a}});const t=To(),n=Mi(),r=Xi(),o=t._(Ki());function a(e){const{props:t}=(0,n.getImgProps)(e,{defaultLoader:o.default,
|
|
965
|
-
// This is replaced by webpack define plugin
|
|
966
|
-
imgConf:process.env.__NEXT_IMAGE_OPTS});
|
|
967
|
-
// Normally we don't care about undefined props because we pass to JSX,
|
|
968
|
-
// but this exported function could be used by the end user for anything
|
|
969
|
-
// so we delete undefined props to clean it up a little.
|
|
970
|
-
for(const[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}const i=r.Image}(ci)),Vi=ci),qi=qn(zi);const Qi=({type:e,size:n})=>t(ue,{iconKey:Na[e],className:Ia[e][n],weight:"fill"}),Zi=({src:e,alt:n,size:r,type:o})=>{const[a,i]=c(!1);return!e||a?t(Qi,{type:o,size:r}):t(qi,{src:e,alt:n??"",onError:()=>i(!0),className:"h-full w-full object-cover",unoptimized:!0,...Ta[r]})},eE=({size:e=Aa.SM,type:n,src:r,alt:o})=>t(li,{size:e,theme:"primary",children:t(Zi,{src:r,alt:o,size:e,type:n})}),tE=3,nE=({items:e,total:r=e.length,tooltipClassName:o})=>{const a=e.slice(0,3),i=r-a.length,E=i>0,l=e.map((({name:e})=>e)).join(",");return n(Xn,{content:l,rootClassName:"in-flex-h-stack items-center -space-x-[0.687rem]",className:o,placement:"bottom",children:[a.map((e=>t(eE,{...e},e.name))),E&&t(li,{size:"sm",theme:"gray",className:"text-in-body-12-m",children:`+${i}`})]})},rE={FILLED:"filled",OUTLINED:"outlined",STATUS:"status"},oE={GRAY:"gray",PRIMARY:"primary",GREEN:"green",YELLOW:"yellow",RED:"red"},aE={[rE.FILLED]:"rounded-in-4",[rE.OUTLINED]:"rounded-in-4 border border-in-gray-02",[rE.STATUS]:"rounded-in-full"},iE={[oE.GRAY]:{CONTAINER:"bg-in-gray-02",LABEL:"text-in-gray-07"},[oE.PRIMARY]:{CONTAINER:"bg-in-primary-02",LABEL:"text-in-primary-07"},[oE.GREEN]:{CONTAINER:"bg-in-green-01",LABEL:"text-in-green-06"},[oE.YELLOW]:{CONTAINER:"bg-in-yellow-01",LABEL:"text-in-yellow-07"},[oE.RED]:{CONTAINER:"bg-in-red-01",LABEL:"text-in-red-07"}},EE={CONTAINER:"border-in-gray-02 border bg-in-white",LABEL:"text-in-gray-06"},lE={[rE.OUTLINED]:{[oE.GRAY]:EE,[oE.PRIMARY]:EE,[oE.GREEN]:EE,[oE.YELLOW]:EE,[oE.RED]:EE},[rE.FILLED]:iE,[rE.STATUS]:iE},sE={[oE.GRAY]:"text-in-gray-05",[oE.PRIMARY]:"text-in-primary-05",[oE.GREEN]:"text-in-green-04",[oE.YELLOW]:"text-in-yellow-04",[oE.RED]:"text-in-red-04"},cE={[rE.OUTLINED]:"text-[0.75rem]",[rE.FILLED]:"text-[0.75rem]",[rE.STATUS]:"text-[0.375rem]"},uE=({variant:e,theme:n,iconKey:r})=>t(ue,{weight:"fill",iconKey:r,className:W(cE[e],sE[n])}),dE=({label:e,variant:n,title:r,theme:o})=>t(ca,{variant:"body-12-m",color:"black",className:W(lE[n][o].LABEL),title:r,children:e}),OE=({label:e,variant:r=rE.STATUS,theme:o=oE.PRIMARY,className:a,title:i,...E})=>{const l=E.iconKey,s=r===rE.STATUS?"circle":l;return n("div",{className:W("inline-flex h-5 items-center justify-center gap-x-1 px-2",aE[r],lE[r][o].CONTAINER,a),children:[s&&t(uE,{variant:r,iconKey:s,theme:o}),t(dE,{label:e,variant:r,title:i,theme:o})]})},RE=()=>t("div",{className:"bg-in-gray-01 h-0.5 w-full shrink-0"}),pE="MODAL",SE="BOTTOM_SHEET",fE="FULL_SCREEN",AE={[pE]:"in-flex-h-stack-center",[SE]:"flex justify-center items-end",[fE]:"in-flex-h-stack-center"},CE={[pE]:"h-auto",[SE]:"h-auto",[fE]:"h-[100svh]"},ME="form",TE="div",NE="portal",IE=({target:e=NE,children:t})=>{const n=document.getElementById(e);return n?N(t,n):null},hE=()=>t("div",{className:"in-flex-h-stack-center bg-in-white/80 absolute left-0 top-0 h-full w-full",children:t(ue,{iconKey:"circle-notch",className:"text-in-primary-05 animate-spin text-[2.875rem]"})}),mE=({target:e,variant:n,isOpen:r,dimmed:o=!1,children:a,ref:i,onClose:E,useClickOutsideEvent:l,...s})=>{const{className:c,...O}=s;if(I({isLocked:r}),!r||!a)return null;const R=(e=>d(e))(a)?a:t("div",{children:a});return t(IE,{target:e,children:t("dialog",{ref:i,className:W(c,"open:animate-in-fade-in left-0 top-0 z-[1000] h-full w-full overflow-hidden",n===pE&&"in-safe-area-bottom",AE[n],o&&"bg-in-dimmed"),open:r,...O,children:u(R,{className:W(R.props.className,CE[n])})})})};mE.displayName="Overlay",mE.Loading=hE;const DE=({as:e=TE,className:o,children:a,isLoading:i=!1})=>{const E=e===ME,l=W(o,i&&"relative"),s=n(r,{children:[a,i&&t(hE,{})]});return E?t("form",{onSubmit:e=>e.preventDefault(),className:W(l,"in-flex-v-stack"),children:s}):t("div",{className:l,children:s})},bE=({description:e,className:n})=>t(ca,{as:"p",variant:"body-16-r",color:"gray-07",className:n,children:e}),gE=({confirmOption:e,cancelOption:r,possibleConfirm:o=!1,isPending:a=!1,isLoading:i=!1,isFull:E=!1,buttonSize:l=Z.MD,className:s})=>{const{label:c,onConfirm:u,tooltipOption:d}=e,{useTooltip:O=!o,content:R="필수 항목을 모두 입력해주세요"}=d??{},{label:p,onCancel:S}=r??{},f={size:l},A=W(E&&"flex-1",E&&S&&"max-w-[calc(50%-4px)]");return n("footer",{className:W(s,"in-flex-h-stack items-center gap-x-2",!E&&"justify-end"),children:[S&&t(pe,{...f,label:p||"취소",variant:"outlined",theme:"gray",onClick:()=>!a&&S?.(),disabled:a,className:A}),t(Xn,{content:R,hidden:!O,rootClassName:A,gap:10,children:t(pe,{...f,label:c,onClick:e=>{e.preventDefault(),o&&!a&&u()},disabled:!o||a||i,isPending:a,iconPosition:te.RIGHT,className:"w-full"})})]})},_E=({children:e,className:n})=>t("header",{className:W(n,"border-b-in-gray-02 border-b"),children:e}),yE=({title:e,variant:n=jn.HEADLINE_20_B,className:r})=>t(ca,{as:"strong",color:"black",variant:n,className:r,children:e}),LE=({useIcon:e=!1,iconOptions:r={},title:o})=>{const{color:a=Gn.PRIMARY_04,backgroundColor:i=Gn.PRIMARY_01,iconKey:E="exclamation-mark"}=r;return n("div",{className:"in-flex-v-stack-center gap-y-2",children:[e&&t(ue,{iconKey:E,className:W(Hn.TEXT[a],Hn.BACKGROUND[i],"rounded-in-full mb-1 h-[3.25rem] w-[3.25rem] text-[2.125rem]")}),t(yE,{title:o,className:"text-center"})]})},PE=({description:e})=>t(bE,{description:e,className:"mt-2 text-center"}),vE="info",FE="error",xE={[vE]:"primary-05",[FE]:"red-04"},YE=({id:e,feedback:r,theme:o=FE,className:a})=>n(ca,{id:e,as:"p",role:"alert","aria-live":"assertive",variant:"body-12-m",color:xE[o],className:W(a,"mt-1.5 items-baseline gap-x-0.5 break-all"),children:[t(ue,{iconKey:"info",weight:"fill",className:"translate-y-[0.083em]"}),r]}),wE=({id:e,badge:t,required:r,className:o,hidden:a,children:i})=>n(ca,{id:e,className:W(o,"mb-0.5",t&&"flex items-center gap-x-0.5",r&&'before:text-in-primary-06 before:content-["*"]'),hidden:a,color:"gray-07",variant:"body-14-m",children:[i,t&&t]}),BE=({htmlFor:e,children:n,hidden:r,className:o,...a})=>e?t("label",{htmlFor:e,hidden:r,className:"leading-none",children:t(wE,{...a,children:n})}):t(wE,{...a,hidden:r,children:n}),GE="input",UE="textarea",$E="search",HE={[GE]:"py-2 text-in-body-16-r h-10",[UE]:"py-3 text-in-body-16-r h-[10.625rem] relative",[$E]:"h-8 text-in-body-14-r"},WE="DEFAULT",kE="ERROR",VE="DISABLED",jE={[WE]:"border-in-gray-02 bg-in-white text-in-black",[kE]:"border-in-red-04 bg-in-white",[VE]:"bg-in-gray-02 text-in-gray-05 cursor-not-allowed border-in-gray-02"},JE=({ref:e,children:n,className:r,variant:o=GE,disabled:a=!1,isError:i=!1,"aria-disabled":E,onClick:l,role:s})=>t("div",{ref:e,role:s,"aria-disabled":E,onClick:l,className:W(r,HE[o],"rounded-in-8 in-flex-h-stack items-center justify-between gap-x-2 overflow-hidden border px-4 py-2",a&&jE.DISABLED,!a&&i&&jE.ERROR,!a&&!i&&jE.DEFAULT),children:n}),KE=["ArrowRight","ArrowDown","ArrowLeft","ArrowUp","Home","End"],XE=({ref:e,isOpen:n,children:r,className:o})=>t(mE,{ref:e,variant:SE,isOpen:n,dimmed:!0,children:t("div",{className:W(o,"animate-in-bottom-sheet in-safe-area-bottom shadow-in-30 rounded-t-in-24 bg-in-white"),children:r})});XE.displayName="BottomSheet",XE.ContentWrapper=({isLoading:e,children:n,className:r})=>t("div",{className:W("px-5 pb-5 pt-[2.125rem]"),children:t(DE,{isLoading:e,className:r,children:n})}),XE.Footer=({confirmOption:e,cancelOption:n,isPending:r,isLoading:o,possibleConfirm:a})=>t(gE,{confirmOption:e,cancelOption:n,isPending:r,isLoading:o,possibleConfirm:a,className:"px-5 pb-5",isFull:!0});const zE=({ref:e,isOpen:r,title:o,children:a,iconOptions:i,useIcon:E,confirmOption:l,cancelOption:s,possibleConfirm:c,isPending:u,isLoading:d,className:O})=>n(XE,{isOpen:r,ref:e,className:O,children:[n(XE.ContentWrapper,{isLoading:d,children:[t(LE,{title:o,iconOptions:i,useIcon:E}),a]}),t(XE.Footer,{confirmOption:l,cancelOption:s,possibleConfirm:c,isPending:u,isLoading:d})]});zE.displayName="ConfirmBottomSheet",zE.Description=PE;const qE=({ref:e,isOpen:r,title:o,children:a,confirmOption:i,cancelOption:E={label:"닫기"},isLoading:l,className:s})=>n(XE,{isOpen:r,ref:e,className:s,children:[n(XE.ContentWrapper,{isLoading:l,className:"in-flex-v-stack gap-y-3",children:[t("header",{children:t(yE,{title:o})}),a]}),t(XE.Footer,{confirmOption:i,cancelOption:E,possibleConfirm:!0})]});qE.displayName="InfoBottomSheet",qE.Description=bE;var QE=O((({month:e})=>n(ca,{variant:jn.BODY_16_M,color:Gn.BLACK,children:[e+1,"월"]})));const ZE=({children:e,setRef:n})=>t("div",{ref:n,role:"rowgroup",className:"in-flex-v-stack gap-y-1.5 px-4",children:e}),el={SINGLE:"single",RANGE:"range",UNBOUNDED:"unbounded"},tl={PREV:"prev",NEXT:"next"},nl={[tl.PREV]:{LABEL:"이전 년도",ICON_KEY:"caret-left"},[tl.NEXT]:{LABEL:"다음 년도",ICON_KEY:"caret-right"}},rl={TODAY:"today",STARTED:"started",ENDED:"ended",SELECTED_RANGE:"selected_range",SELECTED_RANGE_SINGLE:"selected_range_single",SELECTED_SINGLE:"selected_single",SELECTED_DISABLED:"selected_disabled",HOLIDAY_ENABLE:"holiday_enable",HOLIDAY_DISABLED:"holiday_disabled",SUNDAY_ENABLE:"sunday_enable",SUNDAY_DISABLED:"sunday_disabled",SATURDAY_ENABLE:"saturday_enable",SATURDAY_DISABLED:"saturday_disabled",DEFAULT_DISABLED:"default_disabled",DEFAULT_ENABLE:"default_enable"},ol={[rl.DEFAULT_ENABLE]:{COLOR:Gn.BLACK,BACKGROUND:Hn.BACKGROUND[Gn.WHITE],VARIANT:jn.BODY_14_R,ROUNDED:"rounded-none"},[rl.DEFAULT_DISABLED]:{COLOR:Gn.GRAY_03,BACKGROUND:Hn.BACKGROUND[Gn.WHITE],VARIANT:jn.BODY_14_R,ROUNDED:"rounded-none"},[rl.STARTED]:{COLOR:Gn.WHITE,BACKGROUND:Hn.BACKGROUND[Gn.PRIMARY_05],VARIANT:jn.BODY_14_B,ROUNDED:"rounded-l-in-12"},[rl.ENDED]:{COLOR:Gn.WHITE,BACKGROUND:Hn.BACKGROUND[Gn.PRIMARY_05],VARIANT:jn.BODY_14_B,ROUNDED:"rounded-r-in-12"},[rl.SELECTED_RANGE]:{COLOR:Gn.PRIMARY_06,BACKGROUND:Hn.BACKGROUND[Gn.PRIMARY_02],VARIANT:jn.BODY_14_R,ROUNDED:"rounded-none"},[rl.SELECTED_RANGE_SINGLE]:{COLOR:Gn.WHITE,BACKGROUND:Hn.BACKGROUND[Gn.PRIMARY_05],VARIANT:jn.BODY_14_B,ROUNDED:"rounded-in-12"},[rl.SELECTED_SINGLE]:{COLOR:Gn.WHITE,BACKGROUND:Hn.BACKGROUND[Gn.PRIMARY_05],VARIANT:jn.BODY_14_B,ROUNDED:"rounded-in-12"},[rl.SELECTED_DISABLED]:{COLOR:Gn.PRIMARY_06,BACKGROUND:Hn.BACKGROUND[Gn.PRIMARY_02],VARIANT:jn.BODY_14_R,ROUNDED:"rounded-none"},[rl.TODAY]:{COLOR:Gn.PRIMARY_06,BACKGROUND:Hn.BACKGROUND[Gn.WHITE],VARIANT:jn.BODY_14_R,ROUNDED:"rounded-none"},[rl.HOLIDAY_ENABLE]:{COLOR:Gn.RED_07,BACKGROUND:Hn.BACKGROUND[Gn.WHITE],VARIANT:jn.BODY_14_R,ROUNDED:"rounded-none"},[rl.HOLIDAY_DISABLED]:{COLOR:Gn.RED_03,BACKGROUND:Hn.BACKGROUND[Gn.WHITE],VARIANT:jn.BODY_14_R,ROUNDED:"rounded-none"},[rl.SATURDAY_ENABLE]:{COLOR:Gn.BLACK,BACKGROUND:Hn.BACKGROUND[Gn.WHITE],VARIANT:jn.BODY_14_R,ROUNDED:"rounded-none"},[rl.SATURDAY_DISABLED]:{COLOR:Gn.GRAY_03,BACKGROUND:Hn.BACKGROUND[Gn.WHITE],VARIANT:jn.BODY_14_R,ROUNDED:"rounded-none"},[rl.SUNDAY_ENABLE]:{COLOR:Gn.RED_07,BACKGROUND:Hn.BACKGROUND[Gn.WHITE],VARIANT:jn.BODY_14_R,ROUNDED:"rounded-none"},[rl.SUNDAY_DISABLED]:{COLOR:Gn.RED_03,BACKGROUND:Hn.BACKGROUND[Gn.WHITE],VARIANT:jn.BODY_14_R,ROUNDED:"rounded-none"}},al=[rl.STARTED,rl.ENDED,rl.SELECTED_RANGE,rl.SELECTED_SINGLE,rl.SELECTED_DISABLED,rl.SELECTED_RANGE_SINGLE],il=[rl.DEFAULT_DISABLED,rl.HOLIDAY_DISABLED,rl.SUNDAY_DISABLED,rl.SATURDAY_DISABLED,rl.SELECTED_DISABLED],El={SUNDAY:"sunday",MONDAY:"monday",TUESDAY:"tuesday",WEDNESDAY:"wednesday",THURSDAY:"thursday",FRIDAY:"friday",SATURDAY:"saturday"},ll={[El.SUNDAY]:{VALUE:0,LABEL:{SHORT:"일",LONG:"일요일"}},[El.MONDAY]:{VALUE:1,LABEL:{SHORT:"월",LONG:"월요일"}},[El.TUESDAY]:{VALUE:2,LABEL:{SHORT:"화",LONG:"화요일"}},[El.WEDNESDAY]:{VALUE:3,LABEL:{SHORT:"수",LONG:"수요일"}},[El.THURSDAY]:{VALUE:4,LABEL:{SHORT:"목",LONG:"목요일"}},[El.FRIDAY]:{VALUE:5,LABEL:{SHORT:"금",LONG:"금요일"}},[El.SATURDAY]:{VALUE:6,LABEL:{SHORT:"토",LONG:"토요일"}}},sl=Object.values(El),cl=12,ul=5,dl=sl.length,Ol=5*dl,Rl=Array.from({length:12},((e,t)=>t)),pl=Array.from({length:5},((e,t)=>t)),Sl=Array.from({length:dl},((e,t)=>t)),fl={TODAY:"오늘",HOLIDAY:"공휴일"};var Al=O((({day:e,label:r,variant:o,onClick:a})=>{const{COLOR:i,BACKGROUND:E,VARIANT:l,ROUNDED:s}=ol[o],c=al.includes(o),u=il.includes(o),d=!!r&&!c;return n("button",{className:W("in-flex-v-stack overflow-hidden pt-3",u&&"cursor-not-allowed",E,s),role:"gridcell","aria-selected":c,onClick:u?void 0:a,disabled:u,children:[t(ca,{color:i,variant:l,children:e}),d&&t(ca,{color:i,className:"text-[0.625rem] leading-none",children:r})]})}));const Cl=()=>t("div",{role:"gridcell","aria-hidden":!0}),Ml=({children:e,className:n})=>t("div",{role:"row",className:W("grid grid-cols-[repeat(7,_2.8125rem)]",n),children:e});var Tl=O((({month:e,daysIndex:n,daysOfMonth:r,handleClick:o})=>t(Ml,{className:"grid-rows-[2.8125rem]",children:Sl.map((a=>{const i=n*dl+a,E=r[i];if(null===E)return t(Cl,{},`${e}-${i}`);const{dateValue:l,key:s,...c}=E;return t(Al,{onClick:()=>o({dateValue:l}),...c},s)}))})));var Nl=O((({year:e})=>n(ca,{color:Gn.BLACK,variant:jn.HEADLINE_20_M,className:"w-[4.125rem] text-center",children:[e,"년"]})));const Il=({onYearChange:e,year:r})=>n("div",{className:"in-tablet:mb-3 text-in-gray-06 in-flex-h-stack-center mb-2 pt-3",children:[t(zn,{arialLabel:nl[tl.PREV].LABEL,iconKey:nl[tl.PREV].ICON_KEY,onClick:()=>e({navigateType:tl.PREV})}),t(Nl,{year:r}),t(zn,{arialLabel:nl[tl.NEXT].LABEL,iconKey:nl[tl.NEXT].ICON_KEY,onClick:()=>e({navigateType:tl.NEXT})})]});var hl=O((({week:e})=>{const{LABEL:{SHORT:n,LONG:r}}=ll[e];return t(ca,{role:"columnheader",variant:jn.BODY_14_R,className:"text-center","aria-label":r,color:Gn.GRAY_05,children:n})}));const ml=()=>t(Ml,{className:"border-b-in-gray-01 in-tablet:mb-3 mb-2 h-[1.625rem] border-b px-4",children:sl.map((e=>t(hl,{week:e},e)))}),Dl=i(void 0),bl=({value:e,variant:n,onChange:r,children:o})=>{const[a,i]=c(null),E=R((()=>{const t=null===e?null:{startDate:e.startDate?D({date:e.startDate,type:"dayjs"}):null,endDate:e.endDate?D({date:e.endDate,type:"dayjs"}):null};i(t)}),[e]),l={value:e,internalValue:a,variant:n,onChange:r,handleChange:()=>{r((()=>{if(null==a)return null;const{startDate:e,endDate:t}=a,r=null!==e?b({date:e}):null,o=null!==t?b({date:t}):null;return n===el.UNBOUNDED?{startDate:r,endDate:null}:{startDate:r,endDate:o}})())},setInternalValue:i,setCalendarInternalValue:E};return t(Dl.Provider,{value:l,children:o})},gl=()=>{const e=E(Dl);if(!e)throw new Error("useCalendarContext must be used within a CalendarProvider");return e},_l=()=>{const{internalValue:e,variant:t}=gl(),{startDate:n=null,endDate:r=null}=e??{};return{isHoliday:R((({dateValue:e,holidaysSet:t})=>t.has(b({date:e}))),[]),isStart:R((({dateValue:e})=>null!==n&&g({date:e,target:n})),[n]),isEnd:R((({dateValue:e})=>null!==r&&g({date:e,target:r})),[r]),isSelected:R((({dateValue:e})=>!(!n&&!r)&&(t===el.SINGLE&&n&&r?g({date:e,target:n})&&g({date:e,target:r}):t===el.RANGE?n&&null===r?g({date:e,target:n}):!(!n||!r)&&_({date:e,from:n,to:r}):!(t!==el.UNBOUNDED||!n)&&y({date:e,target:n,isInclude:!0}))),[n,r,t]),isDisabled:R((({dateValue:e,minDate:t,maxDate:n,disabledDays:r})=>{let o=r?.includes(b({date:e}))??!1;return o||(t&&n&&(o=!_({date:e,from:t,to:n})),t&&!n&&L({date:e,target:t})&&(o=!0),n&&!t&&y({date:e,target:n})&&(o=!0)),o}),[])}},yl=({week:e,useWeekend:t,variant:n,isDisabled:r,isHoliday:o,isSelected:a,isToday:i,isStart:E,isEnd:l})=>{const s=e===ll[El.SUNDAY].VALUE,c=e===ll[El.SATURDAY].VALUE;return a?n===el.SINGLE?rl.SELECTED_SINGLE:n===el.RANGE&&E&&l?rl.SELECTED_RANGE_SINGLE:E?rl.STARTED:l?rl.ENDED:r||!t&&(s||c)?rl.SELECTED_DISABLED:rl.SELECTED_RANGE:o?r?rl.HOLIDAY_DISABLED:rl.HOLIDAY_ENABLE:s?t?rl.SUNDAY_ENABLE:rl.SUNDAY_DISABLED:c?t?rl.SATURDAY_ENABLE:rl.SATURDAY_DISABLED:i?r?rl.DEFAULT_DISABLED:rl.TODAY:r?rl.DEFAULT_DISABLED:rl.DEFAULT_ENABLE},Ll=({year:e,holidays:t,externalDaysLabels:n,useWeekend:r=!1,minDate:o,maxDate:a,disabledDays:i})=>{const{variant:E}=gl(),{isHoliday:l,isStart:s,isEnd:c,isDisabled:u,isSelected:d}=_l(),{holidaysSet:O}=(({holidays:e})=>({holidaysSet:p((()=>new Set(e?.map((e=>b({date:e})))??[])),[e])}))({holidays:t}),S=R((({dateValue:e,isToday:t,isHoliday:r})=>{const o=b({date:e}),a=n?.find((e=>e.dateValue===o));return a?a.label:t?fl.TODAY:r?fl.HOLIDAY:null}),[n]),f=({year:e,month:t,day:n})=>`${e}-${F({number:t,length:2})}-${F({number:n,length:2})}`,A=R((({year:e,month:t,variant:n})=>{const E=b({date:P()}),R=v({date:f({year:e,month:t,day:1})}),p=x({date:R,unit:"month"}),A=Y({date:R}),C=Y({date:p}),M=w({date:R}),T=Array.from({length:Ol},((R,p)=>{const T=p-M+A;if(T<A||T>C)return null;const N=D({date:f({year:e,month:t,day:T}),type:"dayjs"}),I=b({date:N}),h=I===E;return{key:I,day:T,dateValue:N,label:S({dateValue:N,isToday:h,isHoliday:l({dateValue:N,holidaysSet:O})}),variant:yl({week:w({date:N}),useWeekend:r,variant:n,isDisabled:u({dateValue:N,minDate:o,maxDate:a,disabledDays:i}),isHoliday:l({dateValue:N,holidaysSet:O}),isSelected:d({dateValue:N}),isToday:h,isStart:s({dateValue:N}),isEnd:c({dateValue:N})})}}));return T}),[S,u,l,d,s,c,O,r,o,a,i]),C=p((()=>new Map(Rl.map((t=>[t,A({year:e,month:t+1,variant:E})])))),[A,e,E]);return{days:C}},Pl=({minDate:e,maxDate:t,holidays:n,disabledDays:r,externalDaysLabels:o,useWeekend:a=!1})=>{const i=S({}),E=S(null),[l,s]=c(B()),{onYearChange:u,handleClick:d}=(({monthlyWrapperRef:e,setYear:t})=>{const{internalValue:n,setInternalValue:r,variant:o}=gl(),{isStart:a,isDisabled:i,isEnd:E}=_l(),l=R((({dateValue:e})=>{a({dateValue:e})||r({startDate:e,endDate:e})}),[a]),s=R((({dateValue:e})=>{if(!n)return r({startDate:e,endDate:null});const{startDate:t,endDate:o}=n;if(t&&!o){if(a({dateValue:e}))return r({startDate:e,endDate:e});const n=L({date:e,target:t});return r((()=>n?{startDate:e,endDate:t}:{startDate:t,endDate:e}))}return t&&o&&(E({dateValue:e})||a({dateValue:e})),r({startDate:e,endDate:null})}),[n,a,E]),c=R((({dateValue:e})=>{a({dateValue:e})||r({startDate:e,endDate:null})}),[a]),u=p((()=>({[el.SINGLE]:l,[el.RANGE]:s,[el.UNBOUNDED]:c})),[l,s,c]);return{handleClick:R((({dateValue:e})=>{i({dateValue:e})||u[o]({dateValue:e})}),[o,u,i]),onYearChange:R((({navigateType:n})=>{n===tl.PREV&&t((e=>e-1)),n===tl.NEXT&&t((e=>e+1)),e.current?.scrollTo({top:0,behavior:"instant"})}),[e.current])}})({monthlyWrapperRef:E,setYear:s}),{days:O}=Ll({holidays:n,externalDaysLabels:o,useWeekend:a,year:l,minDate:e,maxDate:t,disabledDays:r});return{models:{days:O,year:l,monthlyWrapperRef:E,monthlyRefs:i},operations:{setYear:s,onYearChange:u,handleClick:d}}},vl=({monthlyRefs:e,minDate:t,setYear:n})=>{const r=S(!1),{value:o}=gl(),a=({year:t,month:r})=>{n(t),(({month:t})=>{e.current[t]&&e.current[t].scrollIntoView({behavior:"instant",block:"start"})})({month:r})},i=({value:e,minDate:t})=>{if(e&&e.startDate){const{startDate:t}=e;return{year:B({date:t}),month:G({date:t})}}const n=P(),r=D({type:"dayjs",date:t}),o=y({date:n,target:r,isInclude:!0});return{year:B(o?{date:n}:{date:r}),month:G(o?{date:n}:{date:r})}};l((()=>{if(r.current)return;r.current=!0;const{year:e,month:n}=i({value:o,minDate:t});a({year:e,month:n})}),[])},Fl=({id:e,className:r,labelId:o,minDate:a,maxDate:i,holidays:E,disabledDays:s,externalDaysLabels:c,useWeekend:u=!1})=>{const{models:{days:d,monthlyWrapperRef:O,monthlyRefs:R,year:p},operations:{onYearChange:S,handleClick:f,setYear:A}}=Pl({minDate:a,maxDate:i,holidays:E,disabledDays:s,externalDaysLabels:c,useWeekend:u});return(()=>{const{setCalendarInternalValue:e}=gl();l((()=>{e()}),[])})(),vl({monthlyRefs:R,minDate:a,setYear:A}),n("div",{id:e,"aria-labelledby":o,className:W(r,"in-flex-v-stack overflow-hidden p-4"),children:[t(Il,{onYearChange:S,year:p}),n("div",{role:"grid",className:"in-flex-v-stack items-center overflow-hidden",children:[t(ml,{}),t("div",{ref:O,role:"presentation",className:"in-flex-v-stack gap-y-2.5 overflow-y-scroll",children:Rl.map((e=>{const r=d.get(e);return r?n(ZE,{setRef:t=>R.current[e]=t,children:[t(QE,{month:e}),pl.map((n=>t(Tl,{month:e,daysIndex:n,daysOfMonth:r,handleClick:f},`${e}-${n}`)))]},e):null}))})]})]})},xl={SM:"sm",MD:"md"},Yl="default",wl="selected",Bl="disabled",Gl={[xl.SM]:"h-[1.125rem] w-[1.125rem] text-[0.75rem]",[xl.MD]:"h-6 w-6 text-[1rem]"},Ul={[xl.SM]:"body-14-r",[xl.MD]:"body-16-r"},$l={[Yl]:{icon:"border-in-gray-02 bg-in-white",label:"text-in-black"},[wl]:{icon:"peer-checked:border-in-primary-05 peer-checked:bg-in-primary-05",label:"peer-checked:text-in-black"},[Bl]:{icon:"peer-disabled:border-in-gray-02 peer-disabled:bg-in-gray-02",label:"peer-disabled:text-in-gray-05"}},Hl=({size:e})=>t("div",{className:W("rounded-in-4 flex items-center justify-center overflow-hidden border-[0.125rem]",Gl[e],...Object.values($l).map((({icon:e})=>e))),"aria-hidden":!0,children:t(ue,{className:"text-in-white",iconKey:"check"})}),Wl=({size:e,label:n,labelId:r})=>t(ca,{className:W(...Object.values($l).map((({label:e})=>e))),id:r,color:"black",variant:Ul[e],children:n}),kl=({size:e=xl.SM,checked:r=!1,disabled:o=!1,label:a,className:i,onChange:E})=>{const l=f(),s=`${l}-label`;return n("label",{className:W(i,"cursor-pointer",a&&"flex items-center gap-x-2","has-[.checkbox:disabled]:cursor-not-allowed"),htmlFor:l,children:[t("input",{"aria-labelledby":s,checked:r,className:"checkbox peer hidden",disabled:o,id:l,type:"checkbox",onChange:E}),t(Hl,{size:e}),a&&t(Wl,{label:a,labelId:s,size:e})]})},Vl=({label:e,onClick:r,disabled:o=!1,className:a,ariaLabel:i})=>n("button",{className:W(a,"text-in-body-14-r text-in-primary-06 bg-in-primary-02 rounded-in-full flex h-[1.5rem] items-center overflow-hidden px-3",!o&&"gap-x-1",o&&"cursor-not-allowed"),"aria-label":i??`${e} 제거`,disabled:o,type:"button",onClick:e=>{e.stopPropagation(),r?.(e)},title:e,children:[t("span",{className:"truncate",children:e}),!o&&t(ue,{className:"text-[0.75rem]",iconKey:"x","aria-hidden":!0})]}),jl=({ref:e,className:n,children:r,ariaLabel:o})=>t("ul",{"aria-label":o??void 0,className:n,ref:e,children:A.map(r,(e=>d(e)?t("li",{children:e},e.key):null))}),Jl=({value:e,variant:t})=>{if(!e)return!1;const{startDate:n,endDate:r}=e;return t===el.UNBOUNDED?null!==n&&null===r:null!==n&&null!==r},Kl=({close:e,disabled:n})=>{const{variant:r,handleChange:o,internalValue:a}=gl(),i=n||!Jl({value:a,variant:r});return t("div",{className:"border-t-in-gray-02 w-full border-t p-4",children:t(pe,{label:"선택 완료",theme:Q.PRIMARY,size:Z.SM,onClick:()=>{o(),e()},className:"w-full",disabled:i})})},Xl={SELECT:"select",SEARCH_SELECT:"search-select",MULTI_SEARCH_SELECT:"multi-search-select"},zl=i(void 0),ql=({id:e,required:n=!1,children:r})=>t(zl.Provider,{value:{id:e,required:n},children:r}),Ql=i(void 0),Zl=({ref:e,isOpen:n,onToggle:r,disabled:o=!1,isError:a=!1,children:i,placeholder:E="선택해주세요"})=>{const l={ref:e,isOpen:n,onToggle:r,disabled:o,isError:a,placeholder:E};return t(Ql.Provider,{value:l,children:i})},es=()=>{const e=E(Ql);if(!e)throw new Error("useSelectTriggerContext must be used within a SelectTriggerContext");return e},ts="-",ns={BOTTOM:"bottom",TOP:"top",LEFT:"left",RIGHT:"right"},rs={BOTTOM_LEFT:`${ns.BOTTOM}${ts}${ns.LEFT}`,BOTTOM_RIGHT:`${ns.BOTTOM}${ts}${ns.RIGHT}`,TOP_LEFT:`${ns.TOP}${ts}${ns.LEFT}`,TOP_RIGHT:`${ns.TOP}${ts}${ns.RIGHT}`},os={[ns.BOTTOM]:ns.TOP,[ns.TOP]:ns.BOTTOM,[ns.LEFT]:ns.RIGHT,[ns.RIGHT]:ns.LEFT},as=({popoverRef:e,rootRef:t,isOpen:n})=>{const r=t=>{const n=e.current;if(n&&!n.contains(t.target))return t.preventDefault(),t.stopPropagation(),!1},o=e=>{e.removeEventListener("scroll",r),e.removeEventListener("wheel",r),e.removeEventListener("touchmove",r)};l((()=>{if(!e.current)return;const a=t?.current??document.body,i=["overflow-y-auto","overflow-auto","overflow-x-auto","overflow-scroll","overflow-x-scroll","overflow-y-scroll"].map((e=>`.${e}`)).join(", "),E=[a,...a.querySelectorAll(i)];return E.length?(E.forEach((e=>{const t=e;n?(e=>{e.addEventListener("scroll",r,{passive:!1}),e.addEventListener("wheel",r,{passive:!1}),e.addEventListener("touchmove",r,{passive:!1})})(t):o(t)})),()=>E.forEach((e=>o(e)))):void 0}),[e,t,n])},is=({isOpen:e,triggerRef:t,popoverRef:n,rootRef:r,setStyle:o,offset:a,applyMaxWidth:i,placement:E,threshold:s})=>{l((()=>{if(!e)return;const l=t.current,c=n.current,u=r?.current;if(!l||!c)return;const d=()=>{requestAnimationFrame((()=>{const e=(({root:e,trigger:t,popover:n,offset:r=0,applyMaxWidth:o=!1,placement:a=rs.BOTTOM_RIGHT,threshold:i=0})=>{const E=t.getBoundingClientRect(),l=n.getBoundingClientRect(),s=document.body.getBoundingClientRect(),c=e?.getBoundingClientRect()??s,{left:u,bottom:d,right:O,top:R,width:p}=E,{width:S,height:f}=l,{width:A,height:C}=s,{right:M,bottom:T,left:N,top:I}=c,h=T-i,m=I+i,D=d+f+r,b=R-r-f,g=M-i,_=N+i,y=u+S,L=O-S,P={[ns.BOTTOM]:{flag:D>h,flippedPosition:os[ns.BOTTOM]},[ns.TOP]:{flag:b<m,flippedPosition:os[ns.TOP]},[ns.LEFT]:{flag:y>g,flippedPosition:os[ns.LEFT]},[ns.RIGHT]:{flag:L<_,flippedPosition:os[ns.RIGHT]}},[v,F]=a.split(ts).map((e=>{const t=e,{flag:n,flippedPosition:r}=P[t];return n?r:t})),x={minWidth:p,maxWidth:o?p:"none",top:void 0,bottom:void 0,left:void 0,right:void 0};return v===ns.BOTTOM&&(x.top=d+r),v===ns.TOP&&(x.bottom=C-R+r),F===ns.LEFT&&(x.left=u),F===ns.RIGHT&&(x.right=A-O),x})({root:u,trigger:l,popover:c,offset:a,applyMaxWidth:i,placement:E,threshold:s});o((t=>({...t,...e,opacity:1})))}))};d();const O=new ResizeObserver(d);return O.observe(document.body),O.observe(l),O.observe(c),u&&O.observe(u),()=>{o((e=>({...e,opacity:0}))),O.disconnect()}}),[t,n,r,e,a,i,E,s])},Es=({trigger:e,rootRef:o,children:a,offset:i=8,placement:E=rs.BOTTOM_LEFT,applyMaxWidth:s=!1,useClickOutsideEvent:O=!0,useAutoFocus:R=!0,isOpen:p,onPopoverClose:A,threshold:C=2})=>{const M=S(null),{execute:T}=h(),{triggerProps:N,popoverProps:I}=(({trigger:e,isOpen:t})=>{const n=f(),{ref:r,...o}=e.props;return{triggerProps:({triggerRef:e})=>({...o,ref:r?U(r,e):e,"aria-haspopup":"dialog","aria-expanded":t,"aria-controls":t?n:void 0}),popoverProps:({popoverRef:e,style:t})=>({ref:e,role:"dialog",id:n,style:t,tabIndex:-1,className:"focus-within:outline-none"})}})({trigger:e,isOpen:p}),{contentRef:D}=m({onClose:e=>{const t=!M.current||M.current.contains(e.target);T({disabled:t,fn:!t&&A?.()})},useClickOutsideEvent:O&&p}),{style:b}=(({offset:e,applyMaxWidth:t,triggerRef:n,popoverRef:r,rootRef:o,isOpen:a,placement:i,threshold:E})=>{const[l,s]=c({position:"fixed",zIndex:1e4,opacity:0});return is({triggerRef:n,popoverRef:r,rootRef:o,setStyle:s,isOpen:a,offset:e,applyMaxWidth:t,placement:i,threshold:E}),{style:l}})({offset:i,applyMaxWidth:s,triggerRef:M,rootRef:o,popoverRef:D,isOpen:p,placement:E,threshold:C});return as({popoverRef:D,rootRef:o,isOpen:p}),(({popoverRef:e,useAutoFocus:t,isOpen:n})=>{l((()=>{const r=e.current;n&&t&&r&&r.focus()}),[n,e,t])})({popoverRef:D,isOpen:p,useAutoFocus:R}),d(e)&&d(a)?n(r,{children:[u(e,{...N({triggerRef:M})}),p&&t(IE,{children:t("div",{...I({popoverRef:D,style:b}),children:a})})]}):null};var ls=Object.freeze({__proto__:null,default:Es});const ss=({className:e,isSelected:n,children:r,onClick:o,label:a})=>t("li",{role:"option",className:W(e,"rounded-in-8 shrink-0 cursor-pointer overflow-hidden",!n&&"bg-in-white"),"aria-selected":n,title:a,onClick:e=>{e.preventDefault(),o()},children:r}),cs=({children:e,className:n,onSubmit:r,...o})=>{const a=W(n,"in-flex-v-stack");return r?t("form",{...o,className:a,onSubmit:r,children:e}):t("div",{...o,className:a,children:e})},us=({required:e=!1,className:r,trigger:o,isError:a=!1,placeholder:i,label:E,children:l,popoverOption:s={},feedback:u,disabled:d=!1,type:O,controls:R,labelId:p})=>{const S=f(),[A,C]=c(!1),M=!A&&a&&!!u&&!d,T="function"==typeof l,{onPopoverClose:N,useClickOutsideEvent:I=!0,...h}=s,m=()=>!d&&C(!1),D={...h,useClickOutsideEvent:I,onPopoverClose:I?()=>{I&&!d&&(m(),N?.())}:void 0};return n(cs,{...(()=>{const e={"aria-haspopup":"listbox","aria-expanded":A,"aria-controls":R,"aria-labelledby":p,"aria-describedby":M?S:void 0};return O===Xl.SELECT&&(e.role="listbox"),O!==Xl.SEARCH_SELECT&&O!==Xl.MULTI_SEARCH_SELECT||(e.role="combobox",e["aria-autocomplete"]="list",e["aria-multiselectable"]=!0),e})(),className:r,children:[E&&t(ql,{id:p,required:e,children:E}),t(Es,{isOpen:A&&!d,trigger:t(Zl,{isOpen:A,onToggle:()=>{d||C((e=>!e))},disabled:d,isError:M,placeholder:i,children:o}),...D,children:T?l({close:m}):l}),M&&t(YE,{id:S,feedback:u,className:"flex"})]})};us.displayName="SelectBase",us.Label=({label:e,hidden:n,badge:r})=>{const{id:o,required:a}=(()=>{const e=E(zl);if(!e)throw new Error("useSelectLabelContext must be used within a SelectLabelContext");return e})();return t(BE,{id:o,badge:r,required:a,hidden:n,children:e})},us.PopoverWrapper=({children:e,className:n,useMobile:r=!1})=>t("div",{className:W(n,"animate-in-fade-in-select rounded-in-8 shadow-in-8 bg-in-white overflow-hidden",r&&"in-tablet:static in-tablet:inset-auto in-flex-v-stack in-tablet:block fixed inset-0"),children:e}),us.Item=ss;const ds=()=>n("li",{className:"in-flex-v-stack-center flex-1",children:[t(ue,{iconKey:"empty",className:"text-in-gray-04 bg-in-gray-01 rounded-in-full mb-[0.375rem] h-[1.875rem] w-[1.875rem] text-[1rem]","aria-hidden":!0}),t(ca,{variant:"body-14-r",color:"gray-04",children:"검색 결과가 없습니다"})]}),Os=({children:e,className:r,subFixIcon:o})=>{const{ref:a,isOpen:i,onToggle:E,disabled:l,isError:s}=es();return n(JE,{ref:a,role:"button",disabled:l,"aria-disabled":l,isError:s,onClick:e=>{e.preventDefault(),E()},className:r,children:[e,o&&d(o)?u(o,{className:W(o.props.className,"text-in-gray-04 shrink-0"),weight:"fill","aria-hidden":!0}):t(ue,{iconKey:i?"caret-up":"caret-down",className:"text-in-gray-04 shrink-0 text-[0.875rem]",weight:"fill","aria-hidden":!0})]})},Rs=({displayValue:e,hasValue:n})=>{const{placeholder:r,disabled:o}=es();return t(ca,{className:"w-full truncate",variant:"body-16-r",color:o?Gn.GRAY_05:n?Gn.BLACK:Gn.GRAY_04,children:e||r})},ps=({onClick:e})=>t("button",{type:"button","aria-label":"초기화",className:"shrink-0 cursor-pointer",onClick:t=>{t.stopPropagation(),e?.(t)},children:t(ue,{iconKey:"x-circle",weight:"fill",className:"text-in-gray-05 text-[1.125rem]"})}),Ss=()=>{const{placeholder:e="",disabled:r}=es(),{value:o,variant:a,setInternalValue:i,onChange:E}=gl(),l=!!o&&Jl({value:o,variant:a}),s=l&&!r;return n(Os,{subFixIcon:t(ue,{iconKey:"calendar-dots",className:"text-[1.125rem]"}),children:[t(Rs,{displayValue:(()=>{if(!o)return e;const{startDate:t,endDate:n}=o;return a===el.SINGLE&&Jl({value:o,variant:el.SINGLE})?b({date:t}):a===el.RANGE&&Jl({value:o,variant:el.RANGE})?`${b({date:t})} ~ ${b({date:n})}`:a===el.UNBOUNDED&&Jl({value:o,variant:el.UNBOUNDED})?`${b({date:t})} 부터`:e})(),hasValue:l}),s&&t(ps,{onClick:()=>{i(null),E(null)}})]})},fs=({className:e,type:n,label:r,disabled:o,feedback:a,required:i,isError:E,placeholder:l,controls:s,labelId:c,popoverOption:u,children:d})=>{const{setCalendarInternalValue:O}=gl(),R={...u??{},onPopoverClose:()=>{u?.onPopoverClose?.(),O()}};return t(us,{className:e,type:n,label:r,trigger:t(Ss,{}),disabled:o,feedback:a,required:i,isError:E,placeholder:l,controls:s,labelId:c,popoverOption:R,children:d})},As=({className:e,badge:r,label:o,hiddenLabel:a,disabled:i,feedback:E,required:l,isError:s,placeholder:c,value:u,popoverOption:d,variant:O,minDate:R,maxDate:p,holidays:S,disabledDays:A,externalDaysLabels:C,onChange:M})=>{const T=f(),N=f();return t(bl,{value:u,variant:O,onChange:M,children:t(fs,{className:e,type:O===el.SINGLE?Xl.SELECT:Xl.MULTI_SEARCH_SELECT,label:t(us.Label,{badge:r,label:o,hidden:a}),disabled:i,feedback:E,required:l,isError:s,placeholder:c,controls:N,labelId:T,popoverOption:d,children:({close:e})=>t(us.PopoverWrapper,{useMobile:!0,children:n(Ei,{direction:"column",className:"in-tablet:min-w-[23.75rem] in-tablet:max-w-full in-tablet:min-h-[34svh] in-tablet:max-h-[46svh] in-tablet:w-auto mx-auto h-full w-full min-w-[22.5rem] max-w-[26.875rem] justify-between",children:[t(Fl,{className:"in-tablet:min-h-[calc(34svh-4.125rem)] in-tablet:max-h-[calc(46svh-4.125rem)] mx-auto",id:N,labelId:T,minDate:R,maxDate:p,holidays:S,disabledDays:A,externalDaysLabels:C}),t(Kl,{close:e})]})})})})},Cs=({isOpen:e,ref:n,children:r,className:o})=>t(mE,{variant:pE,isOpen:e,ref:n,dimmed:!0,children:t("div",{className:W(o,"rounded-in-16 shadow-in-24 in-flex-v-stack bg-in-white max-h-[86dvh]"),children:r})});Cs.displayName="Dialog",Cs.Header=({children:e})=>t(_E,{className:"px-[1.875rem] py-5",children:e}),Cs.ContentWrapper=({as:e,isLoading:n,children:r,className:o})=>t(DE,{as:e,isLoading:n,className:W(o,"flex-1 overflow-y-auto px-[1.875rem] py-[1.625rem]"),children:r}),Cs.Footer=({confirmOption:e,cancelOption:n,isPending:r,isLoading:o,possibleConfirm:a})=>t(gE,{confirmOption:e,cancelOption:n,isPending:r,isLoading:o,possibleConfirm:a,buttonSize:Z.LG,className:"border-in-gray-02 border-t px-[1.875rem] py-[1.125rem]"}),Cs.Divider=RE;const Ms=({children:e,isOpen:r,ref:o,title:a,className:i,cancelOption:E,confirmOption:l,possibleConfirm:s,isPending:c,isLoading:u})=>n(Cs,{isOpen:r,ref:o,className:i,children:[t(Cs.Header,{children:t(yE,{title:a})}),t(Cs.ContentWrapper,{as:ME,isLoading:u,className:"gap-y-6",children:e}),t(Cs.Footer,{cancelOption:E,confirmOption:l,possibleConfirm:s,isPending:c,isLoading:u})]}),Ts=({children:e,isOpen:r,ref:o,title:a,className:i,isLoading:E,confirmOption:l})=>{const{label:s="닫기",onConfirm:c}=l;return n(Cs,{isOpen:r,ref:o,className:i,children:[t(Cs.Header,{children:t(yE,{title:a})}),t(Cs.ContentWrapper,{isLoading:E,children:e}),t(Cs.Footer,{confirmOption:{label:s,onConfirm:c},possibleConfirm:!0})]})},Ns=i(void 0),Is=({toggleValues:e,toggleOptions:n,selectValues:r,selectOptions:o,children:a,onChange:i})=>{const E={toggleValues:e,toggleOptions:n,selectValues:r,selectOptions:o,onChange:i};return t(Ns.Provider,{value:E,children:a})},hs=()=>{const e=E(Ns);if(!e)throw new Error("useFilterContext must be used within a FilterProvider");return e},ms={MULTI_SELECT:"multi_select",DATE_SINGLE:"date",DATE_RANGE:"date_range"},Ds={IDLE:"idle",SELECT_OPTION:"select_option"},bs=i(void 0),gs=({children:e})=>{const[n,r]=c(Ds.IDLE),[o,a]=c(null),[i,E]=c(null),l={filterStep:n,setFilterStep:r,currentOptions:o,setCurrentOptions:a,currentSelectValue:i,setCurrentSelectValue:E};return t(bs.Provider,{value:l,children:e})},_s=()=>{const e=E(bs);if(!e)throw new Error("useFilterPanelContext must be used within a FilterPanelProvider");return e},ys=()=>{const{setFilterStep:e,setCurrentSelectValue:n}=_s();return t(zn,{className:"text-in-black",arialLabel:"뒤로가기",iconKey:"caret-left",onClick:()=>{e(Ds.IDLE),n(null)}})},Ls=({className:e,onClose:n})=>t(zn,{className:W("text-[1rem]",e),arialLabel:"닫기",iconKey:"x",onClick:n}),Ps=({close:e})=>{const{setFilterStep:n,setCurrentSelectValue:r}=_s();return t(Ls,{className:"text-in-gray-06 in-tablet:block ml-2 hidden",onClose:()=>{n(Ds.IDLE),r(null),e()}})},vs=({close:e})=>{const{setFilterStep:n}=_s();return t(Ls,{className:"text-in-black in-tablet:hidden block",onClose:()=>{n(Ds.IDLE),e()}})},Fs=()=>{const{toggleValues:e=null,selectValues:n=null,onChange:r}=hs(),{filterStep:o,currentOptions:a,setCurrentSelectValue:i}=_s();return t(pe,{theme:Q.GRAY,variant:q.OUTLINED,iconOption:{iconKey:"arrow-clockwise"},size:Z.SM,onClick:()=>{if(o===Ds.SELECT_OPTION){if(null===n)return;return i(null),void r({toggleValues:e,selectValues:{...n,[a.key]:null}})}return r({toggleValues:null,selectValues:null})},label:"초기화"})},xs=()=>{const{filterStep:e,currentOptions:n}=_s(),r=e===Ds.IDLE?"필터":n.label;return t(ca,{as:"strong",className:"mr-auto",color:"black",variant:jn.BODY_16_B,children:r})},Ys=({close:e})=>{const{filterStep:r}=_s();return n(Ei,{as:"header",className:"border-b-in-gray-02 in-tablet:px-4 in-tablet:h-[3.75rem] h-[4rem] border-b px-5",align:{items:"center"},shrink:"0",children:[r===Ds.IDLE&&t(vs,{close:e}),r===Ds.SELECT_OPTION&&t(ys,{}),t(xs,{}),t(Fs,{}),t(Ps,{close:e})]})};var ws={exports:{}};function Bs(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Gs,Us,$s,Hs,Ws,ks={},Vs={};function js(){return Us||(Us=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return d}});const t=To()._(a),n=(Gs||(Gs=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"LoadableContext",{enumerable:!0,get:function(){return t}});const t=To()._(a).default.createContext(null);"production"!==process.env.NODE_ENV&&(t.displayName="LoadableContext")}(Vs)),Vs);const r=[],o=[];let i=!1;function E(e){let t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then((e=>(n.loading=!1,n.loaded=e,e))).catch((e=>{throw n.loading=!1,n.error=e,e})),n}function l(e,a){let E=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},a),l=null;
|
|
971
|
-
/** @type LoadableSubscription */function c(){if(!l){
|
|
972
|
-
// eslint-disable-next-line @typescript-eslint/no-use-before-define
|
|
973
|
-
const t=new s(e,E);l={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return l.promise()}
|
|
974
|
-
// Server only
|
|
975
|
-
// Client only
|
|
976
|
-
if("undefined"==typeof window&&r.push(c),!i&&"undefined"!=typeof window){
|
|
977
|
-
// require.resolveWeak check is needed for environments that don't have it available like Jest
|
|
978
|
-
const e=E.webpack&&"function"==typeof Bs.resolveWeak?E.webpack():E.modules;e&&o.push((t=>{for(const n of e)if(t.includes(n))return c()}))}function u(e,r){!function(){c();const e=t.default.useContext(n.LoadableContext);e&&Array.isArray(E.modules)&&E.modules.forEach((t=>{e(t)}))}();const o=t.default.useSyncExternalStore(l.subscribe,l.getCurrentValue,l.getCurrentValue);return t.default.useImperativeHandle(r,(()=>({retry:l.retry})),[]),t.default.useMemo((()=>{return o.loading||o.error?t.default.createElement(E.loading,{isLoading:o.loading,pastDelay:o.pastDelay,timedOut:o.timedOut,error:o.error,retry:l.retry}):o.loaded?t.default.createElement((n=o.loaded)&&n.default?n.default:n,e):null;var n}),[e,o])}return u.preload=()=>c(),u.displayName="LoadableComponent",t.default.forwardRef(u)}class s{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};const{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout((()=>{this._update({pastDelay:!0})}),t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout((()=>{this._update({timedOut:!0})}),t.timeout))),this._res.promise.then((()=>{this._update({}),this._clearTimeouts()})).catch((e=>{this._update({}),this._clearTimeouts()})),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach((e=>e()))}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function c(e){return l(E,e)}function u(e,t){let n=[];for(;e.length;){let r=e.pop();n.push(r(t))}return Promise.all(n).then((()=>{if(e.length)return u(e,t)}))}c.preloadAll=()=>new Promise(((e,t)=>{u(r).then(e,t)})),c.preloadReady=e=>(void 0===e&&(e=[]),new Promise((t=>{const n=()=>(i=!0,t());
|
|
979
|
-
// We always will resolve, errors should be handled within loading UIs.
|
|
980
|
-
u(o,e).then(n,n)}))),"undefined"!=typeof window&&(window.__NEXT_PRELOADREADY=c.preloadReady);const d=c}(ks)),ks}var Js=Ws?Hs:(Ws=1,$s||($s=1,function(t,n){Object.defineProperty(n,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(n,{
|
|
981
|
-
/**
|
|
982
|
-
* This function lets you dynamically import a component.
|
|
983
|
-
* It uses [React.lazy()](https://react.dev/reference/react/lazy) with [Suspense](https://react.dev/reference/react/Suspense) under the hood.
|
|
984
|
-
*
|
|
985
|
-
* Read more: [Next.js Docs: `next/dynamic`](https://nextjs.org/docs/app/building-your-application/optimizing/lazy-loading#nextdynamic)
|
|
986
|
-
*/
|
|
987
|
-
default:function(){return l},noSSR:function(){return E}});const r=e,o=To()._(js()),a="undefined"==typeof window;
|
|
988
|
-
// Normalize loader to return the module as form { default: Component } for `React.lazy`.
|
|
989
|
-
// Also for backward compatible since next/dynamic allows to resolve a component directly with loader
|
|
990
|
-
// Client component reference proxy need to be converted to a module.
|
|
991
|
-
function i(e){return{default:(null==e?void 0:e.default)||e}}function E(e,t){
|
|
992
|
-
// This check is necessary to prevent react-loadable from initializing on the server
|
|
993
|
-
if(
|
|
994
|
-
// Removing webpack and modules means react-loadable won't try preloading
|
|
995
|
-
delete t.webpack,delete t.modules,!a)return e(t);const n=t.loading;
|
|
996
|
-
// This will only be rendered on the server side
|
|
997
|
-
return()=>(0,r.jsx)(n,{error:null,isLoading:!0,pastDelay:!1,timedOut:!1})}function l(e,t){let n=o.default,a={
|
|
998
|
-
// A loading component is not required, so we default it
|
|
999
|
-
loading:e=>{let{error:t,isLoading:n,pastDelay:o}=e;if(!o)return null;if("production"!==process.env.NODE_ENV){if(n)return null;if(t)
|
|
1000
|
-
return(0,r.jsxs)("p",{children:[t.message,
|
|
1001
|
-
|
|
1002
|
-
(0,r.jsx)("br",{}),t.stack]})}return null}};
|
|
1003
|
-
// Support for direct import(), eg: dynamic(import('../hello-world'))
|
|
1004
|
-
// Note that this is only kept for the edge case where someone is passing in a promise as first argument
|
|
1005
|
-
// The react-loadable babel plugin will turn dynamic(import('../hello-world')) into dynamic(() => import('../hello-world'))
|
|
1006
|
-
// To make sure we don't execute the import without rendering first
|
|
1007
|
-
e instanceof Promise?a.loader=()=>e
|
|
1008
|
-
// Support for having import as a function, eg: dynamic(() => import('../hello-world'))
|
|
1009
|
-
:"function"==typeof e?a.loader=e:"object"==typeof e&&(a={...a,...e}),
|
|
1010
|
-
// Support for passing options, eg: dynamic(import('../hello-world'), {loading: () => <p>Loading something</p>})
|
|
1011
|
-
a={...a,...t};const l=a.loader;
|
|
1012
|
-
// support for disabling server side rendering, eg: dynamic(() => import('../hello-world'), {ssr: false}).
|
|
1013
|
-
// coming from build/babel/plugins/react-loadable-plugin.js
|
|
1014
|
-
return a.loadableGenerated&&(a={...a,...a.loadableGenerated},delete a.loadableGenerated),"boolean"!=typeof a.ssr||a.ssr?n({...a,loader:()=>null!=l?l().then(i):Promise.resolve(i((()=>null)))}):(delete a.webpack,delete a.modules,E(n,a))}("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)}(ws,ws.exports)),Hs=ws.exports),Ks=qn(Js);const Xs=({children:e})=>t(ca,{className:"in-flex-h-stack bg-in-primary-02 rounded-in-4 mx-2 gap-x-1 overflow-hidden px-1",color:"primary-05",variant:jn.BODY_14_M,children:e}),zs=({value:e})=>{const[t,n]=e[0].split("~");return{startDate:t,endDate:n}},qs=({selectedValues:e,type:n})=>{const{startDate:r,endDate:o}=zs({value:e});return t(Xs,{children:t("span",{className:"truncate",children:n===ms.DATE_SINGLE?r:`${r} ~ ${o}`})})},Qs=({selectedValues:e,optionKey:r})=>{const{selectOptions:o}=hs(),a=o.find((e=>e.key===r)),i=e.slice(0,2).map((e=>a.options.find((t=>t.value===e)).displayValue)),E=e.length,l=E>2;return n(Xs,{children:[t("span",{className:"truncate",children:i.join("·")}),l&&n("span",{children:["+",E-2]})]})},Zs=({label:e,optionKey:r,options:o,type:a})=>{const{selectValues:i}=hs(),{setFilterStep:E,setCurrentOptions:l}=_s(),s=i?.[r];return n("li",{className:"in-flex-h-stack in-tablet:px-3 in-tablet:h-[2rem] h-[2.75rem] items-center px-4",role:"button",onClick:()=>{E(Ds.SELECT_OPTION),l({key:r,label:e,options:o,type:a})},children:[t(ca,{color:"black",className:"mr-auto shrink-0",variant:jn.BODY_14_M,children:e}),s&&(a===ms.MULTI_SELECT?t(Qs,{selectedValues:s,optionKey:r}):t(qs,{selectedValues:s,type:a})),t(ue,{iconKey:"caret-right",className:"text-in-gray-05 text-[1rem]"})]})},ec=()=>{const{selectOptions:e}=hs();return t("ul",{className:"in-flex-v-stack in-tablet:gap-y-1 in-tablet:px-5 gap-y-2 overflow-y-auto p-4",children:e.map((e=>C(Zs,{...e,key:e.key,optionKey:e.key})))})},tc={SM:"sm",MD:"md"},nc={DEFAULT:"default",SELECTED:"selected",DISABLED:"disabled"},rc={[tc.SM]:"gap-x-[0.5rem]",[tc.MD]:"gap-x-[0.625rem]"},oc={[tc.SM]:"h-[1.25rem] w-[2.25rem] before:h-[1rem] before:w-[1rem]",[tc.MD]:"h-[1.5rem] w-[2.75rem] before:h-[1.25rem] before:w-[1.25rem]"},ac={[tc.SM]:"body-14-r",[tc.MD]:"body-18-r"},ic={[nc.DEFAULT]:{icon:"bg-in-gray-03 before:bg-in-white before:-translate-x-1/2",label:""},[nc.SELECTED]:{icon:"peer-checked:bg-in-primary-05 peer-checked:before:translate-x-1/2",label:""},[nc.DISABLED]:{icon:"peer-disabled:bg-in-gray-02 peer-disabled:before:bg-in-gray-01",label:"peer-disabled:text-in-gray-05"}},Ec=({size:e})=>t("div",{className:W("rounded-in-full before:rounded-in-full relative flex items-center justify-center overflow-hidden p-[0.125rem] transition-[background-color] before:absolute before:transition-[translate]",oc[e],...Object.values(ic).map((({icon:e})=>e))),"aria-hidden":!0}),lc=({label:e,labelId:n,size:r,color:o=Gn.BLACK,className:a})=>t(ca,{color:o,className:W(a,"transition-[color]",...Object.values(ic).map((({label:e})=>e))),id:n,variant:ac[r],children:e}),sc=({size:e=tc.SM,checked:r,disabled:o=!1,label:a,labelColor:i=Gn.BLACK,labelClassName:E,className:l,name:s,onChange:c})=>{const u=f(),d=`${u}-label`;return n("label",{className:W(l,"group cursor-pointer",a&&`flex items-center ${rc[e]}`,"has-[.toggle:disabled]:cursor-not-allowed"),htmlFor:u,children:[t("input",{"aria-labelledby":d,checked:r,className:"toggle peer hidden",disabled:o,id:u,type:"checkbox",onChange:c,name:s}),t(Ec,{size:e}),a&&t(lc,{label:a,labelId:d,size:e,color:i,className:E})]})};var cc=O((({label:e,optionKey:r,checked:o,handleChange:a})=>{const i={checked:o,name:r,onChange:({target:{name:e}})=>a({optionKey:e})};return n("li",{role:"option",className:"in-flex-h-stack in-tablet:px-0 justify-between px-2",onClick:e=>{e.target===e.currentTarget&&a({optionKey:r})},children:[t(ca,{as:"span",color:"black",variant:jn.BODY_14_R,children:e}),t(sc,{className:"in-tablet:flex hidden",size:tc.SM,...i}),t(sc,{className:"in-tablet:hidden flex",size:tc.MD,...i})]})}));const uc=()=>{const{toggleOptions:e,onChange:n,toggleValues:r=[],selectValues:o={}}=hs(),a=({optionKey:e})=>{const t=r??[],a=t.includes(e)?t.filter((t=>t!==e)):[...t,e];n({toggleValues:a,selectValues:o})};return t("ul",{className:"in-flex-v-stack bg-in-gray-01 border-b-in-gray-02 in-tablet:gap-y-3 in-tablet:py-4 in-tablet:px-6 gap-y-[1.125rem] border-b px-5 py-[1.625rem]",children:e.map((({label:e,key:n})=>t(cc,{optionKey:n,label:e,checked:r?.includes(n)??!1,handleChange:a},n)))})},dc=Ks((()=>import("./FilterSelectOptionPanel-BnooYJhk.js")),{ssr:!1}),Oc=()=>{const{toggleOptions:e,selectOptions:r}=hs(),{filterStep:o}=_s(),a=e.length>0,i=r.length>0;return o===Ds.IDLE?n(Ei,{direction:"column",className:"w-[22.5rem]",children:[a&&t(uc,{}),i&&t(ec,{})]}):o===Ds.SELECT_OPTION?t(dc,{}):null},Rc=()=>{const{toggleValues:e=[],selectValues:r={}}=hs(),{ref:o,onToggle:a,disabled:i}=es(),E=(e?.length??0)+(null!==r?Object.values(r).filter((e=>null!==e)).length:0),l=E>0;return t("div",{ref:o,role:"button",className:W("rounded-in-8 border-in-gray-02 flex h-8 w-full items-center justify-between gap-x-1 overflow-hidden border px-4 py-2",l&&"border-in-primary-05 text-in-primary-06 bg-white",i&&"bg-in-gray-02 border-in-gray-04 text-in-gray-04 cursor-not-allowed"),"aria-disabled":i,onClick:e=>{e.preventDefault(),a()},children:n(Ei,{gap:{row:"1"},align:{items:"center"},children:[t(ue,{iconKey:"funnel-simple",className:W("text-in-gray-06 text-[1rem]",l&&"text-inherit"),weight:"regular","aria-hidden":!0}),t(ca,{variant:"body-14-m",color:l?void 0:"gray-07",children:"필터"}),l&&n("dl",{className:"bg-in-primary-02 rounded-in-full in-flex-v-stack-center h-[1.125rem] w-[1.125rem] text-center",children:[t("dt",{className:"sr-only",children:"선택된 필터 옵션 갯수"}),t("dd",{className:"text-in-body-12-b",children:E})]})]})})};function pc(e,t,{signal:n,edges:r}={}){let o,a=null;const i=null!=r&&r.includes("leading"),E=null==r||r.includes("trailing"),l=()=>{null!==a&&(e.apply(o,a),o=void 0,a=null)};let s=null;const c=()=>{null!=s&&clearTimeout(s),s=setTimeout((()=>{s=null,E&&l(),u()}),t)},u=()=>{null!==s&&(clearTimeout(s),s=null),o=void 0,a=null},d=function(...e){if(n?.aborted)return;o=this,a=e;const t=null==s;c(),i&&t&&l()};return d.schedule=c,d.cancel=u,d.flush=()=>{l()},n?.addEventListener("abort",u,{once:!0}),d}const Sc=({value:e,label:t})=>`${e}-${t}`,fc=i(void 0),Ac=({selectListResultId:e,selectedListResultId:n,children:r,value:o,onChange:a,options:i})=>{const[E,l]=c([]),[s,u]=c(null),d=({key:e,isSelected:t})=>l((n=>n.map((n=>n.key===e?{...n,isSelected:t}:n)))),O=R(pc((({value:e})=>{u(e)}),300),[]),p=R((()=>{l((()=>{const e=o.map((({value:e})=>e));return i.map((t=>({...t,key:Sc({value:t.value,label:t.label}),isSelected:e.includes(t.value)})))}))}),[o,i]),S={onRemove:({key:e})=>d({key:e,isSelected:!1}),onSelect:({key:e})=>d({key:e,isSelected:!0}),onAllSelect:e=>{const{checked:t}=e.target;l((e=>e.map((e=>({...e,isSelected:t})))))},value:o,internalOptions:E,selectListResultId:e,selectedListResultId:n,onChange:()=>{a(E.filter((e=>e.isSelected)).map((({value:e,label:t})=>({value:e,label:t}))))},onRemoveTriggerValueClick:({key:e})=>{a(E.filter((t=>t.key!==e&&t.isSelected)).map((({value:e,label:t})=>({value:e,label:t}))))},onSearch:O,currentSearchValue:s,setMultiSelectInternalOptions:p,setCurrentSearchValue:u};return t(fc.Provider,{value:S,children:r})},Cc=()=>{const e=E(fc);if(!e)throw new Error("useMultiSelectBaseContext must be used within a MultiSelectBaseContext");return e},Mc=({close:e})=>{const{onChange:n,onSearch:r}=Cc();return t("div",{className:"border-t-in-gray-02 border-t p-4",children:t(pe,{label:"선택 완료",theme:Q.PRIMARY,size:Z.SM,onClick:()=>{r({value:null}),n(),e()},className:"w-full"})})},Tc=({isSelected:e})=>t(ue,{iconKey:"check",className:W("text-in-gray-03 text-[1rem]",e&&"text-in-primary-06"),"aria-hidden":!0}),Nc=()=>{const e=f(),r=`${e}-label`,{internalOptions:o,onAllSelect:a}=Cc(),i=o.every((({isSelected:e})=>e));return n("label",{htmlFor:e,className:"group flex gap-x-1 hover:cursor-pointer",children:[t("input",{id:e,className:"peer hidden","aria-labelledby":r,type:"checkbox",onChange:a,checked:i}),t("span",{id:r,className:"peer-checked:text-in-primary-06 group-hover:text-in-primary-06",children:"전체"}),t(Tc,{isSelected:i})]})},Ic=({label:e,count:r,className:o})=>n("dl",{className:W(o,"text-in-gray-05 flex items-center"),children:[t("dt",{children:e}),n("dd",{children:["(",r,")"]})]}),hc=({count:e})=>{const{selectListResultId:r}=Cc();return n("div",{className:"text-in-body-14-r text-in-gray-05 mb-2 flex items-center justify-between px-3",children:[t("strong",{id:r,className:"sr-only",children:`${e}개 항목 검색됨`}),t(Ic,{label:"검색결과",count:e}),t(Nc,{})]})},mc=({children:e,optionKey:r,label:o,className:a,isSelected:i})=>{const{onSelect:E,onRemove:l}=Cc();return n(ss,{isSelected:i,className:W(a,"hover:bg-in-primary-02 flex items-center justify-between",i&&"bg-in-primary-02"),onClick:()=>i?l({key:r}):E({key:r}),label:o,children:[e,t(Tc,{isSelected:i})]})},Dc=({optionKey:e,label:n,isSelected:r})=>{const{currentSearchValue:o}=Cc();return t(mc,{optionKey:e,className:W("text-in-black hover:text-in-primary-06 h-[2rem] gap-x-2 px-3",r&&"text-in-primary-06"),label:n,isSelected:r,children:t("span",{className:"text-in-body-14-r truncate",children:$({text:n,targetText:o??""})})})},bc=({children:e})=>{const{selectListResultId:n}=Cc();return t("ul",{className:"in-flex-v-stack h-full gap-y-1 overflow-y-auto",role:"listbox","aria-label":"선택 가능한 목록","aria-labelledby":n,"aria-multiselectable":!0,children:e})},gc=()=>{const{internalOptions:e,currentSearchValue:o}=Cc(),a=o?e.filter((({label:e})=>e.includes(o))):e,i=!!o&&0===a.length;return n(r,{children:[t(hc,{count:a.length}),t(bc,{children:i?t(ds,{}):a.map((({label:e,isSelected:n,key:r})=>t(Dc,{optionKey:r,label:e,isSelected:n},r)))})]})},_c=({optionKey:e,label:n})=>{const{onRemove:r}=Cc();return t("li",{role:"option",className:"flex items-stretch",title:n,children:t(Vl,{label:n,onClick:()=>r({key:e})})})},yc=({className:e,children:n})=>{const{selectedListResultId:r}=Cc();return t("ul",{"aria-label":"선택된 목록",className:W(e,"in-flex-h-stack in-tablet:h-full in-tablet:in-flex-v-stack in-tablet:overflow-y-auto in-tablet:overflow-x-hidden gap-2 overflow-x-auto overflow-y-hidden"),"aria-describedby":r,children:n})},Lc=()=>{const{internalOptions:e}=Cc(),n=e.filter((({isSelected:e})=>e));return t(yc,{className:"in-tablet:h-auto h-[1.5rem]",children:n.map((({label:e,key:n})=>t(_c,{optionKey:n,label:e},n)))})},Pc=({count:e,disabled:t})=>n(ca,{color:t?"gray-05":"black",variant:"body-14-r",className:"w-[2.375rem] shrink-0",children:["+",e]}),vc=200,Fc=5e3,xc=6,Yc={INPUT:"input",TEXTAREA:"textarea"},wc=i(void 0),Bc=({feedbackId:e,isError:n=!1,children:r})=>t(wc.Provider,{value:{feedbackId:e,isError:n},children:r}),Gc=({type:e="button",iconKey:n,weight:r="fill",disabled:o=!1,ariaLabel:a,className:i,onClick:E})=>t("button",{type:e,"aria-label":a,className:W(i,"shrink-0"),onClick:e=>{o||E?.(e)},disabled:o,children:t(ue,{iconKey:n,weight:r,className:"text-in-gray-05 text-[1.125rem]"})}),Uc=Ks((()=>Promise.resolve().then((function(){return ls}))),{ssr:!1}),$c=({as:e=Yc.INPUT,value:r,variant:o,addonEnd:a,popover:i,isFocused:l,setIsFocused:s,onReset:c,ref:u,className:d,required:O=!1,disabled:R=!1,readOnly:p=!1,inputClassName:S,placeholder:f="입력해주세요",...A})=>{const{feedbackId:C,isError:M}=(()=>{const e=E(wc);if(!e)throw new Error("useInputContext must be used within a InputContext");return e})(),T=R||p,N=e===Yc.INPUT,I=!!c&&r&&!T,h={readOnly:p,required:O,value:r??"",disabled:T,placeholder:f,onFocus:i?()=>s(!0):void 0,onBlur:i?()=>s(!1):void 0,"aria-invalid":M,"aria-errormessage":C,className:W(S,"input placeholder-in-gray-04 disabled:placeholder-in-gray-05 w-full text-inherit focus:outline-none disabled:cursor-not-allowed"),...A},m=()=>{const e=N?t("input",{ref:u,type:A.type??"text",...h}):t("textarea",{ref:u,...h});return n(JE,{variant:o,isError:M,disabled:T,className:W(d,!M&&"focus-within:border-in-primary-05 focus-within:outline-in-gray-02 focus-within:outline-2"),children:[e,t(Gc,{ariaLabel:"초기화",disabled:T,iconKey:"x-circle",onClick:c,className:W(I?"visible":"invisible")}),a&&a]})};return i?t(Uc,{trigger:m(),isOpen:l,offset:6,onPopoverClose:()=>s(!1),useAutoFocus:!1,applyMaxWidth:!0,children:t("div",{children:i})}):m()},Hc=({id:e,value:r,label:o,hiddenLabel:a,feedback:i,isError:E=!1,required:l=!1,badge:s,children:c,className:u,onSubmit:d})=>{const O=f(),R=!(!r||r.replaceAll(" ","").length<=0)&&!E;return n(cs,{className:W(u,"group"),onSubmit:d&&(e=>{d&&(e.preventDefault(),e.currentTarget.reset(),d(e))}),children:[t(BE,{htmlFor:e,badge:s,required:l,hidden:a,children:o}),t(Bc,{feedbackId:i?O:void 0,isError:E,children:c}),i&&t(YE,{id:O,feedback:i,theme:E?"error":"info",className:W(R?"hidden group-has-[.input:focus]:flex":"flex")})]})},Wc=({value:e,name:t,onChange:n,regCallback:r,maxLength:o})=>{const[a,i]=c(null);return l((()=>{i(e)}),[e]),{inputValue:a,handleChange:e=>{let t=e.target.value;t.length>o&&(t=t.slice(0,o)),r&&(t=r(t)),e.target.value=t,i(t),n?.(e)},handleReset:()=>{const e={target:{value:"",name:t},currentTarget:{value:"",name:t}};i(""),n?.(e)}}},kc=({label:e,hiddenLabel:n,feedback:r,badge:o,isError:a,required:i,value:E,name:l,maxLength:s=200,onChange:u,regCallback:d,className:O,...R})=>{const p=f(),[S,A]=c(!1),{inputValue:C,handleChange:M,handleReset:T}=Wc({value:E,name:l,onChange:u,regCallback:d,maxLength:s});return t(Hc,{id:p,value:C,label:e,hiddenLabel:n,feedback:r,isError:a,badge:o,required:i,className:O,children:t($c,{id:p,value:C,name:l,isFocused:S,setIsFocused:A,onChange:M,onReset:T,required:i,...R})})},Vc=({rules:e,value:r})=>t("ul",{className:"shadow-in-4 rounded-in-8 bg-in-white flex flex-col gap-y-0.5 px-2.5 py-2",children:Object.entries(e).map((([e,{message:o,regex:a}])=>n("li",{className:W("text-in-body-12-m flex gap-x-0.5",r&&a.test(r)?"text-in-green-05":"text-in-gray-05"),children:[t(ue,{iconKey:"check"}),o]},e)))}),jc=({label:e,hiddenLabel:n,feedback:r,badge:o,isError:a=!1,required:i=!1,className:E,value:l,name:s,rules:u,autoComplete:d="off",disabled:O=!1,readOnly:R=!1,maxLength:p=200,onChange:S,regCallback:A,...C})=>{const M=f(),T=O||R,[N,I]=c(!1),[h,m]=c(!1),{inputValue:D,handleChange:b}=Wc({value:l,name:s,onChange:S,regCallback:A,maxLength:p}),g=!!u&&Object.entries(u).some((([e,{regex:t}])=>!!D&&!t.test(D)));return t(Hc,{id:M,value:D,label:e,hiddenLabel:n,feedback:r,isError:a,badge:o,required:i,className:E,children:t($c,{id:M,type:h?"text":"password",value:D,name:s,onChange:b,autoComplete:d,required:i,readOnly:R,disabled:O,isFocused:N&&!a&&g,setIsFocused:I,popover:u&&t(Vc,{rules:u,value:D}),addonEnd:t(Gc,{onClick:()=>m((e=>!e)),ariaLabel:h?"비밀번호 숨기기":"비밀번호 보기",disabled:T,iconKey:h?"eye":"eye-slash"}),...C})})},Jc=({label:e,hiddenLabel:n,feedback:r,badge:o,isError:a=!1,required:i=!1,className:E,value:l,name:s,autoComplete:u="off",disabled:d=!1,readOnly:O=!1,maxLength:R=200,onChange:p,regCallback:S,onSubmit:A,...C})=>{const M=f(),T=d||O,[N,I]=c(!1),{inputValue:h,handleChange:m,handleReset:D}=Wc({value:l,name:s,onChange:p,regCallback:S,maxLength:R});return t(Hc,{id:M,value:h,label:e,hiddenLabel:n,feedback:r,isError:a,badge:o,required:i,className:E,onSubmit:A?e=>{T||(D(),A(e))}:void 0,children:t($c,{id:M,variant:$E,value:h,name:s,onChange:m,autoComplete:u,required:i,readOnly:O,disabled:d,onReset:D,isFocused:N,setIsFocused:I,addonEnd:t(Gc,{type:"submit",ariaLabel:"검색",iconKey:"magnifying-glass",weight:"bold",disabled:T}),...C})})},Kc=({label:e,feedback:r,badge:o,isError:a=!1,required:i=!1,value:E,name:l,onChange:s,regCallback:u,className:d,disabled:O=!1,readOnly:R=!1,maxLength:p=5e3,hiddenLabel:S,...A})=>{const C=f(),[M,T]=c(!1),{inputValue:N,handleChange:I}=Wc({value:E,name:l,onChange:s,regCallback:u,maxLength:p});return t(Hc,{id:C,label:e,feedback:r,isError:a,badge:o,required:i,className:d,value:N,hiddenLabel:S,children:t($c,{id:C,as:Yc.TEXTAREA,variant:UE,value:N,name:l,onChange:I,required:i,readOnly:R,disabled:O,isFocused:M,setIsFocused:T,className:"flex-col",inputClassName:"resize-none h-full",addonEnd:n(ca,{variant:"body-12-m",color:"gray-03",className:"absolute bottom-[0.312rem] right-[0.687rem]",children:[t(ca,{variant:"body-12-m",as:"strong",color:"gray-07",children:String(N).length}),`/${p}`]}),...A})})},Xc=()=>{const{selectedListResultId:e,internalOptions:o}=Cc(),a=o.filter((({isSelected:e})=>e)).length,i=o.map((e=>e.value)).join(", ");return n(r,{children:[t("strong",{id:e,className:"sr-only",children:`${a}개 항목 선택됨: ${i}`}),t(Ic,{className:"text-in-body-12-m in-tablet:text-in-body-14-r in-tablet:py-2.5",label:"선택",count:a})]})},zc=({className:e,labelId:r,searchPanel:o,selectedPanel:a,inputOption:i})=>{const{currentSearchValue:E,onSearch:s}=Cc(),{placeholder:c="검색어를 입력해주세요",...u}=i??{};return(()=>{const{setMultiSelectInternalOptions:e}=Cc();l((()=>{e()}),[])})(),n("div",{"aria-describedby":r,className:W(e,"in-tablet:in-flex-h-stack in-flex-v-stack flex-col-reverse overflow-auto"),children:[n("div",{className:"in-flex-v-stack bg-in-white in-tablet:min-w-[21.875rem] in-tablet:p-4 overflow-hidden p-[1.25rem]",children:[t(Jc,{...u,label:"검색",hiddenLabel:!0,className:"in-tablet:mb-[0.875rem] mb-[1.125rem]",placeholder:c,value:E??"",onChange:e=>s({value:e.target.value})}),o]}),n("div",{className:"bg-in-gray-01 in-flex-v-stack in-tablet:shrink-0 in-tablet:w-[14.375rem] in-tablet:gap-y-[0.625rem] in-tablet:p-4 gap-y-[0.75rem] p-[1.25rem]",children:[t(Xc,{}),a]})]})},qc=()=>{const{placeholder:e,disabled:r}=es(),{value:o,onRemove:a,onRemoveTriggerValueClick:i}=Cc(),E=o.length>0,l=E&&o.length>2;return t(Os,{children:(()=>{if(!E)return t(ca,{variant:"body-16-r",color:"gray-04",children:e});const s=o.slice(0,2);return n("div",{className:"flex w-full gap-x-1 overflow-hidden",children:[t("div",{className:W("flex gap-x-1",l?"w-[calc(100%-2.625rem)]":"w-full"),children:s.map((({label:e,value:n})=>{const o=Sc({value:n,label:e}),E=s.length>=2;return t(Vl,{className:W(E?"max-w-1/2":"max-w-full"),label:e,disabled:r,onClick:()=>{r||(i({key:o}),a({key:o}))}},n)}))}),l&&t(Pc,{disabled:r,count:o.length-2})]})})()})},Qc=({children:e,className:n,label:r,disabled:o,feedback:a,required:i,isError:E,placeholder:l,controls:s,labelId:c,popoverOption:u})=>{const{setMultiSelectInternalOptions:d,setCurrentSearchValue:O}=Cc(),R={...u??{},onPopoverClose:()=>{u?.onPopoverClose?.(),d(),O(null)}};return t(us,{className:n,type:Xl.MULTI_SEARCH_SELECT,label:r,trigger:t(qc,{}),disabled:o,feedback:a,required:i,isError:E,placeholder:l,controls:s,labelId:c,popoverOption:R,children:e})},Zc=({inputOption:e,popoverOption:r,value:o,label:a,badge:i,disabled:E,feedback:l,required:s,isError:c,placeholder:u,className:d,options:O,hiddenLabel:R,onChange:p})=>{const S=f(),A=f(),C=f(),M=`${S} ${A}`;return t(Ac,{onChange:p,value:o,options:O,selectListResultId:S,selectedListResultId:A,children:t(Qc,{className:d,label:t(us.Label,{label:a,badge:i,hidden:R}),disabled:E,feedback:l,required:s,isError:c,placeholder:u,controls:M,labelId:C,popoverOption:r,children:({close:r})=>t(us.PopoverWrapper,{useMobile:!0,children:n(Ei,{direction:"column",className:"in-tablet:min-w-[36.25rem] in-tablet:max-w-auto in-tablet:min-h-[34svh] in-tablet:max-h-[46svh] in-tablet:w-auto mx-auto h-full w-full min-w-[22.5rem] max-w-[26.875rem] justify-between",children:[t(zc,{className:"in-tablet:min-h-[calc(34svh-4.125rem)] in-tablet:max-h-[calc(44svh-4.125rem)]",labelId:C,inputOption:e,searchPanel:t(gc,{}),selectedPanel:t(Lc,{})}),t(Mc,{close:r})]})})})})};const eu=i(void 0),tu=({id:e,labelId:n,close:r,value:o,onSelect:a,children:i})=>{const E={id:e,labelId:n,close:r,value:o,onSelect:a};return t(eu.Provider,{value:E,children:i})},nu=()=>{const e=E(eu);if(!e)throw new Error("useSingleSelectListContext must be used within a SingleSelectListContext");return e},ru=({displayValue:e,disabled:r=!1,onSelect:o})=>{const a=!!e&&!r;return n(Os,{children:[t(Rs,{displayValue:e,hasValue:!!e}),a&&t(ps,{onClick:()=>{o({value:null})}})]})},ou=({className:e,label:n,popoverOption:r,disabled:o,badge:a,feedback:i,required:E,isError:l,onSelect:s,value:c,displayValue:u,placeholder:d,type:O,children:R,popoverWrapperClassName:p,hiddenLabel:S})=>{const A=f(),C=f();return t(us,{type:O,className:e,label:t(us.Label,{label:n,badge:a,hidden:S}),popoverOption:r,trigger:t(ru,{displayValue:u,disabled:o,onSelect:s}),disabled:o,feedback:i,required:E,isError:l,placeholder:d,controls:A,labelId:C,children:({close:e})=>t(tu,{id:A,labelId:C,value:c,onSelect:s,close:e,children:t(us.PopoverWrapper,{className:W("in-flex-v-stack",p),children:R})})})},au=({label:e,value:n,children:r})=>{const{value:o,onSelect:a,close:i}=nu(),E=n===o;return t(ss,{className:W("text-in-body-16-r text-in-black hover:bg-in-primary-01 h-[2.5rem] truncate px-4 py-2",E&&"bg-in-primary-01"),onClick:()=>{a({value:n}),i()},isSelected:E,label:e,children:r})},iu=({children:e})=>{const{id:n,labelId:r}=nu();return t("ul",{id:n,role:"listbox",className:"in-flex-v-stack flex-1 gap-y-0.5 overflow-y-auto","aria-labelledby":r,children:e})},Eu=({label:e,hiddenLabel:r,badge:o,children:a,feedback:i,className:E,placeholder:l,isError:s=!1,disabled:c=!1,required:u=!1,popoverOption:d,inputOption:O,onSelect:R,displayValue:p,value:S})=>{const{placeholder:f="검색어를 입력해주세요",value:C=null,...M}=O??{},T=A.count(a)>0;return n(ou,{type:Xl.SEARCH_SELECT,className:E,label:e,hiddenLabel:r,popoverOption:d,disabled:c,feedback:i,required:u,isError:s,value:S,badge:o,onSelect:R,displayValue:p,placeholder:l,popoverWrapperClassName:"max-h-[19rem] gap-y-[0.875rem] p-[0.875rem]",children:[t(Jc,{...M,label:"검색",value:C,placeholder:f,hiddenLabel:!0}),t(iu,{children:T?a:t(ds,{})})]})};Eu.displayName="SearchSelect",Eu.Item=({children:e,value:n,label:r})=>t(au,{value:n,label:r,children:e});const lu=({label:e,value:n,badge:r,children:o,feedback:a,className:i,placeholder:E,isError:l=!1,disabled:s=!1,required:c=!1,popoverOption:u,hiddenLabel:d,onSelect:O,displayValue:R})=>t(ou,{type:Xl.SELECT,className:i,label:e,hiddenLabel:d,popoverOption:u,disabled:s,feedback:a,required:c,isError:l,value:n,badge:r,onSelect:O,displayValue:R,placeholder:E,popoverWrapperClassName:"max-h-[14.875rem] p-1",children:t(iu,{children:o})});lu.displayName="Select",lu.Item=({children:e,value:n,label:r})=>t(au,{value:n,label:r,children:e});const su=({className:e,label:r,disabled:o,popoverOption:a,toggleValues:i,toggleOptions:E,selectValues:l,selectOptions:s,onChange:c})=>{const u=f(),d=f();return t(Is,{toggleValues:i,toggleOptions:E,selectValues:l,selectOptions:s,onChange:c,children:t(us,{className:e,type:Xl.MULTI_SEARCH_SELECT,label:t(us.Label,{label:r,hidden:!0}),trigger:t(Rc,{}),disabled:o,controls:d,labelId:u,popoverOption:{...a,useClickOutsideEvent:!1},children:({close:e})=>t(us.PopoverWrapper,{useMobile:!0,children:t(gs,{children:n(Ei,{direction:"column",className:"in-tablet:min-h-[34svh] in-tablet:max-h-[46svh] in-tablet:w-auto mx-auto h-full w-[22.5rem]",children:[t(Ys,{close:e}),t(Oc,{})]})})})})})},cu=({isOpen:e,ref:n,children:r,className:o})=>t(mE,{variant:fE,isOpen:e,ref:n,dimmed:!0,children:t("div",{className:W(o,"in-flex-v-stack bg-in-white w-full overflow-hidden"),children:r})});cu.displayName="FullScreenDialog",cu.Header=({title:e,onClose:r,isPending:o})=>n(_E,{className:"in-flex-h-stack items-center px-5 py-3",children:[t(zn,{iconKey:"x",arialLabel:"닫기",onClick:r,theme:"hover-white",disabled:o}),t(yE,{variant:"body-16-b",title:e})]}),cu.ContentWrapper=({as:e,isLoading:n,children:r,className:o})=>t(DE,{as:e,isLoading:n,className:W(o,"flex-1 overflow-y-auto px-5 py-10"),children:r}),cu.Divider=RE;const uu=({children:e,isOpen:r,ref:o,title:a,className:i,confirmOption:E,cancelOption:l,possibleConfirm:s,isPending:c,isLoading:u})=>{const{onCancel:d}=l;return n(cu,{isOpen:r,ref:o,className:i,children:[t(cu.Header,{title:a,onClose:d,isPending:c}),t(cu.ContentWrapper,{as:ME,isLoading:u,className:"gap-y-8",children:e}),t(gE,{confirmOption:E,cancelOption:l,possibleConfirm:s,isPending:c,isLoading:u,className:"border-t-in-gray-02 border-t px-5 py-3",isFull:!0})]})},du=({children:e,isOpen:r,ref:o,title:a,className:i,isLoading:E,onClose:l})=>n(cu,{isOpen:r,ref:o,className:i,children:[t(cu.Header,{onClose:l,title:a}),t(cu.ContentWrapper,{isLoading:E,children:e})]}),Ou=({description:e,className:n})=>t(ca,{as:"p",variant:"body-12-m",color:"black",className:n,children:e}),Ru=({title:e,children:r,className:o,innerClassName:a,...i})=>t(Es,{...i,children:n("div",{className:W(o,"shadow-in-4 rounded-in-8 bg-in-white"),children:[t("header",{className:"border-in-gray-01 border-b py-2.5 pl-4 pr-5",children:t(ca,{as:"strong",variant:"body-14-b",color:"black",children:e})}),t("div",{className:W("p-4",a),children:r})]})});Ru.displayName="InfoPopover",Ru.Description=Ou;const pu=({isOpen:e,ref:n,children:r,className:o})=>t(mE,{ref:n,variant:pE,isOpen:e,dimmed:!0,children:t("div",{className:W(o,"rounded-in-16 shadow-in-24 animate-in-popup bg-in-white px-[1.875rem] pb-6"),children:r})});pu.displayName="Modal",pu.ContentWrapper=({children:e,isLoading:n})=>t(DE,{isLoading:n,className:"mb-6",children:e}),pu.Footer=({confirmOption:e,cancelOption:n,isPending:r,isLoading:o,possibleConfirm:a})=>t(gE,{confirmOption:e,cancelOption:n,isPending:r,isLoading:o,possibleConfirm:a,isFull:!0});const Su=({ref:e,isOpen:r,title:o,children:a,iconOptions:i,useIcon:E=!1,confirmOption:l,cancelOption:s,possibleConfirm:c,isPending:u,isLoading:d,className:O})=>n(pu,{isOpen:r,ref:e,className:W(O,"pt-10"),children:[n(pu.ContentWrapper,{isLoading:d,children:[t(LE,{title:o,iconOptions:i,useIcon:E}),a]}),t(pu.Footer,{confirmOption:l,cancelOption:s,possibleConfirm:c,isPending:u,isLoading:d})]});Su.displayName="ConfirmModal",Su.Description=PE;const fu=({ref:e,isOpen:r,title:o,children:a,confirmOption:i,cancelOption:E={label:"닫기"},isLoading:l,className:s})=>n(pu,{isOpen:r,ref:e,className:W(s,"pt-5"),children:[n(pu.ContentWrapper,{isLoading:l,children:[t("header",{className:"mb-5",children:t(yE,{title:o})}),a]}),t(pu.Footer,{confirmOption:i,cancelOption:E,possibleConfirm:!0})]});fu.displayName="InfoModal",fu.Description=bE;const Au={DARK:"dark",LIGHT:"light"},Cu={[Aa.SM]:{root:{className:"gap-x-1.5"},profile:{align:{items:"center"},gap:{row:"1"}}},[Aa.MD]:{root:{className:"gap-x-2.5"},profile:{direction:"column",className:"-space-y-0.5"}}},Mu={[Au.DARK]:{name:{color:"white"},description:{color:"gray-05"}},[Au.LIGHT]:{name:{color:"black"},description:{color:"gray-05"}}},Tu=({name:e,description:r,size:o,profileTheme:a=Au.LIGHT})=>{const i=Mu[a];return n(Ei,{...Cu[o].profile,children:[t(ca,{...i.name,as:"strong",variant:"body-14-m",children:e}),r&&t(ca,{...i.description,variant:"body-12-m",children:r})]})},Nu=({size:e=Aa.SM,type:r,name:o,description:a,src:i,profileTheme:E})=>n(Ei,{...Cu[e].root,align:{items:"center"},children:[t(eE,{src:i,alt:o,type:r,size:e}),t(Tu,{name:o,description:a,size:e,profileTheme:E})]}),Iu={SM:"sm",MD:"md"},hu="default",mu="selected",Du="disabled",bu={[Iu.SM]:"h-[1.125rem] before:h-[0.6875rem] before:w-[0.6875rem] w-[1.125rem]",[Iu.MD]:"h-6 before:h-[0.875rem] before:w-[0.875rem] w-6"},gu={[Iu.SM]:"body-14-r",[Iu.MD]:"body-16-r"},_u={[hu]:{icon:"before:bg-in-white border-in-gray-02 bg-in-white",label:"text-in-black"},[mu]:{icon:"peer-checked:before:bg-in-primary-05 peer-checked:border-in-primary-05",label:"peer-checked:text-in-black"},[Du]:{icon:"peer-disabled:before:bg-in-gray-02 peer-disabled:border-in-gray-02",label:"peer-disabled:text-in-gray-05"}},yu=({size:e})=>t("div",{className:W("rounded-in-full before:rounded-in-full relative flex items-center justify-center overflow-hidden border-[0.125rem]",bu[e],...Object.values(_u).map((({icon:e})=>e))),"aria-hidden":!0}),Lu=({size:e,label:n,labelId:r})=>t(ca,{className:W(...Object.values(_u).map((({label:e})=>e))),id:r,color:"black",variant:gu[e],children:n}),Pu=({size:e=Iu.SM,checked:r=!1,disabled:o=!1,label:a,className:i,onChange:E})=>{const l=f(),s=`${l}-label`;return n("label",{className:W(i,"cursor-pointer",a&&"flex items-center gap-x-2","has-[.radio:disabled]:cursor-not-allowed"),htmlFor:l,children:[t("input",{"aria-labelledby":s,checked:r,className:"radio peer hidden",disabled:o,id:l,type:"radio",onChange:E}),t(yu,{size:e}),a&&t(Lu,{label:a,labelId:s,size:e})]})},vu=a.createContext({}),Fu=!0;
|
|
1015
|
-
// For performance & cleanliness, don't add any inline styles unless we have to
|
|
1016
|
-
function xu({baseColor:e,highlightColor:t,width:n,height:r,borderRadius:o,circle:a,direction:i,duration:E,enableAnimation:l=true,customHighlightBackground:s}){const c={};return"rtl"===i&&(c["--animation-direction"]="reverse"),"number"==typeof E&&(c["--animation-duration"]=`${E}s`),l||(c["--pseudo-element-display"]="none"),"string"!=typeof n&&"number"!=typeof n||(c.width=n),"string"!=typeof r&&"number"!=typeof r||(c.height=r),"string"!=typeof o&&"number"!=typeof o||(c.borderRadius=o),a&&(c.borderRadius="50%"),void 0!==e&&(c["--base-color"]=e),void 0!==t&&(c["--highlight-color"]=t),"string"==typeof s&&(c["--custom-highlight-background"]=s),c}function Yu({count:e=1,wrapper:t,className:n,containerClassName:r,containerTestId:o,circle:i=!1,style:E,...l}){var s,c,u;const d=a.useContext(vu),O={...l};
|
|
1017
|
-
// DO NOT overwrite style options from the context if `propsStyleOptions`
|
|
1018
|
-
// has properties explicity set to undefined
|
|
1019
|
-
for(const[e,t]of Object.entries(l))void 0===t&&delete O[e];
|
|
1020
|
-
// Props take priority over context
|
|
1021
|
-
const R={...d,...O,circle:i},p={...E,...xu(R)};
|
|
1022
|
-
// `styleProp` has the least priority out of everything
|
|
1023
|
-
let S="react-loading-skeleton";n&&(S+=` ${n}`);const f=null!==(s=R.inline)&&void 0!==s&&s,A=[],C=Math.ceil(e);for(let t=0;t<C;t++){let n=p;if(C>e&&t===C-1){
|
|
1024
|
-
// count is not an integer and we've reached the last iteration of
|
|
1025
|
-
// the loop, so add a "fractional" skeleton.
|
|
1026
|
-
// For example, if count is 3.5, we've already added 3 full
|
|
1027
|
-
// skeletons, so now we add one more skeleton that is 0.5 times the
|
|
1028
|
-
// original width.
|
|
1029
|
-
const t=null!==(c=n.width)&&void 0!==c?c:"100%",r=e%1,o="number"==typeof t?t*r:`calc(${t} * ${r})`;// 100% is the default since that's what's in the CSS
|
|
1030
|
-
n={...n,width:o}}const r=a.createElement("span",{className:S,style:n,key:t},"");f?A.push(r):
|
|
1031
|
-
// Without the <br />, the skeleton lines will all run together if
|
|
1032
|
-
// `width` is specified
|
|
1033
|
-
A.push(a.createElement(a.Fragment,{key:t},r,a.createElement("br",null)))}return a.createElement("span",{className:r,"data-testid":o,"aria-live":"polite","aria-busy":null!==(u=R.enableAnimation)&&void 0!==u?u:Fu},t?A.map(((e,n)=>a.createElement(t,{key:n},e))):A)}function wu({children:e,...t}){return a.createElement(vu.Provider,{value:t},e)}const Bu="var(--color-in-gray-02)",Gu="var(--color-in-gray-01)",Uu=({containerClassName:e,borderRadius:n=4,...r})=>t(Yu,{...r,baseColor:Bu,highlightColor:Gu,borderRadius:n,containerClassName:W("flex w-full items-center",e)}),$u=({children:e,borderRadius:n=4,...r})=>t(wu,{...r,baseColor:Bu,highlightColor:Gu,borderRadius:n,children:e}),Hu=({displayValue:e,className:r})=>{const{ref:o,isOpen:a,onToggle:i,disabled:E}=es();return n("div",{ref:o,role:"button",className:W(r,"rounded-in-8 flex h-8 w-full items-center justify-between gap-x-1 overflow-hidden border px-4 py-2",!E&&"border-in-primary-05 bg-white",E&&"bg-in-gray-02 border-in-gray-04 text-in-gray-04 cursor-not-allowed"),"aria-disabled":E,onClick:e=>{e.preventDefault(),i()},children:[n("div",{className:W("in-flex-h-stack-center gap-x-1 overflow-hidden",!E&&"text-in-primary-06"),children:[t(ue,{iconKey:"sort-ascending",className:"text-[1rem]",weight:"regular","aria-hidden":!0}),t(ca,{variant:"body-14-m",className:"truncate",children:e})]}),t(ue,{iconKey:a?"caret-up":"caret-down",className:W("shrink-0 text-[0.562rem]",!E&&"text-in-primary-05"),weight:"fill","aria-hidden":!0})]})},Wu=({value:e,displayValue:n,label:r,children:o,disabled:a=!1,popoverOption:i,onSelect:E,className:l})=>{const s=f(),c=f();return t(us,{type:Xl.SELECT,className:l,label:t(us.Label,{label:r,hidden:!0}),popoverOption:i,trigger:t(Hu,{displayValue:n}),disabled:a,controls:s,labelId:c,children:({close:n})=>t(tu,{id:s,labelId:c,value:e,onSelect:E,close:n,children:t(us.PopoverWrapper,{className:"p-1",children:t(iu,{children:o})})})})};Wu.displayName="Sort",Wu.Item=({value:e,label:n,children:r})=>t(au,{value:e,label:n,children:r});const ku="-panel",Vu={FILLED:"filled",LINE:"line"},ju={PRIMARY:"primary",GRAY:"gray"},Ju={SM:"sm",MD:"md"},Ku={[Vu.LINE]:{[Ju.MD]:"h-11 px-4 text-in-body-16-r gap-x-[0.187rem]",[Ju.SM]:"h-9 px-3 text-in-body-14-r gap-x-[0.187rem]"},[Vu.FILLED]:{[Ju.MD]:"h-8 px-4 text-in-body-14-b gap-x-1",[Ju.SM]:"h-[1.625rem] px-3 text-in-body-12-b gap-x-1"}},Xu={[ju.GRAY]:{[Vu.LINE]:{list:"border-b border-b-in-gray-02",label:"not-disabled:aria-selected:text-in-black",number:"not-group-disabled:group-aria-selected:text-in-gray-06",indicator:"border-b-in-black"},[Vu.FILLED]:{list:"bg-in-gray-02 rounded-in-8",label:"not-disabled:aria-selected:text-in-black",number:"not-group-disabled:group-aria-selected:text-in-gray-05",indicator:"border-in-gray-05"}},[ju.PRIMARY]:{[Vu.LINE]:{list:"border-b border-b-in-gray-02",label:"not-disabled:aria-selected:text-in-primary-06",number:"not-group-disabled:group-aria-selected:text-in-primary-05",indicator:"border-b-in-primary-06"},[Vu.FILLED]:{list:"bg-in-primary-02 rounded-in-8",label:"not-disabled:aria-selected:text-in-primary-05",number:"not-group-disabled:group-aria-selected:text-in-primary-05",indicator:"border-in-primary-05"}}},zu={[Vu.LINE]:"body-14-r",[Vu.FILLED]:"body-14-m"},qu={[Vu.LINE]:'border-b-2 bottom-0 group-has-[button:disabled[aria-selected="true"]]/tablist:border-b-in-gray-04',[Vu.FILLED]:'bg-in-white h-full border rounded-in-8 group-has-[button:disabled[aria-selected="true"]]/tablist:border-in-gray-03'},Qu=i(void 0),Zu=({currentValue:e,tabRefs:n,variant:r=Vu.LINE,theme:o=ju.GRAY,size:a=Ju.MD,full:i=!1,disabled:E=!1,usePanel:l=!1,children:s})=>t(Qu.Provider,{value:{currentValue:e,tabRefs:n,variant:r,theme:o,size:a,full:i,disabled:E,usePanel:l},children:s}),ed=()=>{const e=E(Qu);if(!e)throw new Error("useTabContext must be used within a TabContext");return e},td=i(void 0),nd=({currentValue:e,tabRefs:n,children:r})=>t(td.Provider,{value:{currentValue:e,tabRefs:n},children:r}),rd=()=>{const e=E(td);if(!e)throw new Error("useTabListContext must be used within a TabListContext");return e},od=({children:e})=>{const{variant:n,theme:r}=ed();return t(ca,{variant:zu[n],color:"gray-04",className:W("group-disabled:text-in-gray-03",Xu[r][n].number),children:e})},ad=({id:e})=>e&&`${e}${ku}`,id=({value:e,disabled:n,children:r,onChange:o})=>{const{variant:a,size:i,theme:E,full:l,tabRefs:s,currentValue:c,disabled:u,usePanel:d}=ed(),O=f(),R=e===c,p=ad({id:O});return t("button",{type:"button",role:"tab",id:O,tabIndex:R?0:-1,"aria-controls":d?p:void 0,ref:t=>{s.current[e]=t},className:W("text-in-gray-05 in-flex-h-stack-center group relative z-[1] min-w-fit transition-colors disabled:cursor-not-allowed",Ku[a][i],Xu[E][a].label,R?"disabled:text-in-gray-04 font-bold":"disabled:text-in-gray-03",l&&"flex-1"),onClick:e=>!n&&o?.(e),"aria-selected":R,disabled:n||u,children:r})};id.displayName="Tab",id.Number=od;const Ed=()=>{const{theme:e,variant:n}=ed(),[r,o]=c({});return(({setStyle:e})=>{const{tabRefs:t,currentValue:n}=ed(),r=()=>e({opacity:0});l((()=>{const o=t.current[n],a=()=>{if(!o)return void r();const{offsetWidth:t,offsetLeft:n}=o;e({width:t,transform:`translateX(${n}px)`,opacity:1})},i=new ResizeObserver(a);return a(),i.observe(document.body),o&&i.observe(o),()=>{r(),i.disconnect()}}),[t.current,n])})({setStyle:o}),t("div",{className:W("absolute left-0 transition-transform will-change-transform",qu[n],Xu[e][n].indicator),style:r,"aria-hidden":!0})},ld=({ariaLabel:e,children:n,className:r})=>{const{theme:o,variant:a,tabRefs:i}=ed();return t("div",{role:"tablist","aria-label":e,className:W(r,"group/tablist relative flex items-center",Xu[o][a].list),onKeyDown:e=>(({e:e,refs:t})=>{if(!KE.includes(e.key))return;e.preventDefault();const{current:n}=t,r=Object.entries(n).filter((([e,t])=>t&&"disabled"in t&&!t.disabled)),o=r.findIndex((([e])=>document.activeElement===n[e])),{length:a}=r,i=(({currentFocusIndex:e,eventKey:t,length:n})=>{const r=t=>(e+t+n)%n;switch(t){case"ArrowRight":case"ArrowDown":return r(1);case"ArrowLeft":case"ArrowUp":return r(-1);case"Home":return 0;case"End":return n-1;default:return e}})({currentFocusIndex:o,eventKey:e.key,length:a}),[E]=r[i],l=t.current[E];l&&l.focus()})({e:e,refs:i}),children:n})},sd=({children:e,value:n,className:r})=>{const{currentValue:o}=rd(),[a,i]=c(),E=ad({id:a});return(({value:e,setTabId:t})=>{const{tabRefs:n}=rd();l((()=>{if(n.current){const r=n.current[e];if(!r)throw new Error("TabPanel value must match one of the values in Tab items");t(r.id)}}),[n.current])})({value:n,setTabId:i}),t("div",{role:"tabpanel",id:E,"aria-labelledby":a,tabIndex:0,hidden:o!==n,className:r,children:e})},cd=({ariaLabel:e,variant:r,theme:o,size:a,disabled:i,full:E,children:l,className:s})=>{const{currentValue:c,tabRefs:u}=rd();return t(Zu,{currentValue:c,tabRefs:u,variant:r,theme:o,size:a,full:E,disabled:i,usePanel:!0,children:n(ld,{ariaLabel:e,className:s,children:[l,t(Ed,{})]})})};cd.displayName="TabList",cd.Tab=id,cd.Panel=sd;const ud=({currentValue:e,ariaLabel:r,variant:o,theme:a,size:i,disabled:E,full:l,children:s,className:c})=>{const u=S({});return t(Zu,{currentValue:e,tabRefs:u,variant:o,theme:a,size:i,full:l,disabled:E,usePanel:!0,children:n(ld,{ariaLabel:r,className:c,children:[s,t(Ed,{})]})})};ud.displayName="Tabs",(ud.Tab=id).Number=od;const dd="w-full min-w-fit",Od={HEAD:"head",BODY:"body"},Rd={COLUMN_HEADER:"columnheader",CELL:"cell",ROW_HEADER:"rowheader"},pd={[Od.HEAD]:"text-in-body-14-m border-in-gray-03 border-b first:[&_.cell:first-child]:rounded-tl-in-8 first:[&_.cell:last-child]:rounded-tr-in-8 h-8",[Od.BODY]:"text-in-body-14-r hover:bg-in-gray-01 last:[&_.cell]:border-0 [&_.cell]:border-b"},Sd={[Od.HEAD]:"bg-in-gray-02 text-in-gray-06",[Od.BODY]:"py-2.5 min-h-full in-flex-h-stack items-center"},fd={[Rd.COLUMN_HEADER]:`${Sd.head} h-full py-1.5`,[Rd.CELL]:`${Sd.body} text-in-black border-in-gray-01`,[Rd.ROW_HEADER]:`${Sd.body} ${Sd.head} border-in-gray-03`},Ad={DEFAULT:"DEFAULT",FOCUS:"FOCUS",ERROR:"ERROR",DISABLED:"DISABLED"},Cd={[Ad.DEFAULT]:"text-in-body-14-r border border-transparent text-in-black placeholder-in-gray-04",[Ad.FOCUS]:"focus:outline-none focus:border-in-primary-05",[Ad.ERROR]:"group-[.error]:text-in-red-04 group-[.error]:border-in-red-04 group-[.error]:focus:border-in-red-04",[Ad.DISABLED]:"disabled:text-in-gray-05 disabled:border-in-gray-01 disabled:bg-in-gray-01 disabled:cursor-not-allowed disabled:placeholder-in-gray-05"},Md=Ks((()=>Promise.resolve().then((function(){return vd}))),{ssr:!1}),Td=({children:e,className:n})=>{const r=A.toArray(e),o=A.count(e)<=0;return t("div",{role:"rowgroup",className:W(n,dd,"bg-in-white h-[calc(100%-2rem)]",o&&"sticky left-0"),children:o?t(Md,{}):r.map((e=>u(e,{variant:Od.BODY})))})},Nd=({items:e})=>t("ul",{className:"in-flex-h-stack-center gap-x-4",children:e.map(((e,n)=>t("li",{children:t(pe,{...e,size:"sm",variant:"text"})},n)))}),Id=({label:e,...n})=>t(Xn,{content:e,hidden:!e,placement:"top",rootClassName:"h-full in-flex-h-stack-center",children:t(kl,{...n,size:"sm"})}),hd=({items:e})=>t("ul",{className:"in-flex-h-stack items-center gap-x-2",children:e.map(((e,n)=>t("li",{children:t(zn,{...e,theme:"hover-white",type:"button"})},n)))}),md=e=>t(Nu,{...e,type:"single",size:"sm",profileTheme:"light"}),Dd=e=>t(sc,{...e,size:"sm",labelColor:"gray-06",labelClassName:"font-medium"}),bd=({role:e=Rd.CELL,isFixedLeft:n=!1,children:r,className:o})=>t("div",{role:e,className:W(o,"cell shrink-0 pl-4 last:pr-4",fd[e],n&&"sticky left-0"),children:r});bd.displayName="TableCell",bd.Checkbox=Id,bd.Toggle=Dd,bd.Persona=md,bd.Button=Nd,bd.IconButton=hd;const gd=({children:e,className:n})=>{const r=A.toArray(e).map((e=>u(e,{variant:Od.HEAD})));return t("div",{role:"rowgroup",className:W(n,dd,"sticky top-0 z-[1]"),children:r})},_d=({value:e,name:n,type:r="text",isError:o=!1,feedback:a,onChange:i,regCallback:E,className:l,maxLength:s=200,...c})=>{const u=f(),{inputValue:d,handleChange:O}=Wc({value:e,name:n,onChange:i,regCallback:E,maxLength:s});return t(bd,{className:W(l,"has-[input]:p-0",o&&"error group"),children:t(Xn,{id:u,role:"alert",ariaLive:"assertive",content:a,hidden:!o,placement:"bottom-start",color:"red-03",rootClassName:"h-full",isKeepFloating:!0,children:t("input",{type:r,value:d??"",onChange:O,"aria-invalid":o,"aria-errormessage":u,className:W("h-full w-full py-2.5 pl-4",Object.values(Cd)),...c})})})},yd=({variant:e=Od.BODY,className:n,children:r})=>{const o=A.toArray(r);return t("div",{role:"row",className:W(n,"in-flex-h-stack min-w-fit",pd[e]),children:o.map((t=>u(t,{role:e===Od.HEAD?Rd.COLUMN_HEADER:t.props.role})))})},Ld=({caption:e,children:r,className:o})=>n("div",{role:"table","aria-label":e,"aria-describedby":e,className:W(o,"overflow-auto"),children:[e&&t("div",{className:"sr-only",id:e,children:e}),r]});Ld.displayName="Table",Ld.Head=gd,Ld.Body=Td,Ld.Row=yd,Ld.Cell=bd,Ld.InputCell=_d,Ld.Cell.Checkbox=Id,Ld.Cell.Toggle=Dd,Ld.Cell.Persona=md,Ld.Cell.Button=Nd,Ld.Cell.IconButton=hd;const Pd=()=>n("div",{role:"row",className:"in-flex-v-stack-center h-full flex-1 gap-y-3",children:[t(ue,{iconKey:"magnifying-glass",className:"border-in-gray-01 text-in-gray-03 rounded-in-full h-[3.25rem] w-[3.25rem] border-2 text-[1.5rem]"}),t(ca,{as:"p",color:"gray-06",variant:"body-16-r",children:"검색 결과가 없습니다. 다른 내용으로 검색해보세요."})]});var vd=Object.freeze({__proto__:null,default:Pd});const Fd={INFO:"info",SUCCESS:"success",WARNING:"warning",ERROR:"error"},xd={[Fd.INFO]:{iconKey:"info",color:"text-in-primary-04"},[Fd.SUCCESS]:{iconKey:"check-circle",color:"text-in-green-04"},[Fd.WARNING]:{iconKey:"warning-circle",color:"text-in-yellow-04"},[Fd.ERROR]:{iconKey:"x-circle",color:"text-in-red-04"}},Yd={[Fd.INFO]:"primary",[Fd.SUCCESS]:"green",[Fd.WARNING]:"yellow",[Fd.ERROR]:"red"},wd=({actionOption:e})=>{const{as:n="link",label:r,linkOption:o,buttonOption:a}=e,i="text-in-primary-03 in-button-sm in-flex-h-stack items-center";return na({as:n,linkOption:o,buttonOption:a}),n===ea&&a?t("button",{type:"button",...a,className:i,children:r}):n===ta&&o?t(Qo,{...o,className:i,children:r}):void 0},Bd=({onClose:e})=>t(zn,{iconKey:"x",arialLabel:"닫기",theme:"white",className:"-mr-2",onClick:e}),Gd=({content:e})=>t(ca,{as:"p",variant:"body-14-m",color:"white",children:e}),Ud=({type:e})=>{const{iconKey:n,color:r}=xd[e];return t(ue,{iconKey:n,className:W(r,"h-[1.312rem] shrink-0"),weight:"fill"})},$d=({visible:e,type:r=Fd.INFO,content:o,useClose:a=!1,actionOption:i,onClose:E})=>n("div",{className:W("bg-in-gray-09 in-flex-h-stack shadow-in-8 rounded-in-8 min-h-11 max-w-full flex-wrap items-center overflow-hidden px-4 py-1.5 md:min-w-[21.25rem]",e?"animate-in-toast-in":"animate-in-toast-out"),children:[n(Ei,{gap:{row:"2"},children:[t(Ud,{type:r}),t(Gd,{content:o})]}),n(Ei,{align:{items:"center"},gap:{row:"1"},className:"ml-auto pl-2",children:[i&&t(wd,{actionOption:i}),a&&t(Bd,{onClose:E})]})]});export{ee as $,Sa as A,pe as B,el as C,RE as D,Ia as E,ms as F,ha as G,nE as H,tE as I,OE as J,rE as K,oE as L,Ac as M,aE as N,iE as O,lE as P,sE as Q,cE as R,zE as S,qE as T,zn as U,Se as V,fe as W,Zo as X,de as Y,z as Z,q as _,Cc as a,ei as a$,te as a0,ne as a1,re as a2,oe as a3,ae as a4,ie as a5,Re as a6,Ee as a7,tl as a8,nl as a9,ba as aA,ga as aB,_a as aC,ya as aD,La as aE,Pa as aF,va as aG,Fa as aH,xa as aI,Ya as aJ,wa as aK,Ba as aL,Ga as aM,Ua as aN,$a as aO,Ha as aP,Wa as aQ,ka as aR,Va as aS,ja as aT,Ja as aU,Ka as aV,Xa as aW,za as aX,qa as aY,Qa as aZ,Za as a_,rl as aa,ol as ab,al as ac,il as ad,El as ae,ll as af,sl as ag,cl as ah,ul as ai,dl as aj,Ol as ak,Rl as al,pl as am,Sl as an,fl as ao,Pl as ap,kl as aq,xl as ar,Vl as as,jl as at,As as au,Ms as av,Ts as aw,su as ax,ma as ay,Da as az,Ei as b,Dd as b$,ti as b0,ni as b1,ri as b2,oi as b3,ai as b4,ii as b5,uu as b6,du as b7,ue as b8,Ru as b9,Iu as bA,Pu as bB,Xl as bC,Zc as bD,Eu as bE,lu as bF,Uu as bG,$u as bH,Wu as bI,nd as bJ,id as bK,cd as bL,sd as bM,ud as bN,ku as bO,Vu as bP,ju as bQ,Ju as bR,Ku as bS,Xu as bT,zu as bU,qu as bV,Ld as bW,Td as bX,Pd as bY,bd as bZ,Id as b_,Ou as ba,kc as bb,jc as bc,Jc as bd,$c as be,Hc as bf,Gc as bg,vc as bh,Fc as bi,xc as bj,Yc as bk,Kc as bl,Su as bm,fu as bn,Nu as bo,Tu as bp,Au as bq,Cu as br,Mu as bs,Es as bt,ts as bu,ns as bv,rs as bw,os as bx,IE as by,NE as bz,zc as c,gd as c0,_d as c1,yd as c2,dd as c3,Od as c4,Rd as c5,pd as c6,Sd as c7,fd as c8,Ad as c9,Cd as ca,$d as cb,Fd as cc,xd as cd,Yd as ce,sc as cf,tc as cg,nc as ch,rc as ci,oc as cj,ac as ck,ic as cl,Xn as cm,ca as cn,sa as co,Gn as cp,Un as cq,$n as cr,Hn as cs,Wn as ct,kn as cu,Vn as cv,jn as cw,Jn as cx,Kn as cy,Ks as d,Lc as e,gc as f,gl as g,zs as h,Jl as i,bl as j,Fl as k,Z as l,Q as m,hs as n,Ds as o,aa as p,ia as q,Ea as r,eE as s,fa as t,_s as u,Aa as v,Ca as w,Ma as x,Ta as y,Na as z};
|
|
1034
|
-
//# sourceMappingURL=index-B2PCSwsw.js.map
|